summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Sanda <ps@twin.jikos.cz>2010-12-08 03:28:42 +0100
committerPavel Sanda <ps@twin.jikos.cz>2010-12-08 03:28:42 +0100
commitbf5d1deef76aed84931898ba28e930a1f9c3145f (patch)
tree4d74e66a3d35485c3d015ecef56e9b03fd7afd40 /net-misc
parentBump beta2 (diff)
downloadrebutia-bf5d1deef76aed84931898ba28e930a1f9c3145f.tar.gz
rebutia-bf5d1deef76aed84931898ba28e930a1f9c3145f.tar.bz2
rebutia-bf5d1deef76aed84931898ba28e930a1f9c3145f.zip
bump 1.2
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/fatrat/Manifest1
-rw-r--r--net-misc/fatrat/fatrat-1.2.9999.ebuild65
2 files changed, 66 insertions, 0 deletions
diff --git a/net-misc/fatrat/Manifest b/net-misc/fatrat/Manifest
index 6b8be29..de9ce4b 100644
--- a/net-misc/fatrat/Manifest
+++ b/net-misc/fatrat/Manifest
@@ -3,3 +3,4 @@ DIST fatrat-1.1.3.tar.gz 1105224 RMD160 c0830fd0ccd4211bb01be685d873042ce27a86cf
EBUILD fatrat-1.1.2.ebuild 1555 RMD160 4815581a6e5255aa0c0548c4ae4ba9475505c38a SHA1 5da6664d9a3caff3ef7da81cabb60117197904a1 SHA256 394a692572d5e57bd9db7d61996a1305d0dd18475ab8f97451bb3ec369133f3f
EBUILD fatrat-1.1.3.ebuild 1363 RMD160 b6f525b1faf9e71f82834f2ca503a80fc1ca7b61 SHA1 7eb18f014a96f001149e32d7a3cddad026e2e7eb SHA256 ee1be839dafc8d199fe2313d5ed95e149f2196402939f9edd8a15125dab6f449
EBUILD fatrat-1.1.9999.ebuild 1653 RMD160 b02907df63bd474ffeb80a6c269f2c3195fbc36d SHA1 6a157694251cb77cf94caf91d13539e07762e283 SHA256 d34dd73ece10d1dc6881808f7ab8624c14162ef9ead0965b0537547bf7f31c71
+EBUILD fatrat-1.2.9999.ebuild 1653 RMD160 034f97a747f577aa5ed8119910306343f1317839 SHA1 90c770245e45a0aa05d670f77c1d90d593c7809b SHA256 cb53c6f7b372fe55ce0d68652edcbd2a2e2bfd3fb10bdf8ff7a710ab0d82e39f
diff --git a/net-misc/fatrat/fatrat-1.2.9999.ebuild b/net-misc/fatrat/fatrat-1.2.9999.ebuild
new file mode 100644
index 0000000..8d38676
--- /dev/null
+++ b/net-misc/fatrat/fatrat-1.2.9999.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+
+EGIT_REPO_URI="git://git.dolezel.info/fatrat.git"
+EGIT_BRANCH="1.2"
+
+inherit cmake-utils eutils git qt4
+
+DESCRIPTION="Qt4-based download/upload manager"
+HOMEPAGE="http://fatrat.dolezel.info/"
+SRC_URI=""
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="bittorrent +curl -debug doc jabber nls webinterface"
+
+RDEPEND="x11-libs/qt-gui:4[dbus]
+ x11-libs/qt-svg:4
+ bittorrent? ( >=net-libs/rb_libtorrent-0.14.1
+ >=dev-cpp/asio-1.1.0
+ x11-libs/qt-webkit:4 )
+ curl? ( >=net-misc/curl-7.18.2 )
+ doc? ( x11-libs/qt-assistant:4 )
+ jabber? ( net-libs/gloox )
+ webinterface? ( x11-libs/qt-script:4 )"
+DEPEND=">=dev-util/cmake-2.6.0
+ ${RDEPEND}"
+
+S="${WORKDIR}/${PN}"
+
+pkg_setup() {
+ qt4_pkg_setup
+ # this is a completely optional and NOT automagic dep
+ # (it is dynamically loaded)
+ if ! has_version dev-libs/geoip; then
+ einfo "If you want the GeoIP support, then emerge dev-libs/geoip."
+ fi
+}
+
+src_unpack() {
+ git_src_unpack
+}
+
+src_configure() {
+ local myconf=""
+ use debug && myconf="-DCMAKE_BUILD_TYPE=Debug"
+ cmake . \
+ -DCMAKE_INSTALL_PREFIX="/usr" \
+ $(cmake-utils_use_with bittorrent BITTORRENT) \
+ $(cmake-utils_use_with curl CURL) \
+ $(cmake-utils_use_with doc DOCUMENTATION) \
+ $(cmake-utils_use_with jabber JABBER) \
+ $(cmake-utils_use_with nls NLS) \
+ $(cmake-utils_use_with webinterface WEBINTERFACE) \
+ ${myconf} || die "cmake failed"
+}
+
+src_install() {
+ use bittorrent && echo "MimeType=application/x-bittorrent;" >> "${S}"/data/${PN}.desktop
+ emake DESTDIR="${D}" install || die "make install failed"
+}