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