1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
9 DESCRIPTION="Qt4-based download/upload manager"
10 HOMEPAGE="http://fatrat.dolezel.info/"
11 SRC_URI="http://www.dolezel.info/download/data/${PN}/${P}.tar.gz"
15 KEYWORDS="~amd64 ~x86"
16 IUSE="bittorrent +curl doc jabber nls webinterface"
18 RDEPEND="dev-libs/qtgui:4[dbus]
20 bittorrent? ( >=net-libs/rb_libtorrent-0.14.5
23 curl? ( >=net-misc/curl-7.18.2 )
24 doc? ( dev-libs/qthelp:4 )
25 jabber? ( net-libs/gloox )
26 webinterface? ( dev-libs/qtscript:4 )"
28 nls? ( sys-devel/gettext )"
32 $(cmake-utils_use_with bittorrent) \
33 $(cmake-utils_use_with curl) \
34 $(cmake-utils_use_with doc DOCUMENTATION) \
35 $(cmake-utils_use_with jabber) \
36 $(cmake-utils_use_with nls) \
37 $(cmake-utils_use_with webinterface)"
38 cmake-utils_src_configure
42 use bittorrent && echo "MimeType=application/x-bittorrent;" >> "${S}"/data/${PN}.desktop
43 cmake-utils_src_install
47 # this is a completely optional and NOT automagic dep
48 if ! has_version dev-libs/geoip; then
49 elog "If you want the GeoIP support, then emerge dev-libs/geoip."