x11-plugins/gkrellm-xkb: Eclass update
authorDavid Seifert <soap@gentoo.org>
Wed, 3 Jan 2018 22:34:31 +0000 (23:34 +0100)
committerDavid Seifert <soap@gentoo.org>
Thu, 4 Jan 2018 09:15:15 +0000 (10:15 +0100)
Package-Manager: Portage-2.3.19, Repoman-2.3.6

x11-plugins/gkrellm-xkb/gkrellm-xkb-1.05-r1.ebuild

index 81db97705c9d34102b06fc58491fd57e828f278e..ab92387a631d5e2cf0a74a31874620a1669322be 100644 (file)
@@ -1,9 +1,9 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
-inherit gkrellm-plugin
+inherit gkrellm-plugin toolchain-funcs
 
 DESCRIPTION="XKB keyboard switcher for gkrellm2"
 HOMEPAGE="http://tripie.sweb.cz/gkrellm/xkb/"
@@ -14,13 +14,12 @@ SLOT="0"
 KEYWORDS="amd64 x86"
 IUSE=""
 
-COMMON_DEPEND="app-admin/gkrellm[X]"
-RDEPEND+=" ${COMMON_DEPEND}"
-DEPEND+=" ${COMMON_DEPEND}"
+RDEPEND="app-admin/gkrellm:2[X]"
+DEPEND="${RDEPEND}"
 
-PLUGIN_SO=xkb.so
+PATCHES=( "${FILESDIR}"/${PN}-makefile.patch )
 
-PATCHES=( "${FILESDIR}/${PN}-makefile.patch" )
+PLUGIN_SO=( xkb$(get_modname) )
 
 src_compile() {
        emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}"