Gentoo Archives: gentoo-commits

From: "Ben de Groot (yngwin)" <yngwin@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-p2p/qbittorrent: ChangeLog qbittorrent-2.2.5.ebuild
Date: Sat, 10 Apr 2010 16:14:51
Message-Id: 20100410161448.B758C2C04A@corvid.gentoo.org
1 yngwin 10/04/10 16:14:48
2
3 Modified: ChangeLog
4 Added: qbittorrent-2.2.5.ebuild
5 Log:
6 Version bump. Drop conf.pri hack, as the correct values are now detected from the arguments we pass to configure. Fixes bug #313811.
7 (Portage version: 2.2_rc67/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.79 net-p2p/qbittorrent/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/qbittorrent/ChangeLog?rev=1.79&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/qbittorrent/ChangeLog?rev=1.79&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/qbittorrent/ChangeLog?r1=1.78&r2=1.79
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-p2p/qbittorrent/ChangeLog,v
19 retrieving revision 1.78
20 retrieving revision 1.79
21 diff -u -r1.78 -r1.79
22 --- ChangeLog 8 Apr 2010 12:35:58 -0000 1.78
23 +++ ChangeLog 10 Apr 2010 16:14:48 -0000 1.79
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.78 2010/04/08 12:35:58 fauli Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/qbittorrent/ChangeLog,v 1.79 2010/04/10 16:14:48 yngwin Exp $
29 +
30 +*qbittorrent-2.2.5 (10 Apr 2010)
31 +
32 + 10 Apr 2010; Ben de Groot <yngwin@g.o> +qbittorrent-2.2.5.ebuild:
33 + Version bump. Drop conf.pri hack, as the correct values are now detected
34 + from the arguments we pass to configure. Fixes bug #313811.
35
36 08 Apr 2010; Christian Faulhammer <fauli@g.o>
37 qbittorrent-2.2.2.ebuild:
38
39
40
41 1.1 net-p2p/qbittorrent/qbittorrent-2.2.5.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/qbittorrent/qbittorrent-2.2.5.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/qbittorrent/qbittorrent-2.2.5.ebuild?rev=1.1&content-type=text/plain
45
46 Index: qbittorrent-2.2.5.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.2.5.ebuild,v 1.1 2010/04/10 16:14:48 yngwin Exp $
51
52 EAPI="2"
53 inherit confutils qt4-r2 versionator
54
55 DESCRIPTION="BitTorrent client in C++ and Qt"
56 HOMEPAGE="http://www.qbittorrent.org/"
57 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
58
59 LICENSE="GPL-2"
60 SLOT="0"
61 KEYWORDS="~amd64 ~x86"
62 IUSE="+X geoip libnotify"
63
64 # boost version so that we always have thread support
65 CDEPEND="net-libs/rb_libtorrent
66 x11-libs/qt-core:4
67 X? ( x11-libs/qt-gui:4
68 libnotify? ( x11-libs/qt-gui:4[glib] ) )
69 >=dev-libs/boost-1.34.1"
70 DEPEND="${CDEPEND}
71 dev-util/pkgconfig"
72 RDEPEND="${CDEPEND}
73 >=dev-lang/python-2.3
74 geoip? ( dev-libs/geoip )
75 libnotify? ( x11-libs/libnotify )"
76
77 DOCS="AUTHORS Changelog NEWS README TODO"
78
79 pkg_setup() {
80 confutils_use_depend_all libnotify X
81 }
82
83 src_prepare() {
84 # Respect LDFLAGS
85 sed -i -e 's/-Wl,--as-needed/$(LDFLAGS)/g' src/src.pro
86 qt4-r2_src_prepare
87 }
88
89 src_configure() {
90 local myconf
91 use X || myconf+=" --disable-gui"
92 use geoip || myconf+=" --disable-geoip-database"
93 use libnotify || myconf+=" --disable-libnotify"
94
95 # slotted boost detection, bug #309415
96 BOOST_PKG="$(best_version ">=dev-libs/boost-1.34.1")"
97 BOOST_VER="$(get_version_component_range 1-2 "${BOOST_PKG/*boost-/}")"
98 BOOST_VER="$(replace_all_version_separators _ "${BOOST_VER}")"
99 myconf+=" --with-libboost-inc=/usr/include/boost-${BOOST_VER}"
100
101 # econf fails, since this uses qconf
102 ./configure --prefix=/usr --qtdir=/usr ${myconf} || die "configure failed"
103 eqmake4
104 }