x11-plugins/gkrellm-leds: new revision with EAPI=6.
authorMichael Orlitzky <mjo@gentoo.org>
Fri, 5 Aug 2016 23:40:04 +0000 (19:40 -0400)
committerMichael Orlitzky <mjo@gentoo.org>
Fri, 5 Aug 2016 23:40:24 +0000 (19:40 -0400)
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

x11-plugins/gkrellm-leds/gkrellm-leds-0.8.2-r1.ebuild [moved from x11-plugins/gkrellm-leds/gkrellm-leds-0.8.2.ebuild with 63% similarity]

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 28e86fb202c39b7bf4c6b6b233536837ce14a83b..373be0b38e5d8abbb41c4af77119a75e304482cc 100644 (file)
@@ -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"