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