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