Gentoo Archives: gentoo-commits

From: Markos Chandras <hwoarang@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-p2p/qbittorrent/
Date: Thu, 05 Nov 2015 17:14:13
Message-Id: 1446743616.deb9170373e56985b2938e95ccf042cfa3350f5e.hwoarang@gentoo
1 commit: deb9170373e56985b2938e95ccf042cfa3350f5e
2 Author: Markos Chandras <hwoarang <AT> gentoo <DOT> org>
3 AuthorDate: Thu Nov 5 17:13:13 2015 +0000
4 Commit: Markos Chandras <hwoarang <AT> gentoo <DOT> org>
5 CommitDate: Thu Nov 5 17:13:36 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=deb91703
7
8 net-p2p/qbittorrent: Version bump
9
10 Package-Manager: portage-2.2.23
11
12 net-p2p/qbittorrent/Manifest | 1 +
13 net-p2p/qbittorrent/qbittorrent-3.2.5.ebuild | 81 ++++++++++++++++++++++++++++
14 2 files changed, 82 insertions(+)
15
16 diff --git a/net-p2p/qbittorrent/Manifest b/net-p2p/qbittorrent/Manifest
17 index ce155a5..f689d3e 100644
18 --- a/net-p2p/qbittorrent/Manifest
19 +++ b/net-p2p/qbittorrent/Manifest
20 @@ -3,3 +3,4 @@ DIST qbittorrent-3.1.9.2.tar.xz 2231708 SHA256 b07ccdbe1ae079f781c62aff21d47183a
21 DIST qbittorrent-3.2.0.tar.xz 2595372 SHA256 51781cb121ebeda041fb348e649c4bd97888ee8c1d18328bc547d447b960d1b3 SHA512 0e652a4045d2e034611484009c1ce60c0b365fb6030356ac740555bca3e77f901228a24f21fddc87501f39b737ac15cfff4d3d9a18c913ab03df4d90ceb48634 WHIRLPOOL 5c3d215735a70fcbe01773d3a6676209719d91b25ee5ac68f12767fdfd1108626556802cb58f5e698a80607ad3550b5dea0c97670fdc3d6a4975546da3436b1b
22 DIST qbittorrent-3.2.3.tar.xz 2638708 SHA256 86a79f3772bd06736a4be104180187d76c5c8feb2c1cdf1054135b4ba602a914 SHA512 304635f4942776f6be5987ad6a60e2e0e217c913bbe3637cef2dd0bfc65450b894e88c639c96d856d3e937f40d120acc62c194bcb29ae52070ad51e921edbdf7 WHIRLPOOL 33728a4679ef9731645a937c059633d18ff4673ded258185488bc31aab001fe720ab3e3aef23bd8d36f1cf12e98d96ed7383d5cc5b3ecbfa2b065028ddacc4ce
23 DIST qbittorrent-3.2.4.tar.xz 2664248 SHA256 7fc128e2809c3be4ea543cfaeefd922e0327cc430330eaad0d3ec7616df51871 SHA512 c86098d791b64bd5f0ef6b465cf3eb6f1016402b33b18ba927279f521d768aa973d3f233794adb63820c5bca7e67672bf3c64fe65a7e5bf513219f860d2b2141 WHIRLPOOL c5690fdf01a8841978404e61369a16da13dd27c151618cadbb4e16add7d5377d980d9a94cea68f82005c88bd4b637a23f0ea6fb2615c3921302c5847e0763272
24 +DIST qbittorrent-3.2.5.tar.xz 2665980 SHA256 98f69c7324276c7c144738eb36b21a2d28d7f01a327104568f020887626e822b SHA512 a98c1cf8607558990d0698c50d35cd217bceeb4deffe69c590f902b1a9dabc5431496805614dbd3bb734f764c309023ede2f8a5cb014f40796301fa14ba63e90 WHIRLPOOL 6539bde802919351836d1bb2d880d5b28d51c97b109674f2ae3e54c9aa9ab52c5e58436371a34b7388d119d041cf9b2a597656e338808243309cbf631e03fe2b
25
26 diff --git a/net-p2p/qbittorrent/qbittorrent-3.2.5.ebuild b/net-p2p/qbittorrent/qbittorrent-3.2.5.ebuild
27 new file mode 100644
28 index 0000000..d6e90af
29 --- /dev/null
30 +++ b/net-p2p/qbittorrent/qbittorrent-3.2.5.ebuild
31 @@ -0,0 +1,81 @@
32 +# Copyright 1999-2015 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 )
38 +
39 +inherit eutils python-r1 qt4-r2
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/qtcore:5
73 + dev-qt/qtnetwork:5
74 + dev-qt/qtxml:5
75 + dbus? ( dev-qt/qtdbus:5 )
76 + X? ( dev-qt/qtgui:5
77 + dev-qt/qtwidgets:5 )
78 + )
79 +"
80 +DEPEND="${CDEPEND}
81 + qt5? ( dev-qt/linguist-tools:5 )
82 + virtual/pkgconfig
83 +"
84 +RDEPEND="${CDEPEND}
85 + ${PYTHON_DEPS}"
86 +
87 +S=${WORKDIR}/${MY_P}
88 +DOCS=(AUTHORS Changelog README.md TODO)
89 +
90 +src_prepare() {
91 + epatch_user
92 + qt4-r2_src_prepare
93 +}
94 +
95 +src_configure() {
96 + # Custom configure script, econf fails
97 + local myconf=(
98 + ./configure
99 + --prefix="${EPREFIX}/usr"
100 + --with-qtsingleapplication=system
101 + $(use dbus || echo --disable-qt-dbus)
102 + $(use debug && echo --enable-debug)
103 + $(use qt5 && echo --with-qt5)
104 + $(use webui || echo --disable-webui)
105 + $(use X || echo --disable-gui)
106 + )
107 +
108 + echo "${myconf[@]}"
109 + "${myconf[@]}" || die "configure failed"
110 + use qt4 && eqmake4
111 + use qt5 && eqmake5
112 +}