summaryrefslogtreecommitdiff
path: root/net-misc/fatrat
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /net-misc/fatrat
reinit the tree, so we can have metadata
Diffstat (limited to 'net-misc/fatrat')
-rw-r--r--net-misc/fatrat/Manifest6
-rw-r--r--net-misc/fatrat/fatrat-1.2.0_beta2_p20161204.ebuild69
-rw-r--r--net-misc/fatrat/files/fatrat-1.2.0_beta2_p20150803-build.patch13
-rw-r--r--net-misc/fatrat/metadata.xml17
4 files changed, 105 insertions, 0 deletions
diff --git a/net-misc/fatrat/Manifest b/net-misc/fatrat/Manifest
new file mode 100644
index 000000000000..23269c248662
--- /dev/null
+++ b/net-misc/fatrat/Manifest
@@ -0,0 +1,6 @@
+AUX fatrat-1.2.0_beta2_p20150803-build.patch 357 SHA256 8f192e7e945065e4fe6b3a21a5f0bb9ad7b217dc4a28eae972af4bf8753914c4 SHA512 884c79a2b40ce0aa3748df8df7e7ed5050a56cda23922c3cfbae0987a192fe1d2320d059830ed6de88f527dda87ebbc9033a73f5f12d269e93e1c3deffb0fc3e WHIRLPOOL e43275093cd60a84763b0f09d823ca6d06d87a71996f0832f24178c25aaa843b921d54b357d14f846fdf187dda32717ec6c6154f870d48097f9b2eccaee62f5e
+DIST fatrat-1.2.0_beta2_p20161204.tar.gz 4988560 SHA256 be1202e4fd6b16fb3d9074be104fea76d6b03ef858eb438ff6aba23cb69d41b6 SHA512 d3a9816cc53fd93ef2ccd3fb5896dde5846382d40e30dc687a14379e6048f8ffc27b40c2b5c3977c6bccc912dcb054426c84c016c319174e2c2a440f9a588063 WHIRLPOOL d2b7a80415ce99f920b97508a1cabd43699ae02f8257d4a619b3f0b7036c9320bb95587bbe043211406af8ebdfc141571dd0f0a056a7f82bc94db4a8482d9430
+EBUILD fatrat-1.2.0_beta2_p20161204.ebuild 1532 SHA256 b34c6397518648fc24f26c446a0e4caed035bcd9cbda0da993154a055cc2fad7 SHA512 bb2c8966a19f0551546b3a9b3e698676ecf97a7684b8c97aca8b4d5290ca0c5485758c6cb08171b31af44669efc862e08b66545f1c49cf996f7d50b73e041cd3 WHIRLPOOL 490d30874239650e4334ccc83a97469d5ee78714424453119be4af72a26af96bc19ae59cc02316005201c7c54df44d6308e631b72032333330a7c4eeea02991f
+MISC ChangeLog 2991 SHA256 9d6a34c3aa74e227e938d954c8c6991495876e6ddf0de435c5902856fcfa492f SHA512 3043f5c64a3eb1509a4abe89b0d409a42bdfdc2c726bef1fd6a70d5713099e868cfab65d0711f89f5581844f46309afd7c415063a9a7a39cfc30937e7cbbf5b0 WHIRLPOOL b29f862eafa79415c0801773904d32f3f6e8eb0609c83f3f11365f2a99fdaa5f1f17d9f727fd9a5d77e0c989803918670dac66b9c54b49c81084efe24e24052a
+MISC ChangeLog-2015 1196 SHA256 9d968a436a21bc712ba9bcc63fa2a607fb1cb6597eac324732593a40a3921052 SHA512 40349d09d6ddb0e80e7a2b135d7037e2bd3301c926edd3e325fa260a5d8cd51c161e7814ef80c1d15be5e0c038d5d342d75d56e691a9e981f2c140b3353ee3fb WHIRLPOOL 28c0175ee2b3b8172687004191d37c13ad9c38ee774fb38a12f52673166bfd6cb326eb384846429ad2b85fedc07555ac42d29857fe99ddb33b1df6ba9e532b1b
+MISC metadata.xml 555 SHA256 8b91fc4c41d2d7342742a0b989aa4ebec8c1a9c761971d7b93dc96c80e665eaa SHA512 908bffaa9e59275d709dd0d470567dc5a2eb712766bee6e75697d60554d5ff66db58af7c067329f1ab76ce0a9858a57929418c014937e532d62264d3f14b4615 WHIRLPOOL a63d340ab0c210b212f47e2392aafe4074ff1bd8b807eb35e8840561b08ac122ca8832849d4347ad84fbf1a65e0593a46e616a57a6f7df8895c212e96e4bdfc8
diff --git a/net-misc/fatrat/fatrat-1.2.0_beta2_p20161204.ebuild b/net-misc/fatrat/fatrat-1.2.0_beta2_p20161204.ebuild
new file mode 100644
index 000000000000..6a079aa56c89
--- /dev/null
+++ b/net-misc/fatrat/fatrat-1.2.0_beta2_p20161204.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+SNAPSHOT="14a1a146df76d70c44dcc38363848a5b41a364d5"
+
+inherit cmake-utils vcs-snapshot xdg-utils
+
+DESCRIPTION="Qt5-based download/upload manager"
+HOMEPAGE="http://fatrat.dolezel.info/"
+SRC_URI="https://github.com/LubosD/fatrat/tarball/${SNAPSHOT} -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="bittorrent +curl doc nls xmpp"
+
+RDEPEND="
+ dev-qt/qtcore:5
+ dev-qt/qtdbus:5
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtsvg:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtxml:5
+ bittorrent? (
+ dev-qt/qtwebengine:5[widgets]
+ >=net-libs/libtorrent-rasterbar-1.1.1
+ )
+ curl? ( >=net-misc/curl-7.18.2 )
+ doc? ( dev-qt/qthelp:5 )
+ xmpp? ( net-libs/gloox )
+"
+DEPEND="${RDEPEND}
+ dev-libs/boost
+ dev-qt/linguist-tools:5
+ virtual/pkgconfig
+ nls? ( sys-devel/gettext )
+"
+
+PATCHES=( "${FILESDIR}/${PN}-1.2.0_beta2_p20150803-build.patch" )
+
+src_configure() {
+ local mycmakeargs=(
+ -DWITH_BITTORRENT="$(usex bittorrent ON OFF)"
+ -DWITH_CURL="$(usex curl ON OFF)"
+ -DWITH_DOCUMENTATION="$(usex doc ON OFF)"
+ -DWITH_NLS="$(usex nls ON OFF)"
+ -DWITH_JABBER="$(usex xmpp ON OFF)"
+ -DWITH_WEBINTERFACE=OFF
+ )
+ cmake-utils_src_configure
+}
+
+pkg_postinst() {
+ # optional runtime dep
+ if ! has_version dev-libs/geoip; then
+ elog "If you want GeoIP support, emerge dev-libs/geoip."
+ fi
+
+ xdg_mimeinfo_database_update
+ xdg_desktop_database_update
+}
+
+pkg_postrm() {
+ xdg_mimeinfo_database_update
+ xdg_desktop_database_update
+}
diff --git a/net-misc/fatrat/files/fatrat-1.2.0_beta2_p20150803-build.patch b/net-misc/fatrat/files/fatrat-1.2.0_beta2_p20150803-build.patch
new file mode 100644
index 000000000000..f38604e8588d
--- /dev/null
+++ b/net-misc/fatrat/files/fatrat-1.2.0_beta2_p20150803-build.patch
@@ -0,0 +1,13 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -127,10 +127,6 @@
+ ADD_DEFINITIONS(-DDEBUG_BUILD)
+ ADD_DEFINITIONS(-DNDEBUG)
+ ADD_DEFINITIONS(-Wall)
+-else(CMAKE_BUILD_TYPE MATCHES Debug)
+- ADD_DEFINITIONS(-ggdb)
+- ADD_DEFINITIONS(-DNDEBUG)
+- ADD_DEFINITIONS(-Wall)
+ endif(CMAKE_BUILD_TYPE MATCHES Debug)
+
+ CHECK_INCLUDE_FILES(sys/epoll.h HAVE_SYS_EPOLL_H)
diff --git a/net-misc/fatrat/metadata.xml b/net-misc/fatrat/metadata.xml
new file mode 100644
index 000000000000..2b0630af5171
--- /dev/null
+++ b/net-misc/fatrat/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>polynomial-c@gentoo.org</email>
+ <name>Lars Wendler</name>
+ </maintainer>
+ <longdescription lang="en">
+ FatRat is an open source download manager for Linux.
+ </longdescription>
+ <use>
+ <flag name="bittorrent">Use the bittorrent protocol via <pkg>net-libs/libtorrent-rasterbar</pkg>.</flag>
+ </use>
+ <upstream>
+ <remote-id type="github">LubosD/fatrat</remote-id>
+ </upstream>
+</pkgmetadata>