diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2017-09-30 16:55:30 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2017-09-30 16:57:16 +0200 |
commit | ca417358fcb36e2631f285ab258096234d441db7 (patch) | |
tree | bd3f99da852045de75260083e3169a8c4612140c /net-misc/fatrat | |
parent | profiles: Mask net-misc/fatrat[bittorrent] (diff) | |
download | gentoo-ca417358fcb36e2631f285ab258096234d441db7.tar.gz gentoo-ca417358fcb36e2631f285ab258096234d441db7.tar.bz2 gentoo-ca417358fcb36e2631f285ab258096234d441db7.zip |
net-misc/fatrat: Add 1.2.0_beta2_p20161204 Qt5-based snapshot
Gentoo-bug: 620730
Package-Manager: Portage-2.3.10, Repoman-2.3.3
Diffstat (limited to 'net-misc/fatrat')
-rw-r--r-- | net-misc/fatrat/Manifest | 1 | ||||
-rw-r--r-- | net-misc/fatrat/fatrat-1.2.0_beta2_p20161204.ebuild | 69 | ||||
-rw-r--r-- | net-misc/fatrat/files/fatrat-1.2.0_beta2_p20150803-build.patch | 4 |
3 files changed, 72 insertions, 2 deletions
diff --git a/net-misc/fatrat/Manifest b/net-misc/fatrat/Manifest index eb661f0122e3..9a8bafbe3d8c 100644 --- a/net-misc/fatrat/Manifest +++ b/net-misc/fatrat/Manifest @@ -1 +1,2 @@ DIST fatrat-1.2.0_beta2_p20150803.tar.gz 4308365 SHA256 e4df2cedc68b0c03848b3b9a5766032de7e845824120079c6916dae8a33164fb SHA512 a872c4351fd079530d18c3335cc6dc7fd95d1402c39ee6f1a65660b8c271644af5d1e8f48890d75e603f646689936f385404d05631b53b2e655c5357a02eb94a WHIRLPOOL ec4d6783397e796aca9ec7e252919a116b96cdbb8f7ca9f5040971e229cd2070d624e4421bf22a2c51f75ec2077d4df179e1e729f3e4d4a7c682f3e9f4b59bd2 +DIST fatrat-1.2.0_beta2_p20161204.tar.gz 4988560 SHA256 be1202e4fd6b16fb3d9074be104fea76d6b03ef858eb438ff6aba23cb69d41b6 SHA512 d3a9816cc53fd93ef2ccd3fb5896dde5846382d40e30dc687a14379e6048f8ffc27b40c2b5c3977c6bccc912dcb054426c84c016c319174e2c2a440f9a588063 WHIRLPOOL d2b7a80415ce99f920b97508a1cabd43699ae02f8257d4a619b3f0b7036c9320bb95587bbe043211406af8ebdfc141571dd0f0a056a7f82bc94db4a8482d9430 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 index d96656b622ae..f38604e8588d 100644 --- 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 @@ -1,5 +1,5 @@ ---- LubosD-fatrat-b5be2b1/CMakeLists.txt -+++ LubosD-fatrat-b5be2b1/CMakeLists.txt +--- a/CMakeLists.txt ++++ b/CMakeLists.txt @@ -127,10 +127,6 @@ ADD_DEFINITIONS(-DDEBUG_BUILD) ADD_DEFINITIONS(-DNDEBUG) |