You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-p2p/transmission-remote-gtk/transmission-remote-gtk-1.3...

54 lines
1.3 KiB

# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id: a6cad3ba6ff746846c095a73ad200cb486bae581 $
EAPI=6
inherit gnome2
DESCRIPTION="GTK+ client for management of the Transmission BitTorrent client, over HTTP RPC"
HOMEPAGE="https://github.com/transmission-remote-gtk/transmission-remote-gtk"
SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.xz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="ayatana debug geoip libnotify libproxy rss"
# RESTRICT="test"
# FIXME: bundles rss-glib-0.2.3
RDEPEND="
>=dev-libs/glib-2.44:2
>=dev-libs/json-glib-0.12.6
net-misc/curl
>=x11-libs/gtk+-3.16:3
ayatana? ( dev-libs/libappindicator:3 )
geoip? ( dev-libs/geoip )
libnotify? ( >=x11-libs/libnotify-0.7 )
libproxy? ( net-libs/libproxy )
rss? ( >=net-libs/libmrss-0.18 )
"
DEPEND="${RDEPEND}
dev-libs/appstream-glib
>=dev-util/intltool-0.50.1
sys-devel/autoconf-archive
sys-devel/gettext
virtual/pkgconfig
"
DOCS="AUTHORS ChangeLog README"
src_configure() {
# Disable overly strict appdata validation
gnome2_src_configure \
$(use_enable debug) \
--enable-gtk3 \
$(use_with geoip libgeoip) \
$(use_with libnotify) \
$(use_with libproxy) \
$(use_with ayatana libappindicator) \
$(use_with rss libmrss) \
APPSTREAM_UTIL="$(type -P true)"
}