summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Sanda (ps) <ps@twin.jikos.cz>2010-09-14 19:51:39 +0000
committerPavel Sanda (ps) <ps@twin.jikos.cz>2010-09-14 19:51:39 +0000
commit57038ca734a22cf3d9e6e373253e4e5bddddcbc4 (patch)
tree2934b4c18f3781b24fbd78a8c9bd84f3d699abf5 /net-misc
parentsci-visualization/pythonprop: Version bump (diff)
downloadsunrise-57038ca734a22cf3d9e6e373253e4e5bddddcbc4.tar.gz
sunrise-57038ca734a22cf3d9e6e373253e4e5bddddcbc4.tar.bz2
sunrise-57038ca734a22cf3d9e6e373253e4e5bddddcbc4.zip
net-misc/fatrat: New Ebuild for bug 220231, original ebuild from David Watzke
svn path=/sunrise/; revision=11313
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/fatrat/ChangeLog8
-rw-r--r--net-misc/fatrat/Manifest4
-rw-r--r--net-misc/fatrat/fatrat-1.1.3.ebuild51
-rw-r--r--net-misc/fatrat/metadata.xml10
4 files changed, 73 insertions, 0 deletions
diff --git a/net-misc/fatrat/ChangeLog b/net-misc/fatrat/ChangeLog
new file mode 100644
index 000000000..1ed2deeeb
--- /dev/null
+++ b/net-misc/fatrat/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for net-misc/fatrat
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 14 Sep 2010; Pavel Sanda (ps) <ps at twin.jikos.cz> +fatrat-1.1.3.ebuild,
+ +metadata.xml:
+ New Ebuild for bug 220231, original ebuild from David Watzke
+
diff --git a/net-misc/fatrat/Manifest b/net-misc/fatrat/Manifest
new file mode 100644
index 000000000..31a6b65cf
--- /dev/null
+++ b/net-misc/fatrat/Manifest
@@ -0,0 +1,4 @@
+DIST fatrat-1.1.3.tar.gz 1105224 RMD160 c0830fd0ccd4211bb01be685d873042ce27a86cf SHA1 afaadb899fe21564898eb4966d003c0925b16fa8 SHA256 ad3ea5e35a9c146838e549ff0ca5d341a332793c02008255ee7849d0e1a5cad0
+EBUILD fatrat-1.1.3.ebuild 1363 RMD160 b6f525b1faf9e71f82834f2ca503a80fc1ca7b61 SHA1 7eb18f014a96f001149e32d7a3cddad026e2e7eb SHA256 ee1be839dafc8d199fe2313d5ed95e149f2196402939f9edd8a15125dab6f449
+MISC ChangeLog 273 RMD160 5f2e4fef77023b493654cf0b129560d6722cee82 SHA1 dfce374a3a16364ca1d30bb084103f5f2e3c8f15 SHA256 08b6e6b2fba481a7c58a75625b204b01efcd8c90ab1fc72d9b086f747401a408
+MISC metadata.xml 393 RMD160 74951f542a2d9e7a3dcf032401d7540b407d9b05 SHA1 f21a4ce29291a583ff0ab3cbccaa6663596d121f SHA256 1c5c752f6ff33921bccbdaf795c9063793329bd18811272e5ebb0bc53aed6a05
diff --git a/net-misc/fatrat/fatrat-1.1.3.ebuild b/net-misc/fatrat/fatrat-1.1.3.ebuild
new file mode 100644
index 000000000..4472a05c2
--- /dev/null
+++ b/net-misc/fatrat/fatrat-1.1.3.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+
+inherit cmake-utils
+
+DESCRIPTION="Qt4-based download/upload manager"
+HOMEPAGE="http://fatrat.dolezel.info/"
+SRC_URI="http://www.dolezel.info/download/data/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="bittorrent +curl doc jabber nls webinterface"
+
+RDEPEND="x11-libs/qt-gui:4[dbus]
+ x11-libs/qt-svg:4
+ bittorrent? ( >=net-libs/rb_libtorrent-0.14.5
+ >=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="${RDEPEND}
+ nls? ( sys-devel/gettext )"
+
+src_configure() {
+ local mycmakeargs="
+ $(cmake-utils_use_with bittorrent) \
+ $(cmake-utils_use_with curl) \
+ $(cmake-utils_use_with doc DOCUMENTATION) \
+ $(cmake-utils_use_with jabber) \
+ $(cmake-utils_use_with nls) \
+ $(cmake-utils_use_with webinterface)"
+ cmake-utils_src_configure
+}
+
+src_install() {
+ use bittorrent && echo "MimeType=application/x-bittorrent;" >> "${S}"/data/${PN}.desktop
+ cmake-utils_src_install
+}
+
+pkg_postinst() {
+ # this is a completely optional and NOT automagic dep
+ if ! has_version dev-libs/geoip; then
+ elog "If you want the GeoIP support, then emerge dev-libs/geoip."
+ fi
+}
diff --git a/net-misc/fatrat/metadata.xml b/net-misc/fatrat/metadata.xml
new file mode 100644
index 000000000..dd0499e19
--- /dev/null
+++ b/net-misc/fatrat/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer><email>maintainer-wanted@gentoo.org</email></maintainer>
+<use>
+<flag name='bittorrent'>Enables support for the bittorrent protocol</flag>
+<flag name='webinterface'>Support remote control via a web interface</flag>
+</use>
+</pkgmetadata>