Gentoo Archives: gentoo-commits

From: "Markos Chandras (hwoarang)" <hwoarang@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-p2p/qbittorrent: qbittorrent-2.3.0_beta1.ebuild ChangeLog qbittorrent-2.2.8.ebuild
Date: Wed, 02 Jun 2010 14:27:45
Message-Id: 20100602142739.A0ABE2CE14@corvid.gentoo.org
1 hwoarang 10/06/02 14:27:35
2
3 Modified: ChangeLog
4 Added: qbittorrent-2.3.0_beta1.ebuild
5 qbittorrent-2.2.8.ebuild
6 Log:
7 Version bump. Fixes bug #322173. Thanks to Michael Weber <gentoo@×××.de> for the patch
8 (Portage version: 2.1.8.3/cvs/Linux i686)
9
10 Revision Changes Path
11 1.86 net-p2p/qbittorrent/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/qbittorrent/ChangeLog?rev=1.86&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/qbittorrent/ChangeLog?rev=1.86&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/qbittorrent/ChangeLog?r1=1.85&r2=1.86
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-p2p/qbittorrent/ChangeLog,v
20 retrieving revision 1.85
21 retrieving revision 1.86
22 diff -u -r1.85 -r1.86
23 --- ChangeLog 31 May 2010 11:53:18 -0000 1.85
24 +++ ChangeLog 2 Jun 2010 14:27:35 -0000 1.86
25 @@ -1,6 +1,14 @@
26 # ChangeLog for net-p2p/qbittorrent
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/qbittorrent/ChangeLog,v 1.85 2010/05/31 11:53:18 phajdan.jr Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/qbittorrent/ChangeLog,v 1.86 2010/06/02 14:27:35 hwoarang Exp $
30 +
31 +*qbittorrent-2.3.0_beta1 (02 Jun 2010)
32 +*qbittorrent-2.2.8 (02 Jun 2010)
33 +
34 + 02 Jun 2010; Markos Chandras <hwoarang@g.o>
35 + +qbittorrent-2.2.8.ebuild, +qbittorrent-2.3.0_beta1.ebuild:
36 + Version bump. Fixes bug #322173. Thanks to Michael Weber <gentoo@×××.de>
37 + for the patch
38
39 31 May 2010; Pawel Hajdan jr <phajdan.jr@g.o>
40 qbittorrent-2.2.6.ebuild:
41
42
43
44 1.1 net-p2p/qbittorrent/qbittorrent-2.3.0_beta1.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/qbittorrent/qbittorrent-2.3.0_beta1.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/qbittorrent/qbittorrent-2.3.0_beta1.ebuild?rev=1.1&content-type=text/plain
48
49 Index: qbittorrent-2.3.0_beta1.ebuild
50 ===================================================================
51 # Copyright 1999-2010 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/net-p2p/qbittorrent/qbittorrent-2.3.0_beta1.ebuild,v 1.1 2010/06/02 14:27:35 hwoarang Exp $
54
55 EAPI="2"
56 PYTHON_DEPEND="2"
57
58 inherit python confutils qt4-r2 versionator
59
60 MY_P="${P/_/}"
61 DESCRIPTION="BitTorrent client in C++ and Qt"
62 HOMEPAGE="http://www.qbittorrent.org/"
63 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
64
65 LICENSE="GPL-2"
66 SLOT="0"
67 KEYWORDS="~amd64 ~x86"
68 IUSE="+X geoip libnotify"
69
70 # boost version so that we always have thread support
71 CDEPEND="net-libs/rb_libtorrent
72 x11-libs/qt-core:4
73 X? ( x11-libs/qt-gui:4
74 libnotify? ( x11-libs/qt-gui:4[glib] ) )
75 dev-libs/boost"
76 DEPEND="${CDEPEND}
77 dev-util/pkgconfig"
78 RDEPEND="${CDEPEND}
79 geoip? ( dev-libs/geoip )
80 libnotify? ( x11-libs/libnotify )"
81
82 DOCS="AUTHORS Changelog NEWS README TODO"
83
84 S="${WORKDIR}/${MY_P}"
85
86 pkg_setup() {
87 confutils_use_depend_all libnotify X
88 python_set_active_version 2
89 python_pkg_setup
90 }
91
92 src_prepare() {
93 # Respect LDFLAGS
94 sed -i -e 's/-Wl,--as-needed/$(LDFLAGS)/g' src/src.pro
95 qt4-r2_src_prepare
96 }
97
98 src_configure() {
99 local myconf
100 use X || myconf+=" --disable-gui"
101 use geoip || myconf+=" --disable-geoip-database"
102 use libnotify || myconf+=" --disable-libnotify"
103
104 # slotted boost detection, bug #309415
105 BOOST_PKG="$(best_version ">=dev-libs/boost-1.34.1")"
106 BOOST_VER="$(get_version_component_range 1-2 "${BOOST_PKG/*boost-/}")"
107 BOOST_VER="$(replace_all_version_separators _ "${BOOST_VER}")"
108 myconf+=" --with-libboost-inc=/usr/include/boost-${BOOST_VER}"
109
110 # econf fails, since this uses qconf
111 ./configure --prefix=/usr --qtdir=/usr ${myconf} || die "configure failed"
112 eqmake4
113 }
114
115
116
117 1.1 net-p2p/qbittorrent/qbittorrent-2.2.8.ebuild
118
119 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/qbittorrent/qbittorrent-2.2.8.ebuild?rev=1.1&view=markup
120 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/qbittorrent/qbittorrent-2.2.8.ebuild?rev=1.1&content-type=text/plain
121
122 Index: qbittorrent-2.2.8.ebuild
123 ===================================================================
124 # Copyright 1999-2010 Gentoo Foundation
125 # Distributed under the terms of the GNU General Public License v2
126 # $Header: /var/cvsroot/gentoo-x86/net-p2p/qbittorrent/qbittorrent-2.2.8.ebuild,v 1.1 2010/06/02 14:27:35 hwoarang Exp $
127
128 EAPI="2"
129 PYTHON_DEPEND="2"
130 inherit python confutils qt4-r2 versionator
131
132 DESCRIPTION="BitTorrent client in C++ and Qt"
133 HOMEPAGE="http://www.qbittorrent.org/"
134 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
135
136 LICENSE="GPL-2"
137 SLOT="0"
138 KEYWORDS="~amd64 ~x86"
139 IUSE="+X geoip libnotify"
140
141 # boost version so that we always have thread support
142 CDEPEND="net-libs/rb_libtorrent
143 x11-libs/qt-core:4
144 X? ( x11-libs/qt-gui:4
145 libnotify? ( x11-libs/qt-gui:4[glib] ) )
146 dev-libs/boost"
147 DEPEND="${CDEPEND}
148 dev-util/pkgconfig"
149 RDEPEND="${CDEPEND}
150 geoip? ( dev-libs/geoip )
151 libnotify? ( x11-libs/libnotify )"
152
153 DOCS="AUTHORS Changelog NEWS README TODO"
154
155 pkg_setup() {
156 confutils_use_depend_all libnotify X
157 python_set_active_version 2
158 python_pkg_setup
159 }
160
161 src_prepare() {
162 # Respect LDFLAGS
163 sed -i -e 's/-Wl,--as-needed/$(LDFLAGS)/g' src/src.pro
164 qt4-r2_src_prepare
165 }
166
167 src_configure() {
168 local myconf
169 use X || myconf+=" --disable-gui"
170 use geoip || myconf+=" --disable-geoip-database"
171 use libnotify || myconf+=" --disable-libnotify"
172
173 # slotted boost detection, bug #309415
174 BOOST_PKG="$(best_version ">=dev-libs/boost-1.34.1")"
175 BOOST_VER="$(get_version_component_range 1-2 "${BOOST_PKG/*boost-/}")"
176 BOOST_VER="$(replace_all_version_separators _ "${BOOST_VER}")"
177 myconf+=" --with-libboost-inc=/usr/include/boost-${BOOST_VER}"
178
179 # econf fails, since this uses qconf
180 ./configure --prefix=/usr --qtdir=/usr ${myconf} || die "configure failed"
181 eqmake4
182 }