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.7.1.ebuild qbittorrent-2.4.11.ebuild qbittorrent-2.7.0.ebuild qbittorrent-2.6.9.ebuild
Date: Fri, 01 Apr 2011 10:56:22
Message-Id: 20110401105611.B9DCA20054@flycatcher.gentoo.org
1 hwoarang 11/04/01 10:56:11
2
3 Modified: ChangeLog
4 Added: qbittorrent-2.7.1.ebuild
5 Removed: qbittorrent-2.4.11.ebuild qbittorrent-2.7.0.ebuild
6 qbittorrent-2.6.9.ebuild
7 Log:
8 Version bump. Remove old ebuilds
9
10 (Portage version: 2.1.9.44/cvs/Linux x86_64)
11
12 Revision Changes Path
13 1.145 net-p2p/qbittorrent/ChangeLog
14
15 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/qbittorrent/ChangeLog?rev=1.145&view=markup
16 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/qbittorrent/ChangeLog?rev=1.145&content-type=text/plain
17 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/qbittorrent/ChangeLog?r1=1.144&r2=1.145
18
19 Index: ChangeLog
20 ===================================================================
21 RCS file: /var/cvsroot/gentoo-x86/net-p2p/qbittorrent/ChangeLog,v
22 retrieving revision 1.144
23 retrieving revision 1.145
24 diff -u -r1.144 -r1.145
25 --- ChangeLog 22 Mar 2011 09:45:43 -0000 1.144
26 +++ ChangeLog 1 Apr 2011 10:56:11 -0000 1.145
27 @@ -1,6 +1,13 @@
28 # ChangeLog for net-p2p/qbittorrent
29 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
30 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/qbittorrent/ChangeLog,v 1.144 2011/03/22 09:45:43 hwoarang Exp $
31 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/qbittorrent/ChangeLog,v 1.145 2011/04/01 10:56:11 hwoarang Exp $
32 +
33 +*qbittorrent-2.7.1 (01 Apr 2011)
34 +
35 + 01 Apr 2011; Markos Chandras <hwoarang@g.o>
36 + -qbittorrent-2.4.11.ebuild, -qbittorrent-2.6.9.ebuild,
37 + -qbittorrent-2.7.0.ebuild, +qbittorrent-2.7.1.ebuild:
38 + Version bump. Remove old ebuilds
39
40 *qbittorrent-2.7.0 (22 Mar 2011)
41 *qbittorrent-2.6.9 (22 Mar 2011)
42
43
44
45 1.1 net-p2p/qbittorrent/qbittorrent-2.7.1.ebuild
46
47 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/qbittorrent/qbittorrent-2.7.1.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/qbittorrent/qbittorrent-2.7.1.ebuild?rev=1.1&content-type=text/plain
49
50 Index: qbittorrent-2.7.1.ebuild
51 ===================================================================
52 # Copyright 1999-2011 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 # $Header: /var/cvsroot/gentoo-x86/net-p2p/qbittorrent/qbittorrent-2.7.1.ebuild,v 1.1 2011/04/01 10:56:11 hwoarang Exp $
55
56 EAPI="2"
57 PYTHON_DEPEND="2"
58
59 inherit python confutils qt4-r2 versionator
60
61 MY_P="${P/_/}"
62 DESCRIPTION="BitTorrent client in C++ and Qt"
63 HOMEPAGE="http://www.qbittorrent.org/"
64 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
65
66 LICENSE="GPL-2"
67 SLOT="0"
68 KEYWORDS="~amd64 ~x86"
69 IUSE="+X geoip libnotify"
70
71 QT_MIN="4.7.1"
72 # boost version so that we always have thread support
73 CDEPEND="net-libs/rb_libtorrent
74 >=x11-libs/qt-core-${QT_MIN}:4
75 >=x11-libs/qt-dbus-${QT_MIN}:4
76 X? ( >=x11-libs/qt-gui-${QT_MIN}:4
77 libnotify? ( >=x11-libs/qt-gui-${QT_MIN}: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 }