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