Gentoo Archives: gentoo-commits

From: "Raul Porcel (armin76)" <armin76@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-p2p/qbittorrent: ChangeLog qbittorrent-1.2.0_rc3.ebuild qbittorrent-1.1.3.ebuild qbittorrent-1.2.0_beta6.ebuild
Date: Sat, 04 Oct 2008 18:14:42
Message-Id: E1KmBeJ-000225-F8@stork.gentoo.org
1 armin76 08/10/04 18:14:39
2
3 Modified: ChangeLog
4 Added: qbittorrent-1.2.0_rc3.ebuild
5 Removed: qbittorrent-1.1.3.ebuild
6 qbittorrent-1.2.0_beta6.ebuild
7 Log:
8 Version bump
9 (Portage version: 2.1.4.4)
10
11 Revision Changes Path
12 1.46 net-p2p/qbittorrent/ChangeLog
13
14 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/qbittorrent/ChangeLog?rev=1.46&view=markup
15 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/qbittorrent/ChangeLog?rev=1.46&content-type=text/plain
16 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/qbittorrent/ChangeLog?r1=1.45&r2=1.46
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/net-p2p/qbittorrent/ChangeLog,v
21 retrieving revision 1.45
22 retrieving revision 1.46
23 diff -u -r1.45 -r1.46
24 --- ChangeLog 15 Sep 2008 10:57:13 -0000 1.45
25 +++ ChangeLog 4 Oct 2008 18:14:38 -0000 1.46
26 @@ -1,6 +1,12 @@
27 # ChangeLog for net-p2p/qbittorrent
28 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/qbittorrent/ChangeLog,v 1.45 2008/09/15 10:57:13 armin76 Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/qbittorrent/ChangeLog,v 1.46 2008/10/04 18:14:38 armin76 Exp $
31 +
32 +*qbittorrent-1.2.0_rc3 (04 Oct 2008)
33 +
34 + 04 Oct 2008; Raúl Porcel <armin76@g.o> -qbittorrent-1.1.3.ebuild,
35 + -qbittorrent-1.2.0_beta6.ebuild, +qbittorrent-1.2.0_rc3.ebuild:
36 + Version bump
37
38 *qbittorrent-1.2.0_beta6 (15 Sep 2008)
39 *qbittorrent-1.1.4 (15 Sep 2008)
40
41
42
43 1.1 net-p2p/qbittorrent/qbittorrent-1.2.0_rc3.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/qbittorrent/qbittorrent-1.2.0_rc3.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/qbittorrent/qbittorrent-1.2.0_rc3.ebuild?rev=1.1&content-type=text/plain
47
48 Index: qbittorrent-1.2.0_rc3.ebuild
49 ===================================================================
50 # Copyright 1999-2008 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/net-p2p/qbittorrent/qbittorrent-1.2.0_rc3.ebuild,v 1.1 2008/10/04 18:14:38 armin76 Exp $
53
54 EAPI="1"
55
56 inherit eutils qt4 multilib
57
58 MY_P="${P/_/}"
59
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 S="${WORKDIR}/${MY_P}"
64
65 LICENSE="GPL-2"
66 SLOT="0"
67 KEYWORDS="~amd64 ~x86"
68 IUSE=""
69
70 DEPEND="|| ( x11-libs/qt-gui:4 =x11-libs/qt-4.3*:4 )
71 >=net-libs/rb_libtorrent-0.13.1
72 dev-libs/boost
73 net-misc/curl
74 dev-cpp/commoncpp2"
75 RDEPEND="${DEPEND}
76 >=dev-lang/python-2.3"
77
78 pkg_setup() {
79 # We need boost built with threads
80 if ! built_with_use --missing true "dev-libs/boost" threads; then
81 eerror "${PN} needs dev-libs/boost built with threads USE flag"
82 die "dev-libs/boost is built without threads USE flag"
83 fi
84 }
85
86 src_unpack() {
87 unpack ${A}
88 cd "${S}"
89
90 # Respect LDFLAGS
91 sed -i -e 's/-Wl,--as-needed/$(LDFLAGS)/g' src/src.pro
92 }
93
94 src_compile() {
95 # econf fails, since this uses qconf
96 ./configure --prefix=/usr --qtdir=/usr \
97 --with-libtorrent-inc=/usr/include \
98 --with-libtorrent-lib=/usr/$(get_libdir) \
99 || die "configure failed"
100 emake || die "emake failed"
101 }
102
103 src_install() {
104 emake INSTALL_ROOT="${D}" install || die "emake install failed"
105 dodoc AUTHORS Changelog NEWS README TODO
106 }