x11-plugins/gkrellm-bgchanger: Fix dependency on gkrellm[X]
authorPacho Ramos <pacho@gentoo.org>
Wed, 26 Jul 2017 10:39:35 +0000 (12:39 +0200)
committerPacho Ramos <pacho@gentoo.org>
Wed, 26 Jul 2017 11:34:10 +0000 (13:34 +0200)
Package-Manager: Portage-2.3.6, Repoman-2.3.2

x11-plugins/gkrellm-bgchanger/gkrellm-bgchanger-0.1.11-r2.ebuild [new file with mode: 0644]

diff --git a/x11-plugins/gkrellm-bgchanger/gkrellm-bgchanger-0.1.11-r2.ebuild b/x11-plugins/gkrellm-bgchanger/gkrellm-bgchanger-0.1.11-r2.ebuild
new file mode 100644 (file)
index 0000000..47a89c1
--- /dev/null
@@ -0,0 +1,30 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit gkrellm-plugin toolchain-funcs
+
+MY_PN="gkrellmbgchg2"
+MY_P="${MY_PN}-${PV}"
+S="${WORKDIR}/${MY_P}"
+
+DESCRIPTION="Plugin for GKrellM2 to change your desktop background"
+HOMEPAGE="http://www.bender-suhl.de/stefan/english/comp/gkrellmbgchg.html"
+SRC_URI="http://www.bender-suhl.de/stefan/comp/sources/${MY_P}.tar.gz"
+
+SLOT="2"
+LICENSE="GPL-2"
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+RDEPEND="app-admin/gkrellm[X]"
+DEPEND="${RDEPEND}"
+
+PLUGIN_SO="gkrellmbgchg.so"
+PLUGIN_DOCS="bgchg_info.sh kdewallpaper.sh"
+
+src_prepare() {
+       default
+       sed -i "s:local/::" Makefile || die
+       tc-export CC
+}