/[gentoo-x86]/net-misc/fatrat/fatrat-1.2.0_beta2.ebuild
Gentoo

Contents of /net-misc/fatrat/fatrat-1.2.0_beta2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sun Jan 5 22:20:59 2014 UTC (8 months, 2 weeks ago) by polynomial-c
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +6 -3 lines
Added upstream patch for missing linking against libcrypto (bug #496808)

(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x981CA6FC)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/fatrat/fatrat-1.2.0_beta2.ebuild,v 1.3 2013/09/08 10:25:58 polynomial-c Exp $
4
5 EAPI=5
6
7 inherit cmake-utils
8
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.xz"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="~amd64 ~x86"
16 IUSE="bittorrent +curl doc jabber nls webinterface"
17
18 RDEPEND="dev-qt/qtgui:4
19 dev-qt/qtsvg:4
20 bittorrent? ( >=net-libs/rb_libtorrent-0.14.5
21 >=dev-cpp/asio-1.1.0
22 dev-qt/qtwebkit:4 )
23 curl? ( >=net-misc/curl-7.18.2 )
24 doc? ( dev-qt/qthelp:4 )
25 jabber? ( net-libs/gloox )
26 webinterface? ( dev-qt/qtscript:4 )"
27 DEPEND="${RDEPEND}
28 nls? ( sys-devel/gettext )"
29
30 PATCHES=(
31 "${FILESDIR}/${P}-build.patch"
32 "${FILESDIR}/${P}-libcrypto_linking.patch"
33 )
34
35 src_configure() {
36 local mycmakeargs="
37 $(cmake-utils_use_with bittorrent) \
38 $(cmake-utils_use_with curl) \
39 $(cmake-utils_use_with doc DOCUMENTATION) \
40 $(cmake-utils_use_with jabber) \
41 $(cmake-utils_use_with nls) \
42 $(cmake-utils_use_with webinterface)"
43 cmake-utils_src_configure
44 }
45
46 src_install() {
47 use bittorrent && echo "MimeType=application/x-bittorrent;" >> "${S}"/data/${PN}.desktop
48 cmake-utils_src_install
49 }
50
51 pkg_postinst() {
52 # this is a completely optional and NOT automagic dep
53 if ! has_version dev-libs/geoip; then
54 elog "If you want the GeoIP support, then emerge dev-libs/geoip."
55 fi
56 }

  ViewVC Help
Powered by ViewVC 1.1.20