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