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