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.6.0_beta3.ebuild ChangeLog qbittorrent-2.6.0_beta2.ebuild
Date: Wed, 29 Dec 2010 21:23:08
Message-Id: 20101229212259.E689920054@flycatcher.gentoo.org
1 hwoarang 10/12/29 21:22:59
2
3 Modified: ChangeLog
4 Added: qbittorrent-2.6.0_beta3.ebuild
5 Removed: qbittorrent-2.6.0_beta2.ebuild
6 Log:
7 Version bump. Remove old ebuild
8
9 (Portage version: 2.1.9.26/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.130 net-p2p/qbittorrent/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/qbittorrent/ChangeLog?rev=1.130&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/qbittorrent/ChangeLog?rev=1.130&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/qbittorrent/ChangeLog?r1=1.129&r2=1.130
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/net-p2p/qbittorrent/ChangeLog,v
21 retrieving revision 1.129
22 retrieving revision 1.130
23 diff -u -r1.129 -r1.130
24 --- ChangeLog 26 Dec 2010 12:37:07 -0000 1.129
25 +++ ChangeLog 29 Dec 2010 21:22:59 -0000 1.130
26 @@ -1,6 +1,12 @@
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.129 2010/12/26 12:37:07 hwoarang Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/qbittorrent/ChangeLog,v 1.130 2010/12/29 21:22:59 hwoarang Exp $
31 +
32 +*qbittorrent-2.6.0_beta3 (29 Dec 2010)
33 +
34 + 29 Dec 2010; Markos Chandras <hwoarang@g.o>
35 + -qbittorrent-2.6.0_beta2.ebuild, +qbittorrent-2.6.0_beta3.ebuild:
36 + Version bump. Remove old ebuild
37
38 *qbittorrent-2.6.0_beta2 (26 Dec 2010)
39
40
41
42
43 1.1 net-p2p/qbittorrent/qbittorrent-2.6.0_beta3.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/qbittorrent/qbittorrent-2.6.0_beta3.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/qbittorrent/qbittorrent-2.6.0_beta3.ebuild?rev=1.1&content-type=text/plain
47
48 Index: qbittorrent-2.6.0_beta3.ebuild
49 ===================================================================
50 # Copyright 1999-2010 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/net-p2p/qbittorrent/qbittorrent-2.6.0_beta3.ebuild,v 1.1 2010/12/29 21:22:59 hwoarang Exp $
53
54 EAPI="2"
55 PYTHON_DEPEND="2"
56
57 inherit python confutils qt4-r2 versionator
58
59 MY_P="${P/_/}"
60 DESCRIPTION="BitTorrent client in C++ and Qt"
61 HOMEPAGE="http://www.qbittorrent.org/"
62 SRC_URI="mirror://sourceforge/${PN}/${MY_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 x11-libs/qt-dbus:4
73 X? ( x11-libs/qt-gui:4
74 libnotify? ( x11-libs/qt-gui:4[glib] ) )
75 dev-libs/boost"
76 DEPEND="${CDEPEND}
77 dev-util/pkgconfig"
78 RDEPEND="${CDEPEND}
79 geoip? ( dev-libs/geoip )
80 libnotify? ( x11-libs/libnotify )"
81
82 DOCS="AUTHORS Changelog NEWS README TODO"
83
84 S="${WORKDIR}/${MY_P}"
85
86 pkg_setup() {
87 confutils_use_depend_all libnotify X
88 python_set_active_version 2
89 python_pkg_setup
90 }
91
92 src_prepare() {
93 # Respect LDFLAGS
94 sed -i -e 's/-Wl,--as-needed/$(LDFLAGS)/g' src/src.pro
95 qt4-r2_src_prepare
96 }
97
98 src_configure() {
99 local myconf
100 use X || myconf+=" --disable-gui"
101 use geoip || myconf+=" --disable-geoip-database"
102 use libnotify || myconf+=" --disable-libnotify"
103
104 # slotted boost detection, bug #309415
105 BOOST_PKG="$(best_version ">=dev-libs/boost-1.34.1")"
106 BOOST_VER="$(get_version_component_range 1-2 "${BOOST_PKG/*boost-/}")"
107 BOOST_VER="$(replace_all_version_separators _ "${BOOST_VER}")"
108 myconf+=" --with-libboost-inc=/usr/include/boost-${BOOST_VER}"
109
110 # econf fails, since this uses qconf
111 ./configure --prefix=/usr --qtdir=/usr ${myconf} || die "configure failed"
112 eqmake4
113 }