commit:     e364a605d5150222f44270af9c87c74a7f3a3fe7
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Fri Aug  5 23:40:04 2016 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Fri Aug  5 23:40:24 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e364a605

x11-plugins/gkrellm-leds: new revision with EAPI=6.

This new revision updates the EAPI because the old one was
deprecated. It also fixes a faked USE dependency reported in bug
514064, by turning it into a real one.

Gentoo-Bug: 514064

Package-Manager: portage-2.2.28

 ...s-0.8.2.ebuild => gkrellm-leds-0.8.2-r1.ebuild} | 23 ++++++++++++----------
 1 file changed, 13 insertions(+), 10 deletions(-)

diff --git a/x11-plugins/gkrellm-leds/gkrellm-leds-0.8.2.ebuild 
b/x11-plugins/gkrellm-leds/gkrellm-leds-0.8.2-r1.ebuild
similarity index 63%
rename from x11-plugins/gkrellm-leds/gkrellm-leds-0.8.2.ebuild
rename to x11-plugins/gkrellm-leds/gkrellm-leds-0.8.2-r1.ebuild
index 28e86fb..373be0b 100644
--- a/x11-plugins/gkrellm-leds/gkrellm-leds-0.8.2.ebuild
+++ b/x11-plugins/gkrellm-leds/gkrellm-leds-0.8.2-r1.ebuild
@@ -1,22 +1,25 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI="3"
+EAPI=6
+
 inherit gkrellm-plugin
 
-IUSE=""
-MY_P=${P/rellm-/}
-S=${WORKDIR}/${MY_P}
+MY_P="${P/rellm-/}"
+
 DESCRIPTION="GKrellM2 plugin for monitoring keyboard LEDs"
-SRC_URI="http://heim.ifi.uio.no/~oyvinha/e107_files/downloads/${MY_P}.tar.gz";
 HOMEPAGE="http://heim.ifi.uio.no/~oyvinha/gkleds/";
-
-SLOT="2"
+SRC_URI="http://heim.ifi.uio.no/~oyvinha/e107_files/downloads/${MY_P}.tar.gz";
 LICENSE="GPL-2"
+SLOT="2"
 KEYWORDS="~x86 ~ppc ~sparc ~alpha ~amd64"
+IUSE=""
+
+COMMON_DEPEND="app-admin/gkrellm[X]"
+DEPEND+="  ${COMMON_DEPEND} x11-proto/inputproto"
+RDEPEND+=" ${COMMON_DEPEND} x11-libs/libXtst"
 
-DEPEND="x11-proto/inputproto"
-RDEPEND="x11-libs/libXtst"
+S="${WORKDIR}/${MY_P}"
 
 PLUGIN_SO="src/.libs/gkleds.so"

Reply via email to