x11-plugins/wmcliphist: depend on gtk+ with USE=X, bug #587044
authorBernard Cafarelli <voyageur@gentoo.org>
Mon, 4 Jul 2016 14:53:23 +0000 (16:53 +0200)
committerBernard Cafarelli <voyageur@gentoo.org>
Mon, 4 Jul 2016 14:53:23 +0000 (16:53 +0200)
Reported by Toralf Förster <toralf.foerster@gmx.de>

Package-Manager: portage-2.3.0

x11-plugins/wmcliphist/wmcliphist-2.1-r2.ebuild [new file with mode: 0644]

diff --git a/x11-plugins/wmcliphist/wmcliphist-2.1-r2.ebuild b/x11-plugins/wmcliphist/wmcliphist-2.1-r2.ebuild
new file mode 100644 (file)
index 0000000..4b41a5e
--- /dev/null
@@ -0,0 +1,36 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit toolchain-funcs
+
+DESCRIPTION="Dockable clipboard history application for Window Maker"
+HOMEPAGE="http://windowmaker.org/dockapps/?name=wmcliphist"
+# Grab from http://windowmaker.org/dockapps/?download=${P}.tar.gz
+SRC_URI="https://dev.gentoo.org/~voyageur/distfiles/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+RDEPEND="x11-libs/gtk+:3[X]"
+DEPEND="${RDEPEND}
+       virtual/pkgconfig"
+
+S=${WORKDIR}/dockapps
+
+src_prepare() {
+       default
+
+       sed -e '/^PREFIX/s:=.*:=/usr:' \
+               -i Makefile || die
+       tc-export CC
+}
+
+src_install() {
+       default
+
+       newdoc ${PN}rc ${PN}rc.sample
+}