commit:     22c2ab8255a4ab969d5d97e2cf184da4dcd79e27
Author:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
AuthorDate: Mon Jul  4 14:53:23 2016 +0000
Commit:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
CommitDate: Mon Jul  4 14:53:23 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22c2ab82

x11-plugins/wmcliphist: depend on gtk+ with USE=X, bug #587044

Reported by Toralf Förster <toralf.foerster <AT> gmx.de>

Package-Manager: portage-2.3.0

 x11-plugins/wmcliphist/wmcliphist-2.1-r2.ebuild | 36 +++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/x11-plugins/wmcliphist/wmcliphist-2.1-r2.ebuild 
b/x11-plugins/wmcliphist/wmcliphist-2.1-r2.ebuild
new file mode 100644
index 0000000..4b41a5e
--- /dev/null
+++ b/x11-plugins/wmcliphist/wmcliphist-2.1-r2.ebuild
@@ -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
+}

Reply via email to