1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
8 DESCRIPTION="GTK client for management of the Transmission BitTorrent client, over HTTP RPC"
9 HOMEPAGE="https://code.google.com/p/transmission-remote-gtk"
10 SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.gz"
15 IUSE="debug geoip libproxy unique"
18 RDEPEND=">=dev-libs/glib-2.22:2
19 >=dev-libs/json-glib-0.12.2
20 unique? ( dev-libs/libunique:1 )
21 libproxy? ( net-libs/libproxy )
23 >=x11-libs/gtk+-2.16:2
25 geoip? ( dev-libs/geoip )"
30 DOCS=( AUTHORS README )
33 # disable gtk3 for now because upstream doesn't consider it "ready".
34 # Also disable libappindicator till gtk3 is ready since ayatana on
35 # gtk2 is deprecated in Gentoo.
38 $(use_with geoip libgeoip) \
39 $(use_with libproxy) \
40 $(use_with unique libunique) \
41 --without-libappindicator \
45 pkg_preinst() { gnome2_icon_savelist; }
46 pkg_postinst() { gnome2_icon_cache_update; }
47 pkg_postrm() { gnome2_icon_cache_update; }