Gentoo Archives: gentoo-commits

From: Davide Pesavento <pesa@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-p2p/qbittorrent/
Date: Mon, 02 May 2016 15:47:06
Message-Id: 1462203804.739b99a91cc2301a28cef8abbc93e504af2f79fd.pesa@gentoo
1 commit: 739b99a91cc2301a28cef8abbc93e504af2f79fd
2 Author: RobinDX <robin9800xt <AT> gmail <DOT> com>
3 AuthorDate: Mon May 2 00:59:31 2016 +0000
4 Commit: Davide Pesavento <pesa <AT> gentoo <DOT> org>
5 CommitDate: Mon May 2 15:43:24 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=739b99a9
7
8 net-p2p/qbittorrent: Version bump
9
10 Closes: https://github.com/gentoo/gentoo/pull/1391
11
12 net-p2p/qbittorrent/Manifest | 1 +
13 net-p2p/qbittorrent/qbittorrent-3.3.4.ebuild | 85 ++++++++++++++++++++++++++++
14 2 files changed, 86 insertions(+)
15
16 diff --git a/net-p2p/qbittorrent/Manifest b/net-p2p/qbittorrent/Manifest
17 index 2cfa9cb..710878d 100644
18 --- a/net-p2p/qbittorrent/Manifest
19 +++ b/net-p2p/qbittorrent/Manifest
20 @@ -6,3 +6,4 @@ DIST qbittorrent-3.2.4.tar.xz 2664248 SHA256 7fc128e2809c3be4ea543cfaeefd922e032
21 DIST qbittorrent-3.2.5.tar.xz 2665980 SHA256 98f69c7324276c7c144738eb36b21a2d28d7f01a327104568f020887626e822b SHA512 a98c1cf8607558990d0698c50d35cd217bceeb4deffe69c590f902b1a9dabc5431496805614dbd3bb734f764c309023ede2f8a5cb014f40796301fa14ba63e90 WHIRLPOOL 6539bde802919351836d1bb2d880d5b28d51c97b109674f2ae3e54c9aa9ab52c5e58436371a34b7388d119d041cf9b2a597656e338808243309cbf631e03fe2b
22 DIST qbittorrent-3.3.2.tar.xz 2782172 SHA256 e9330a63e0939fef79c70d5a66dba616f00206a70386efbb82fb7c620a19af58 SHA512 2c09c1bbf18dfc181998343845e0f8164c29cb97eeccf3a7ab25753e8ccaa11cfb7372cf0ff1fc2a8c232a9ab4381a23c88aef791e37a3a7b4c0b92b537e25e6 WHIRLPOOL a2bf3f6aee46dc5bc58357ea8eb214b9a69116f470faa0a4b5aed9fc0ffdd340712a1424b128ab96273e75d6b1c83707765d01c0089ec550040bb63df236176e
23 DIST qbittorrent-3.3.3.tar.xz 2782616 SHA256 9c8d8bdc3fb2632019cb3ee5f811baaa41b41fe7ce542c753c6771bcc110db53 SHA512 2dd954e2518a2a99e271bf62d6db38a4e1788bb91c8b7552b94aab25dfb7b6cc7b4eb0ae49bb50d524127e8a357ea07b022c3a6e3b0593f6d2e7a2ce3abf6260 WHIRLPOOL e794a50215f33c2088b4782fd8733e11c33b42a45b5df2424bdf0fcee3c0929445f0d47b1e8b3526341f4ee9a4b8cd081da54a0c3019f79dea9b50a3bb5dcbad
24 +DIST qbittorrent-3.3.4.tar.xz 2841268 SHA256 c0d0d4b72c240f113b59a061146803bc1b7926d3d7f39b06b50a4d26f5ad91b8 SHA512 5cb94b6463d4baa1a994bee7dd5f9aee823d86d5428aff2719011b5f5340db5aaf35436f4f3be7c773e5560eb5f8ea12ea889505bfd40071401dd7ebf9835ec1 WHIRLPOOL 4406703fc459c9115e1d2e04e2a6a69149f7359fabaab284001bd1fec9fbd21c0aadca6836562d09d80390abf42388c864f6bc206080ee50f9c8ab4b80cca4e8
25
26 diff --git a/net-p2p/qbittorrent/qbittorrent-3.3.4.ebuild b/net-p2p/qbittorrent/qbittorrent-3.3.4.ebuild
27 new file mode 100644
28 index 0000000..786574f
29 --- /dev/null
30 +++ b/net-p2p/qbittorrent/qbittorrent-3.3.4.ebuild
31 @@ -0,0 +1,85 @@
32 +# Copyright 1999-2016 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +# $Id$
35 +
36 +EAPI=5
37 +PYTHON_COMPAT=( python2_7 python3_{3,4,5} )
38 +
39 +inherit eutils python-r1 qt4-r2 flag-o-matic
40 +
41 +DESCRIPTION="BitTorrent client in C++ and Qt"
42 +HOMEPAGE="http://www.qbittorrent.org/"
43 +
44 +MY_P=${P/_}
45 +if [[ ${PV} == *9999* ]]; then
46 + inherit git-r3
47 + EGIT_REPO_URI="https://github.com/${PN}/qBittorrent.git"
48 +else
49 + SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.xz"
50 + KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
51 +fi
52 +
53 +LICENSE="GPL-2"
54 +SLOT="0"
55 +IUSE="+dbus debug qt4 +qt5 webui +X"
56 +REQUIRED_USE="
57 + ^^ ( qt4 qt5 )
58 + dbus? ( X )
59 +"
60 +
61 +CDEPEND="
62 + dev-libs/boost:=
63 + >=dev-qt/qtsingleapplication-2.6.1_p20130904-r1[qt4?,qt5?,X?]
64 + >=net-libs/rb_libtorrent-1.0.6
65 + sys-libs/zlib
66 + qt4? (
67 + dev-qt/qtcore:4
68 + dbus? ( dev-qt/qtdbus:4 )
69 + X? ( dev-qt/qtgui:4 )
70 + )
71 + qt5? (
72 + dev-qt/qtconcurrent:5
73 + dev-qt/qtcore:5
74 + dev-qt/qtnetwork:5
75 + dev-qt/qtxml:5
76 + dbus? ( dev-qt/qtdbus:5 )
77 + X? ( dev-qt/qtgui:5
78 + dev-qt/qtwidgets:5 )
79 + )
80 +"
81 +DEPEND="${CDEPEND}
82 + qt5? ( dev-qt/linguist-tools:5 )
83 + virtual/pkgconfig
84 +"
85 +RDEPEND="${CDEPEND}
86 + ${PYTHON_DEPS}"
87 +
88 +S=${WORKDIR}/${MY_P}
89 +DOCS=(AUTHORS Changelog README.md TODO)
90 +
91 +src_prepare() {
92 + epatch_user
93 + qt4-r2_src_prepare
94 +}
95 +
96 +src_configure() {
97 + # See bug 569062
98 + append-cppflags "-DBOOST_NO_CXX11_REF_QUALIFIERS"
99 +
100 + # Custom configure script, econf fails
101 + local myconf=(
102 + ./configure
103 + --prefix="${EPREFIX}/usr"
104 + --with-qtsingleapplication=system
105 + $(use dbus || echo --disable-qt-dbus)
106 + $(use debug && echo --enable-debug)
107 + $(use qt4 && echo --with-qt4)
108 + $(use webui || echo --disable-webui)
109 + $(use X || echo --disable-gui)
110 + )
111 +
112 + echo "${myconf[@]}"
113 + "${myconf[@]}" || die "configure failed"
114 + use qt4 && eqmake4
115 + use qt5 && eqmake5
116 +}