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