summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2012-09-24 12:05:24 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2012-09-24 12:05:24 +0000
commit5044f8d69cd7847ef821a4c3512c1418b414ce6d (patch)
treeb9358efd7cb790465602d52bcfcf98d6cde3c4cf /net-p2p/transmission-remote-gtk/transmission-remote-gtk-1.1.ebuild
parentOld (bug #433990). (diff)
downloadhistorical-5044f8d69cd7847ef821a4c3512c1418b414ce6d.tar.gz
historical-5044f8d69cd7847ef821a4c3512c1418b414ce6d.tar.bz2
historical-5044f8d69cd7847ef821a4c3512c1418b414ce6d.zip
Optionalize x11-libs/libnotify with USE="libnotify" and insert missing call to PKG_PROG_PKG_CONFIG for --without-libnotify to not bail out wrt #435586 by Clayton Holloway
Package-Manager: portage-2.2.0_alpha128/cvs/Linux x86_64
Diffstat (limited to 'net-p2p/transmission-remote-gtk/transmission-remote-gtk-1.1.ebuild')
-rw-r--r--net-p2p/transmission-remote-gtk/transmission-remote-gtk-1.1.ebuild14
1 files changed, 10 insertions, 4 deletions
diff --git a/net-p2p/transmission-remote-gtk/transmission-remote-gtk-1.1.ebuild b/net-p2p/transmission-remote-gtk/transmission-remote-gtk-1.1.ebuild
index 58baaf4ff88a..52d1cf3b481b 100644
--- a/net-p2p/transmission-remote-gtk/transmission-remote-gtk-1.1.ebuild
+++ b/net-p2p/transmission-remote-gtk/transmission-remote-gtk-1.1.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/transmission-remote-gtk/transmission-remote-gtk-1.1.ebuild,v 1.1 2012/09/20 10:04:44 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/transmission-remote-gtk/transmission-remote-gtk-1.1.ebuild,v 1.2 2012/09/24 12:05:24 ssuominen Exp $
EAPI=4
-inherit fdo-mime gnome2-utils
+inherit autotools eutils fdo-mime gnome2-utils
DESCRIPTION="GTK+ client for management of the Transmission BitTorrent client, over HTTP RPC"
HOMEPAGE="http://code.google.com/p/transmission-remote-gtk"
@@ -12,7 +12,7 @@ SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="ayatana debug geoip libproxy"
+IUSE="ayatana debug geoip libnotify libproxy"
RESTRICT="test"
@@ -20,9 +20,9 @@ RDEPEND=">=dev-libs/glib-2.30
>=dev-libs/json-glib-0.12.6
net-misc/curl
x11-libs/gtk+:3
- >=x11-libs/libnotify-0.7
ayatana? ( dev-libs/libappindicator:3 )
geoip? ( dev-libs/geoip )
+ libnotify? ( >=x11-libs/libnotify-0.7 )
libproxy? ( net-libs/libproxy )"
DEPEND="${RDEPEND}
dev-util/intltool
@@ -31,11 +31,17 @@ DEPEND="${RDEPEND}
DOCS="AUTHORS ChangeLog README"
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-PKG_PROG_PKG_CONFIG.patch
+ eautoreconf
+}
+
src_configure() {
econf \
$(use_enable debug) \
--enable-gtk3 \
$(use_with geoip libgeoip) \
+ $(use_with libnotify) \
$(use_with libproxy) \
$(use_with ayatana libappindicator)
}