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