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.5.ebuild ChangeLog qbittorrent-3.0.3.ebuild qbittorrent-3.0.2.ebuild
Date: Mon, 01 Oct 2012 19:18:14
Message-Id: 20121001191744.3B91021600@flycatcher.gentoo.org
1 hwoarang 12/10/01 19:17:44
2
3 Modified: ChangeLog
4 Added: qbittorrent-3.0.5.ebuild
5 Removed: qbittorrent-3.0.3.ebuild qbittorrent-3.0.2.ebuild
6 Log:
7 Version bump
8
9 (Portage version: 2.1.11.23/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.203 net-p2p/qbittorrent/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/qbittorrent/ChangeLog?rev=1.203&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/qbittorrent/ChangeLog?rev=1.203&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/qbittorrent/ChangeLog?r1=1.202&r2=1.203
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/net-p2p/qbittorrent/ChangeLog,v
21 retrieving revision 1.202
22 retrieving revision 1.203
23 diff -u -r1.202 -r1.203
24 --- ChangeLog 27 Sep 2012 20:07:49 -0000 1.202
25 +++ ChangeLog 1 Oct 2012 19:17:44 -0000 1.203
26 @@ -1,6 +1,12 @@
27 # ChangeLog for net-p2p/qbittorrent
28 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/qbittorrent/ChangeLog,v 1.202 2012/09/27 20:07:49 hwoarang Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/qbittorrent/ChangeLog,v 1.203 2012/10/01 19:17:44 hwoarang Exp $
31 +
32 +*qbittorrent-3.0.5 (01 Oct 2012)
33 +
34 + 01 Oct 2012; Markos Chandras <hwoarang@g.o> +qbittorrent-3.0.5.ebuild,
35 + -qbittorrent-3.0.2.ebuild, -qbittorrent-3.0.3.ebuild:
36 + Version bump
37
38 *qbittorrent-3.0.4 (27 Sep 2012)
39
40
41
42
43 1.1 net-p2p/qbittorrent/qbittorrent-3.0.5.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/qbittorrent/qbittorrent-3.0.5.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/qbittorrent/qbittorrent-3.0.5.ebuild?rev=1.1&content-type=text/plain
47
48 Index: qbittorrent-3.0.5.ebuild
49 ===================================================================
50 # Copyright 1999-2012 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/net-p2p/qbittorrent/qbittorrent-3.0.5.ebuild,v 1.1 2012/10/01 19:17:44 hwoarang Exp $
53
54 EAPI="2"
55 PYTHON_DEPEND="2"
56
57 inherit python qt4-r2 versionator
58
59 MY_P="${P/_/}"
60 DESCRIPTION="BitTorrent client in C++ and Qt"
61 HOMEPAGE="http://www.qbittorrent.org/"
62 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
63
64 LICENSE="GPL-2"
65 SLOT="0"
66 KEYWORDS="~amd64 ~x86"
67 IUSE="dbus +X geoip"
68
69 QT_MIN="4.6.1"
70 # boost version so that we always have thread support
71 CDEPEND=">=net-libs/rb_libtorrent-0.16.3
72 >=x11-libs/qt-core-${QT_MIN}:4
73 X? ( >=x11-libs/qt-gui-${QT_MIN}:4 )
74 dbus? ( >=x11-libs/qt-dbus-${QT_MIN}:4 )
75 dev-libs/boost"
76 DEPEND="${CDEPEND}
77 virtual/pkgconfig"
78 RDEPEND="${CDEPEND}
79 geoip? ( dev-libs/geoip )"
80
81 DOCS="AUTHORS Changelog NEWS README TODO"
82
83 S="${WORKDIR}/${MY_P}"
84
85 pkg_setup() {
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 dbus || myconf+=" --disable-qt-dbus"
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 }