diff options
author | Davide Pesavento <pesa@gentoo.org> | 2017-05-21 04:12:39 +0200 |
---|---|---|
committer | Davide Pesavento <pesa@gentoo.org> | 2017-05-21 04:21:09 +0200 |
commit | d5246f77960147cbc5321344ccd1d0060b1e15da (patch) | |
tree | d5dfb3dce453cb083125a73608800407f266329a /net-p2p | |
parent | ca11c5b517cf5b8e3355a7327435f87163f975ee (diff) | |
download | gentoo-d5246f77960147cbc5321344ccd1d0060b1e15da.tar.gz gentoo-d5246f77960147cbc5321344ccd1d0060b1e15da.tar.xz |
net-p2p/qbittorrent: restore 3.3.7
Versions >3.3.7 fail to build with USE="-X" due to bug 613194.
Let's keep this in tree until the bug is fixed.
This reverts commit 216864abe359c48291a775ed642edcd26ed4cfb9.
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/qbittorrent/Manifest | 1 | ||||
-rw-r--r-- | net-p2p/qbittorrent/qbittorrent-3.3.7.ebuild | 84 |
2 files changed, 85 insertions, 0 deletions
diff --git a/net-p2p/qbittorrent/Manifest b/net-p2p/qbittorrent/Manifest index 27fa3834c93..6df0bab6894 100644 --- a/net-p2p/qbittorrent/Manifest +++ b/net-p2p/qbittorrent/Manifest @@ -2,3 +2,4 @@ DIST qbittorrent-3.3.10.tar.xz 2959380 SHA256 2c657ceacdc84033da044a0a9ecba7e0fd DIST qbittorrent-3.3.11.tar.xz 2986312 SHA256 4892ac5ed4bde2ed325fb67456698e703bb933b9eb1d146598259f4e2154a760 SHA512 1f7d4a40b7f966e710d4cbed721074d53b0478ed1970932dee32b73ea210251cbd3807912e9c9a00371fa41f5c947c59443bbda4925b022fbe88fc23b3f225c5 WHIRLPOOL 5fb2e0456d81b104e5545329a301040c81a18b25798e831ab8f780f8ee19d09c12f5315d5581243e141f7a00eb938ab449927871c70a4bf5e9c2e6dd71d4aca3 DIST qbittorrent-3.3.12-cmake-3.8.patch.gz 18330 SHA256 8172d04af3621ed0859ff541ae6c6e73f469125e0b7defd591191ab8c233e658 SHA512 e5aa6aa32f12c47a28658b2382faca88b64be1c198c69ad88f4fcd9f18d2db7a4e71c170dffd142b5af0184105b04dc2409417761db8859f622d42af7d25b060 WHIRLPOOL a68723a52858aed3e0474e0ccc3bcde7a451b388c8cd30ea5548f53e950902e234cb7e9cc32a86c75e367c4cad33a40beab52619de0a1f27442b89a10c25e67f DIST qbittorrent-3.3.12.tar.xz 2989604 SHA256 56528c47f09b316ecf682e3896157c76c18898ef996728b0c5186e05a711466f SHA512 537ded71c75b3ab3fe014d77b5c4f8069ebb7a1aa94b5190b16e9ee910bfb70d462e5a3a536ba9222a97d8cceac00af0d33a92b7414b17724694d364fc2374df WHIRLPOOL 9f3b7cb85885691ea747b2569690aa3d1189798be6000e9ec2c8af65ccd86010be877af10b540422233f5b8c253bf221fad0fea6fdc9a0b5dcbc3cedf50613bd +DIST qbittorrent-3.3.7.tar.xz 2884792 SHA256 72dc824a90fadc0825e6be6f1c215e38f976262c7f83b625061d542b2b664c40 SHA512 c33ae47bd78e79197fd499e9541ce20a30c0ee582c6696f72b792a46324a42bffbe2140f6dcb89c05d9366b7332845e108c661c0458e94ca5739cfc71be4dafc WHIRLPOOL 753efd5e30c725d77e241bfc4cee63f089109b4a85bab5224e5445d141605c07bb8873531245d17f577252ae1d90041457848e9290ecb2384d96f2a20bbf6f66 diff --git a/net-p2p/qbittorrent/qbittorrent-3.3.7.ebuild b/net-p2p/qbittorrent/qbittorrent-3.3.7.ebuild new file mode 100644 index 00000000000..8b69c98f8fe --- /dev/null +++ b/net-p2p/qbittorrent/qbittorrent-3.3.7.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit flag-o-matic qmake-utils + +DESCRIPTION="BitTorrent client in C++ and Qt" +HOMEPAGE="http://www.qbittorrent.org/" + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/${PN}/qBittorrent.git" +else + MY_P=${P/_} + SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.xz" + KEYWORDS="~amd64 ~arm ~ppc64 ~x86" + S=${WORKDIR}/${MY_P} +fi + +LICENSE="GPL-2" +SLOT="0" +IUSE="+dbus debug +qt5 webui +X" +REQUIRED_USE="dbus? ( X )" + +RDEPEND=" + dev-libs/boost:= + >=net-libs/libtorrent-rasterbar-1.0.6 + sys-libs/zlib + !qt5? ( + >=dev-libs/qjson-0.8.1[qt4(+)] + dev-qt/qtcore:4[ssl] + >=dev-qt/qtsingleapplication-2.6.1_p20130904-r1[qt4,X?] + dbus? ( dev-qt/qtdbus:4 ) + X? ( dev-qt/qtgui:4 ) + ) + qt5? ( + dev-qt/qtconcurrent:5 + dev-qt/qtcore:5 + dev-qt/qtnetwork:5[ssl] + >=dev-qt/qtsingleapplication-2.6.1_p20130904-r1[qt5,X?] + dev-qt/qtxml:5 + dbus? ( dev-qt/qtdbus:5 ) + X? ( + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 + ) + ) +" +DEPEND="${RDEPEND} + qt5? ( dev-qt/linguist-tools:5 ) + virtual/pkgconfig +" + +DOCS=( AUTHORS Changelog CONTRIBUTING.md README.md TODO ) + +src_configure() { + # workaround build issue with older boost + # https://github.com/qbittorrent/qBittorrent/issues/4112 + if has_version '<dev-libs/boost-1.58'; then + append-cppflags -DBOOST_NO_CXX11_REF_QUALIFIERS + fi + + econf \ + --with-qjson=system \ + --with-qtsingleapplication=system \ + $(use_enable dbus qt-dbus) \ + $(use_enable debug) \ + $(use_enable webui) \ + $(use_enable X gui) \ + $(use_enable !X systemd) \ + $(use_with !qt5 qt4) + + if use qt5; then + eqmake5 + else + eqmake4 + fi +} + +src_install() { + emake INSTALL_ROOT="${D}" install + einstalldocs +} |