Gentoo Archives: gentoo-commits

From: "Ben de Groot (yngwin)" <yngwin@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-p2p/qbittorrent: qbittorrent-9999.ebuild qbittorrent-3.0.11.ebuild ChangeLog
Date: Wed, 31 Jul 2013 15:33:13
Message-Id: 20130731153300.BEFCD2171C@flycatcher.gentoo.org
1 yngwin 13/07/31 15:33:00
2
3 Modified: qbittorrent-9999.ebuild ChangeLog
4 Added: qbittorrent-3.0.11.ebuild
5 Log:
6 Version bump, implementing latest eapi, python-r1.eclass, no longer slotted boost, and general cleanup; with thanks to contributors in bug #478840
7
8 (Portage version: 2.2.0_alpha191/cvs/Linux x86_64, signed Manifest commit with key 0x2B2474AD43CE296E!)
9
10 Revision Changes Path
11 1.9 net-p2p/qbittorrent/qbittorrent-9999.ebuild
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/qbittorrent/qbittorrent-9999.ebuild?rev=1.9&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/qbittorrent/qbittorrent-9999.ebuild?rev=1.9&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/qbittorrent/qbittorrent-9999.ebuild?r1=1.8&r2=1.9
16
17 Index: qbittorrent-9999.ebuild
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-p2p/qbittorrent/qbittorrent-9999.ebuild,v
20 retrieving revision 1.8
21 retrieving revision 1.9
22 diff -u -r1.8 -r1.9
23 --- qbittorrent-9999.ebuild 2 Mar 2013 23:09:45 -0000 1.8
24 +++ qbittorrent-9999.ebuild 31 Jul 2013 15:33:00 -0000 1.9
25 @@ -1,14 +1,14 @@
26 # Copyright 1999-2013 Gentoo Foundation
27 # Distributed under the terms of the GNU General Public License v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/qbittorrent/qbittorrent-9999.ebuild,v 1.8 2013/03/02 23:09:45 hwoarang Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/qbittorrent/qbittorrent-9999.ebuild,v 1.9 2013/07/31 15:33:00 yngwin Exp $
30
31 -EAPI="4"
32 -PYTHON_DEPEND="2"
33 +EAPI=5
34 +PYTHON_COMPAT=( python{2_5,2_6,2_7} )
35
36 EGIT_REPO_URI="git://github.com/${PN}/qBittorrent.git
37 https://github.com/${PN}/qBittorrent.git"
38
39 -inherit python qt4-r2 versionator git-2
40 +inherit python-r1 qt4-r2 git-2
41
42 DESCRIPTION="BitTorrent client in C++ and Qt"
43 HOMEPAGE="http://www.qbittorrent.org/"
44 @@ -19,25 +19,20 @@
45
46 IUSE="dbus +X geoip"
47
48 -QT_MIN="4.6.1"
49 -# boost version so that we always have thread support
50 -CDEPEND="net-libs/rb_libtorrent
51 - >=dev-qt/qtcore-${QT_MIN}:4
52 - X? ( >=dev-qt/qtgui-${QT_MIN}:4 )
53 - dbus? ( >=dev-qt/qtdbus-${QT_MIN}:4 )
54 - dev-libs/boost"
55 +# python-2 is a runtime dep only, for the search engine (see INSTALL file)
56 +CDEPEND="dev-libs/boost
57 + dev-qt/qtcore:4
58 + net-libs/rb_libtorrent
59 + X? ( dev-qt/qtgui:4 )
60 + dbus? ( dev-qt/qtdbus:4 )"
61 DEPEND="${CDEPEND}
62 virtual/pkgconfig"
63 RDEPEND="${CDEPEND}
64 + ${PYTHON_DEPS}
65 geoip? ( dev-libs/geoip )"
66
67 DOCS="AUTHORS Changelog NEWS README TODO"
68
69 -pkg_setup() {
70 - python_set_active_version 2
71 - python_pkg_setup
72 -}
73 -
74 src_prepare() {
75 # Respect LDFLAGS
76 sed -i -e 's/-Wl,--as-needed/$(LDFLAGS)/g' src/src.pro
77 @@ -50,13 +45,9 @@
78 use geoip || myconf+=" --disable-geoip-database"
79 use dbus || myconf+=" --disable-qt-dbus"
80
81 - # slotted boost detection, bug #309415
82 - BOOST_PKG="$(best_version ">=dev-libs/boost-1.34.1")"
83 - BOOST_VER="$(get_version_component_range 1-2 "${BOOST_PKG/*boost-/}")"
84 - BOOST_VER="$(replace_all_version_separators _ "${BOOST_VER}")"
85 - myconf+=" --with-libboost-inc=/usr/include/boost-${BOOST_VER}"
86 -
87 # econf fails, since this uses qconf
88 - ./configure --prefix=/usr --qtdir=/usr ${myconf} || die "configure failed"
89 + ./configure --prefix=/usr --qtdir=/usr \
90 + --with-libboost-inc=/usr/include/boost \
91 + ${myconf} || die "configure failed"
92 eqmake4
93 }
94
95
96
97 1.212 net-p2p/qbittorrent/ChangeLog
98
99 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/qbittorrent/ChangeLog?rev=1.212&view=markup
100 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/qbittorrent/ChangeLog?rev=1.212&content-type=text/plain
101 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/qbittorrent/ChangeLog?r1=1.211&r2=1.212
102
103 Index: ChangeLog
104 ===================================================================
105 RCS file: /var/cvsroot/gentoo-x86/net-p2p/qbittorrent/ChangeLog,v
106 retrieving revision 1.211
107 retrieving revision 1.212
108 diff -u -r1.211 -r1.212
109 --- ChangeLog 17 Jul 2013 19:17:06 -0000 1.211
110 +++ ChangeLog 31 Jul 2013 15:33:00 -0000 1.212
111 @@ -1,6 +1,13 @@
112 # ChangeLog for net-p2p/qbittorrent
113 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
114 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/qbittorrent/ChangeLog,v 1.211 2013/07/17 19:17:06 maekke Exp $
115 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/qbittorrent/ChangeLog,v 1.212 2013/07/31 15:33:00 yngwin Exp $
116 +
117 +*qbittorrent-3.0.11 (31 Jul 2013)
118 +
119 + 31 Jul 2013; Ben de Groot <yngwin@g.o> +qbittorrent-3.0.11.ebuild,
120 + qbittorrent-9999.ebuild:
121 + Version bump, implementing latest eapi, python-r1.eclass, no longer slotted
122 + boost, and general cleanup; with thanks to contributors in bug #478840
123
124 17 Jul 2013; Markus Meier <maekke@g.o> qbittorrent-3.0.9.ebuild:
125 add ~arm, bug #473472
126
127
128
129 1.1 net-p2p/qbittorrent/qbittorrent-3.0.11.ebuild
130
131 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/qbittorrent/qbittorrent-3.0.11.ebuild?rev=1.1&view=markup
132 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/qbittorrent/qbittorrent-3.0.11.ebuild?rev=1.1&content-type=text/plain
133
134 Index: qbittorrent-3.0.11.ebuild
135 ===================================================================
136 # Copyright 1999-2013 Gentoo Foundation
137 # Distributed under the terms of the GNU General Public License v2
138 # $Header: /var/cvsroot/gentoo-x86/net-p2p/qbittorrent/qbittorrent-3.0.11.ebuild,v 1.1 2013/07/31 15:33:00 yngwin Exp $
139
140 EAPI=5
141 PYTHON_COMPAT=( python{2_5,2_6,2_7} )
142
143 inherit python-r1 qt4-r2
144
145 MY_P="${P/_/}"
146 DESCRIPTION="BitTorrent client in C++ and Qt"
147 HOMEPAGE="http://www.qbittorrent.org/"
148 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
149
150 LICENSE="GPL-2"
151 SLOT="0"
152 KEYWORDS="~amd64 ~arm ~x86"
153 IUSE="dbus +X geoip"
154
155 # python-2 is a runtime dep only, for the search engine (see INSTALL file)
156 CDEPEND="dev-libs/boost
157 dev-qt/qtcore:4
158 >=net-libs/rb_libtorrent-0.16.3
159 X? ( dev-qt/qtgui:4 )
160 dbus? ( dev-qt/qtdbus:4 )"
161 DEPEND="${CDEPEND}
162 virtual/pkgconfig"
163 RDEPEND="${CDEPEND}
164 ${PYTHON_DEPS}
165 geoip? ( dev-libs/geoip )"
166
167 DOCS="AUTHORS Changelog NEWS README TODO"
168 S="${WORKDIR}/${MY_P}"
169
170 src_prepare() {
171 # Respect LDFLAGS
172 sed -i -e 's/-Wl,--as-needed/$(LDFLAGS)/g' src/src.pro
173 qt4-r2_src_prepare
174 }
175
176 src_configure() {
177 local myconf
178 use X || myconf+=" --disable-gui"
179 use geoip || myconf+=" --disable-geoip-database"
180 use dbus || myconf+=" --disable-qt-dbus"
181
182 # econf fails, since this uses qconf
183 ./configure --prefix=/usr --qtdir=/usr \
184 --with-libboost-inc=/usr/include/boost \
185 ${myconf} || die "configure failed"
186 eqmake4
187 }