From: Bernard Cafarelli Date: Mon, 4 Jul 2016 14:53:23 +0000 (+0200) Subject: x11-plugins/wmcliphist: depend on gtk+ with USE=X, bug #587044 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=22c2ab8255a4ab969d5d97e2cf184da4dcd79e27;p=gentoo.git x11-plugins/wmcliphist: depend on gtk+ with USE=X, bug #587044 Reported by Toralf Förster Package-Manager: portage-2.3.0 --- 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 000000000000..4b41a5e9edb4 --- /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 +}