From 423a2a34d90eac27c0eb49fa76cc3e7da28b66c7 Mon Sep 17 00:00:00 2001 From: Pacho Ramos Date: Wed, 26 Jul 2017 13:07:46 +0200 Subject: x11-plugins/gkrelltop: Fix dependency on gkrellm[X] Package-Manager: Portage-2.3.6, Repoman-2.3.2 RepoMan-Options: --force --- x11-plugins/gkrelltop/gkrelltop-2.2.13-r1.ebuild | 44 ----------------------- x11-plugins/gkrelltop/gkrelltop-2.2.13-r2.ebuild | 45 ++++++++++++++++++++++++ 2 files changed, 45 insertions(+), 44 deletions(-) delete mode 100644 x11-plugins/gkrelltop/gkrelltop-2.2.13-r1.ebuild create mode 100644 x11-plugins/gkrelltop/gkrelltop-2.2.13-r2.ebuild (limited to 'x11-plugins') diff --git a/x11-plugins/gkrelltop/gkrelltop-2.2.13-r1.ebuild b/x11-plugins/gkrelltop/gkrelltop-2.2.13-r1.ebuild deleted file mode 100644 index 96f52a099799..000000000000 --- a/x11-plugins/gkrelltop/gkrelltop-2.2.13-r1.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit gkrellm-plugin toolchain-funcs - -DESCRIPTION="a GKrellM2 plugin which displays the top three processes" -SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}.orig.tar.gz" -HOMEPAGE="https://sourceforge.net/projects/gkrelltop" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="amd64 ppc x86" -IUSE="X" - -PLUGIN_SERVER_SO=gkrelltopd.so -PLUGIN_SO=gkrelltop.so - -S="${WORKDIR}/${P}.orig" - -RDEPEND=" - dev-libs/glib:2 - x11-libs/gtk+:2 -" -DEPEND="${RDEPEND}" - -src_prepare() { - sed -i \ - -e "s:/usr/bin/gcc:$(tc-getCC) \$(CFLAGS):" \ - -e 's/-shared/$(LDFLAGS) &/' \ - Makefile || die - default -} - -src_compile() { - use X || TARGET="server" - emake ${TARGET} -} - -pkg_postinst() { - einfo "To enable the gkrelltopd server plugin, you must add the following" - einfo "line to /etc/gkrellmd.conf:" - einfo "\tplugin-enable gkrelltopd" -} diff --git a/x11-plugins/gkrelltop/gkrelltop-2.2.13-r2.ebuild b/x11-plugins/gkrelltop/gkrelltop-2.2.13-r2.ebuild new file mode 100644 index 000000000000..4e6349415d03 --- /dev/null +++ b/x11-plugins/gkrelltop/gkrelltop-2.2.13-r2.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit gkrellm-plugin toolchain-funcs + +DESCRIPTION="a GKrellM2 plugin which displays the top three processes" +SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}.orig.tar.gz" +HOMEPAGE="https://sourceforge.net/projects/gkrelltop" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="amd64 ppc x86" +IUSE="X" + +PLUGIN_SERVER_SO=gkrelltopd.so +PLUGIN_SO=gkrelltop.so + +S="${WORKDIR}/${P}.orig" + +RDEPEND=" + app-admin/gkrellm[X] + dev-libs/glib:2 + x11-libs/gtk+:2 +" +DEPEND="${RDEPEND}" + +src_prepare() { + sed -i \ + -e "s:/usr/bin/gcc:$(tc-getCC) \$(CFLAGS):" \ + -e 's/-shared/$(LDFLAGS) &/' \ + Makefile || die + default +} + +src_compile() { + use X || TARGET="server" + emake ${TARGET} +} + +pkg_postinst() { + einfo "To enable the gkrelltopd server plugin, you must add the following" + einfo "line to /etc/gkrellmd.conf:" + einfo "\tplugin-enable gkrelltopd" +} -- cgit v1.2.3-65-gdbad