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