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.6.4.ebuild
Date: Sun, 23 Jan 2011 16:06:25
Message-Id: 20110123160614.9305120054@flycatcher.gentoo.org
1 hwoarang 11/01/23 16:06:14
2
3 Modified: ChangeLog
4 Added: qbittorrent-2.6.4.ebuild
5 Log:
6 version bump
7
8 (Portage version: 2.1.9.33/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.137 net-p2p/qbittorrent/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/qbittorrent/ChangeLog?rev=1.137&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/qbittorrent/ChangeLog?rev=1.137&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/qbittorrent/ChangeLog?r1=1.136&r2=1.137
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-p2p/qbittorrent/ChangeLog,v
20 retrieving revision 1.136
21 retrieving revision 1.137
22 diff -u -r1.136 -r1.137
23 --- ChangeLog 15 Jan 2011 15:37:17 -0000 1.136
24 +++ ChangeLog 23 Jan 2011 16:06:14 -0000 1.137
25 @@ -1,6 +1,11 @@
26 # ChangeLog for net-p2p/qbittorrent
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/qbittorrent/ChangeLog,v 1.136 2011/01/15 15:37:17 hwoarang Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/qbittorrent/ChangeLog,v 1.137 2011/01/23 16:06:14 hwoarang Exp $
30 +
31 +*qbittorrent-2.6.4 (23 Jan 2011)
32 +
33 + 23 Jan 2011; Markos Chandras <hwoarang@g.o> +qbittorrent-2.6.4.ebuild:
34 + version bump
35
36 *qbittorrent-2.6.3 (15 Jan 2011)
37
38
39
40
41 1.1 net-p2p/qbittorrent/qbittorrent-2.6.4.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/qbittorrent/qbittorrent-2.6.4.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/qbittorrent/qbittorrent-2.6.4.ebuild?rev=1.1&content-type=text/plain
45
46 Index: qbittorrent-2.6.4.ebuild
47 ===================================================================
48 # Copyright 1999-2011 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.6.4.ebuild,v 1.1 2011/01/23 16:06:14 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 x11-libs/qt-dbus:4
71 X? ( x11-libs/qt-gui:4
72 libnotify? ( x11-libs/qt-gui:4[glib] ) )
73 dev-libs/boost"
74 DEPEND="${CDEPEND}
75 dev-util/pkgconfig"
76 RDEPEND="${CDEPEND}
77 geoip? ( dev-libs/geoip )
78 libnotify? ( x11-libs/libnotify )"
79
80 DOCS="AUTHORS Changelog NEWS README TODO"
81
82 S="${WORKDIR}/${MY_P}"
83
84 pkg_setup() {
85 confutils_use_depend_all libnotify X
86 python_set_active_version 2
87 python_pkg_setup
88 }
89
90 src_prepare() {
91 # Respect LDFLAGS
92 sed -i -e 's/-Wl,--as-needed/$(LDFLAGS)/g' src/src.pro
93 qt4-r2_src_prepare
94 }
95
96 src_configure() {
97 local myconf
98 use X || myconf+=" --disable-gui"
99 use geoip || myconf+=" --disable-geoip-database"
100 use libnotify || myconf+=" --disable-libnotify"
101
102 # slotted boost detection, bug #309415
103 BOOST_PKG="$(best_version ">=dev-libs/boost-1.34.1")"
104 BOOST_VER="$(get_version_component_range 1-2 "${BOOST_PKG/*boost-/}")"
105 BOOST_VER="$(replace_all_version_separators _ "${BOOST_VER}")"
106 myconf+=" --with-libboost-inc=/usr/include/boost-${BOOST_VER}"
107
108 # econf fails, since this uses qconf
109 ./configure --prefix=/usr --qtdir=/usr ${myconf} || die "configure failed"
110 eqmake4
111 }