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.4.0_rc1.ebuild ChangeLog
Date: Sat, 21 Aug 2010 13:27:12
Message-Id: 20100821132708.6BCBD2004C@flycatcher.gentoo.org
1 hwoarang 10/08/21 13:27:08
2
3 Modified: ChangeLog
4 Added: qbittorrent-2.4.0_rc1.ebuild
5 Log:
6 Version bump to 2.4.0_rc1
7 (Portage version: 2.2_rc67/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.104 net-p2p/qbittorrent/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/qbittorrent/ChangeLog?rev=1.104&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/qbittorrent/ChangeLog?rev=1.104&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/qbittorrent/ChangeLog?r1=1.103&r2=1.104
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-p2p/qbittorrent/ChangeLog,v
19 retrieving revision 1.103
20 retrieving revision 1.104
21 diff -u -r1.103 -r1.104
22 --- ChangeLog 19 Aug 2010 00:51:35 -0000 1.103
23 +++ ChangeLog 21 Aug 2010 13:27:08 -0000 1.104
24 @@ -1,6 +1,12 @@
25 # ChangeLog for net-p2p/qbittorrent
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/qbittorrent/ChangeLog,v 1.103 2010/08/19 00:51:35 hwoarang Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/qbittorrent/ChangeLog,v 1.104 2010/08/21 13:27:08 hwoarang Exp $
29 +
30 +*qbittorrent-2.4.0_rc1 (21 Aug 2010)
31 +
32 + 21 Aug 2010; Markos Chandras <hwoarang@g.o>
33 + +qbittorrent-2.4.0_rc1.ebuild:
34 + Version bump to 2.4.0_rc1
35
36 *qbittorrent-2.4.0_beta1 (19 Aug 2010)
37 *qbittorrent-2.3.1 (19 Aug 2010)
38
39
40
41 1.1 net-p2p/qbittorrent/qbittorrent-2.4.0_rc1.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/qbittorrent/qbittorrent-2.4.0_rc1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/qbittorrent/qbittorrent-2.4.0_rc1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: qbittorrent-2.4.0_rc1.ebuild
47 ===================================================================
48 # Copyright 1999-2010 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/net-p2p/qbittorrent/qbittorrent-2.4.0_rc1.ebuild,v 1.1 2010/08/21 13:27:08 hwoarang Exp $
51
52 EAPI="2"
53 PYTHON_DEPEND="2"
54
55 inherit python confutils qt4-r2 versionator
56
57 MY_P="${P/_/}"
58 DESCRIPTION="BitTorrent client in C++ and Qt"
59 HOMEPAGE="http://www.qbittorrent.org/"
60 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
61
62 LICENSE="GPL-2"
63 SLOT="0"
64 KEYWORDS="~amd64 ~x86"
65 IUSE="+X geoip libnotify"
66
67 # boost version so that we always have thread support
68 CDEPEND="net-libs/rb_libtorrent
69 x11-libs/qt-core:4
70 X? ( x11-libs/qt-gui:4
71 libnotify? ( x11-libs/qt-gui:4[glib] ) )
72 dev-libs/boost"
73 DEPEND="${CDEPEND}
74 dev-util/pkgconfig"
75 RDEPEND="${CDEPEND}
76 geoip? ( dev-libs/geoip )
77 libnotify? ( x11-libs/libnotify )"
78
79 DOCS="AUTHORS Changelog NEWS README TODO"
80
81 S="${WORKDIR}/${MY_P}"
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 }