Skip to content

Commit

Permalink
x11-plugins/wmcliphist: depend on gtk+ with USE=X, bug #587044
Browse files Browse the repository at this point in the history
Reported by Toralf Förster <[email protected]>

Package-Manager: portage-2.3.0
  • Loading branch information
voyageur committed Jul 4, 2016
1 parent 412b50f commit 22c2ab8
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions x11-plugins/wmcliphist/wmcliphist-2.1-r2.ebuild
Original file line number Diff line number Diff line change
@@ -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
}

0 comments on commit 22c2ab8

Please sign in to comment.