summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2018-01-03 23:34:31 +0100
committerDavid Seifert <soap@gentoo.org>2018-01-04 10:15:15 +0100
commitd3fdd39d9c681840d07ff093d7f42ef7d80b124f (patch)
tree58c7a44a3652e3e5b345eee4db64fc9685b079d8 /x11-plugins/gkrellm-xkb/gkrellm-xkb-1.05-r1.ebuild
parentx11-plugins/gkrellsun: Eclass update (diff)
downloadgentoo-d3fdd39d9c681840d07ff093d7f42ef7d80b124f.tar.gz
gentoo-d3fdd39d9c681840d07ff093d7f42ef7d80b124f.tar.bz2
gentoo-d3fdd39d9c681840d07ff093d7f42ef7d80b124f.zip
x11-plugins/gkrellm-xkb: Eclass update
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'x11-plugins/gkrellm-xkb/gkrellm-xkb-1.05-r1.ebuild')
-rw-r--r--x11-plugins/gkrellm-xkb/gkrellm-xkb-1.05-r1.ebuild13
1 files changed, 6 insertions, 7 deletions
diff --git a/x11-plugins/gkrellm-xkb/gkrellm-xkb-1.05-r1.ebuild b/x11-plugins/gkrellm-xkb/gkrellm-xkb-1.05-r1.ebuild
index 81db97705c9d..ab92387a631d 100644
--- a/x11-plugins/gkrellm-xkb/gkrellm-xkb-1.05-r1.ebuild
+++ b/x11-plugins/gkrellm-xkb/gkrellm-xkb-1.05-r1.ebuild
@@ -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}"