Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-p2p/rtorrent: rtorrent-0.8.7.ebuild ChangeLog
Date: Sun, 03 Apr 2011 16:14:09
Message-Id: 20110403161358.6D3EC20054@flycatcher.gentoo.org
1 patrick 11/04/03 16:13:58
2
3 Modified: ChangeLog
4 Added: rtorrent-0.8.7.ebuild
5 Log:
6 Bump to match libtorrent
7
8 (Portage version: 2.2.0_alpha29/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.158 net-p2p/rtorrent/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/rtorrent/ChangeLog?rev=1.158&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/rtorrent/ChangeLog?rev=1.158&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/rtorrent/ChangeLog?r1=1.157&r2=1.158
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-p2p/rtorrent/ChangeLog,v
20 retrieving revision 1.157
21 retrieving revision 1.158
22 diff -u -r1.157 -r1.158
23 --- ChangeLog 28 Mar 2011 10:52:45 -0000 1.157
24 +++ ChangeLog 3 Apr 2011 16:13:58 -0000 1.158
25 @@ -1,6 +1,11 @@
26 # ChangeLog for net-p2p/rtorrent
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/rtorrent/ChangeLog,v 1.157 2011/03/28 10:52:45 wired Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/rtorrent/ChangeLog,v 1.158 2011/04/03 16:13:58 patrick Exp $
30 +
31 +*rtorrent-0.8.7 (03 Apr 2011)
32 +
33 + 03 Apr 2011; Patrick Lauer <patrick@g.o> +rtorrent-0.8.7.ebuild:
34 + Bump to match libtorrent
35
36 *rtorrent-0.8.6-r2 (28 Mar 2011)
37
38
39
40
41 1.1 net-p2p/rtorrent/rtorrent-0.8.7.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/rtorrent/rtorrent-0.8.7.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/rtorrent/rtorrent-0.8.7.ebuild?rev=1.1&content-type=text/plain
45
46 Index: rtorrent-0.8.7.ebuild
47 ===================================================================
48 # Copyright 1999-2011 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/net-p2p/rtorrent/rtorrent-0.8.7.ebuild,v 1.1 2011/04/03 16:13:58 patrick Exp $
51
52 EAPI=2
53
54 inherit eutils
55
56 DESCRIPTION="BitTorrent Client using libtorrent"
57 HOMEPAGE="http://libtorrent.rakshasa.no/"
58 SRC_URI="http://libtorrent.rakshasa.no/downloads/${P}.tar.gz"
59
60 LICENSE="GPL-2"
61 SLOT="0"
62 KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
63 IUSE="daemon debug ipv6 xmlrpc"
64
65 COMMON_DEPEND=">=net-libs/libtorrent-0.12.${PV##*.}
66 >=dev-libs/libsigc++-2.2.2:2
67 >=net-misc/curl-7.19.1
68 sys-libs/ncurses
69 xmlrpc? ( dev-libs/xmlrpc-c )"
70 RDEPEND="${COMMON_DEPEND}
71 daemon? ( app-misc/screen )"
72 DEPEND="${COMMON_DEPEND}
73 dev-util/pkgconfig"
74
75 src_prepare() {
76 # bug #358271
77 epatch "${FILESDIR}"/${PN}-0.8.6-ncurses.patch
78 }
79
80 src_configure() {
81 econf \
82 --disable-dependency-tracking \
83 $(use_enable debug) \
84 $(use_enable ipv6) \
85 $(use_with xmlrpc xmlrpc-c)
86 }
87
88 src_install() {
89 emake DESTDIR="${D}" install || die
90 dodoc AUTHORS README TODO doc/rtorrent.rc
91
92 if use daemon; then
93 newinitd "${FILESDIR}/rtorrentd.init" rtorrentd || die "newinitd failed"
94 newconfd "${FILESDIR}/rtorrentd.conf" rtorrentd || die "newconfd failed"
95 fi
96 }
97
98 # Need to fix patch to get that again
99 #pkg_postinst() {
100 # elog "rtorrent colors patch"
101 # elog "Set colors using the options below in .rtorrent.rc:"
102 # elog "Options: done_fg_color, done_bg_color, active_fg_color, active_bg_color"
103 # elog "Colors: 0 = black, 1 = red, 2 = green, 3 = yellow, 4 = blue,"
104 # elog "5 = magenta, 6 = cyan and 7 = white"
105 # elog "Example: done_fg_color = 1"
106 #}