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_beta5.ebuild qbittorrent-1.1.3.ebuild qbittorrent-1.1.1.ebuild qbittorrent-1.1.2.ebuild qbittorrent-1.2.0_beta4.ebuild
Date: Tue, 26 Aug 2008 10:03:43
Message-Id: E1KXvOk-0005P9-QB@stork.gentoo.org
1 armin76 08/08/26 10:03:38
2
3 Modified: ChangeLog
4 Added: qbittorrent-1.2.0_beta5.ebuild
5 qbittorrent-1.1.3.ebuild
6 Removed: qbittorrent-1.1.1.ebuild qbittorrent-1.1.2.ebuild
7 qbittorrent-1.2.0_beta4.ebuild
8 Log:
9 Version bump
10 (Portage version: 2.2_rc8/cvs/Linux 2.6.25-gentoo-r7 i686)
11
12 Revision Changes Path
13 1.44 net-p2p/qbittorrent/ChangeLog
14
15 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/qbittorrent/ChangeLog?rev=1.44&view=markup
16 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/qbittorrent/ChangeLog?rev=1.44&content-type=text/plain
17 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/qbittorrent/ChangeLog?r1=1.43&r2=1.44
18
19 Index: ChangeLog
20 ===================================================================
21 RCS file: /var/cvsroot/gentoo-x86/net-p2p/qbittorrent/ChangeLog,v
22 retrieving revision 1.43
23 retrieving revision 1.44
24 diff -u -r1.43 -r1.44
25 --- ChangeLog 25 Aug 2008 14:45:22 -0000 1.43
26 +++ ChangeLog 26 Aug 2008 10:03:38 -0000 1.44
27 @@ -1,6 +1,14 @@
28 # ChangeLog for net-p2p/qbittorrent
29 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
30 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/qbittorrent/ChangeLog,v 1.43 2008/08/25 14:45:22 armin76 Exp $
31 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/qbittorrent/ChangeLog,v 1.44 2008/08/26 10:03:38 armin76 Exp $
32 +
33 +*qbittorrent-1.2.0_beta5 (26 Aug 2008)
34 +*qbittorrent-1.1.3 (26 Aug 2008)
35 +
36 + 26 Aug 2008; Raúl Porcel <armin76@g.o> -qbittorrent-1.1.1.ebuild,
37 + -qbittorrent-1.1.2.ebuild, +qbittorrent-1.1.3.ebuild,
38 + -qbittorrent-1.2.0_beta4.ebuild, +qbittorrent-1.2.0_beta5.ebuild:
39 + Version bump
40
41 *qbittorrent-1.2.0_beta4 (25 Aug 2008)
42 *qbittorrent-1.1.2 (25 Aug 2008)
43
44
45
46 1.1 net-p2p/qbittorrent/qbittorrent-1.2.0_beta5.ebuild
47
48 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/qbittorrent/qbittorrent-1.2.0_beta5.ebuild?rev=1.1&view=markup
49 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/qbittorrent/qbittorrent-1.2.0_beta5.ebuild?rev=1.1&content-type=text/plain
50
51 Index: qbittorrent-1.2.0_beta5.ebuild
52 ===================================================================
53 # Copyright 1999-2008 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 # $Header: /var/cvsroot/gentoo-x86/net-p2p/qbittorrent/qbittorrent-1.2.0_beta5.ebuild,v 1.1 2008/08/26 10:03:38 armin76 Exp $
56
57 EAPI="1"
58
59 inherit eutils qt4 multilib
60
61 MY_P="${P/_/}"
62
63 DESCRIPTION="BitTorrent client in C++ and Qt."
64 HOMEPAGE="http://www.qbittorrent.org/"
65 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
66 S="${WORKDIR}/${MY_P}"
67
68 LICENSE="GPL-2"
69 SLOT="0"
70 KEYWORDS="~amd64 ~x86"
71 IUSE=""
72
73 DEPEND="|| ( x11-libs/qt-gui:4 =x11-libs/qt-4.3*:4 )
74 >=net-libs/rb_libtorrent-0.13.1
75 dev-libs/boost
76 net-misc/curl
77 dev-cpp/commoncpp2"
78 RDEPEND="${DEPEND}
79 >=dev-lang/python-2.3"
80
81 pkg_setup() {
82 # We need boost built with threads
83 if ! built_with_use --missing true "dev-libs/boost" threads; then
84 eerror "${PN} needs dev-libs/boost built with threads USE flag"
85 die "dev-libs/boost is built without threads USE flag"
86 fi
87 }
88
89 src_unpack() {
90 unpack ${A}
91 cd "${S}"
92
93 # Respect LDFLAGS
94 sed -i -e 's/-Wl,--as-needed/$(LDFLAGS)/g' src/src.pro
95 }
96
97 src_compile() {
98 # econf fails, since this uses qconf
99 ./configure --prefix=/usr --qtdir=/usr \
100 --with-libtorrent-inc=/usr/include \
101 --with-libtorrent-lib=/usr/$(get_libdir) \
102 || die "configure failed"
103 emake || die "emake failed"
104 }
105
106 src_install() {
107 emake INSTALL_ROOT="${D}" install || die "emake install failed"
108 dodoc AUTHORS Changelog NEWS README TODO
109 }
110
111
112
113 1.1 net-p2p/qbittorrent/qbittorrent-1.1.3.ebuild
114
115 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/qbittorrent/qbittorrent-1.1.3.ebuild?rev=1.1&view=markup
116 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/qbittorrent/qbittorrent-1.1.3.ebuild?rev=1.1&content-type=text/plain
117
118 Index: qbittorrent-1.1.3.ebuild
119 ===================================================================
120 # Copyright 1999-2008 Gentoo Foundation
121 # Distributed under the terms of the GNU General Public License v2
122 # $Header: /var/cvsroot/gentoo-x86/net-p2p/qbittorrent/qbittorrent-1.1.3.ebuild,v 1.1 2008/08/26 10:03:38 armin76 Exp $
123
124 EAPI="1"
125
126 inherit eutils qt4 multilib
127
128 MY_P="${P/_/}"
129
130 DESCRIPTION="BitTorrent client in C++ and Qt."
131 HOMEPAGE="http://www.qbittorrent.org/"
132 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
133 S="${WORKDIR}/${MY_P}"
134
135 LICENSE="GPL-2"
136 SLOT="0"
137 KEYWORDS="~amd64 ~x86"
138 IUSE=""
139
140 DEPEND="|| ( x11-libs/qt-gui:4 =x11-libs/qt-4.3*:4 )
141 >=net-libs/rb_libtorrent-0.13.1
142 dev-libs/boost
143 net-misc/curl
144 dev-cpp/commoncpp2"
145 RDEPEND="${DEPEND}
146 >=dev-lang/python-2.3"
147
148 pkg_setup() {
149 # We need boost built with threads
150 if ! built_with_use --missing true "dev-libs/boost" threads; then
151 eerror "${PN} needs dev-libs/boost built with threads USE flag"
152 die "dev-libs/boost is built without threads USE flag"
153 fi
154 }
155
156 src_unpack() {
157 unpack ${A}
158 cd "${S}"
159
160 # Respect LDFLAGS
161 sed -i -e 's/-Wl,--as-needed/$(LDFLAGS)/g' src/src.pro
162 }
163
164 src_compile() {
165 # econf fails, since this uses qconf
166 ./configure --prefix=/usr --qtdir=/usr \
167 --with-libtorrent-inc=/usr/include \
168 --with-libtorrent-lib=/usr/$(get_libdir) \
169 || die "configure failed"
170 emake || die "emake failed"
171 }
172
173 src_install() {
174 emake INSTALL_ROOT="${D}" install || die "emake install failed"
175 dodoc AUTHORS Changelog NEWS README TODO
176 }