summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-plugins/gkrellm-xkb')
-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}"