1 |
yngwin 09/07/02 22:55:49 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: btg-1.0.0.ebuild |
5 |
Log: |
6 |
Version bump, including patches and various ebuild improvements (see ChangeLog) |
7 |
(Portage version: 2.2_rc33/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.5 net-p2p/btg/metadata.xml |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/btg/metadata.xml?rev=1.5&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/btg/metadata.xml?rev=1.5&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/btg/metadata.xml?r1=1.4&r2=1.5 |
15 |
|
16 |
Index: metadata.xml |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/net-p2p/btg/metadata.xml,v |
19 |
retrieving revision 1.4 |
20 |
retrieving revision 1.5 |
21 |
diff -u -r1.4 -r1.5 |
22 |
--- metadata.xml 12 Mar 2009 05:03:04 -0000 1.4 |
23 |
+++ metadata.xml 2 Jul 2009 22:55:49 -0000 1.5 |
24 |
@@ -4,6 +4,7 @@ |
25 |
<herd>net-p2p</herd> |
26 |
<use> |
27 |
<flag name="event-callback">Enable calling a script or executable for certain events</flag> |
28 |
+ <flag name="upnp">Enable support for UPnP</flag> |
29 |
<flag name="webinterface">install webBTG</flag> |
30 |
</use> |
31 |
</pkgmetadata> |
32 |
|
33 |
|
34 |
|
35 |
1.14 net-p2p/btg/ChangeLog |
36 |
|
37 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/btg/ChangeLog?rev=1.14&view=markup |
38 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/btg/ChangeLog?rev=1.14&content-type=text/plain |
39 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/btg/ChangeLog?r1=1.13&r2=1.14 |
40 |
|
41 |
Index: ChangeLog |
42 |
=================================================================== |
43 |
RCS file: /var/cvsroot/gentoo-x86/net-p2p/btg/ChangeLog,v |
44 |
retrieving revision 1.13 |
45 |
retrieving revision 1.14 |
46 |
diff -u -r1.13 -r1.14 |
47 |
--- ChangeLog 7 Mar 2009 14:54:03 -0000 1.13 |
48 |
+++ ChangeLog 2 Jul 2009 22:55:49 -0000 1.14 |
49 |
@@ -1,6 +1,18 @@ |
50 |
# ChangeLog for net-p2p/btg |
51 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
52 |
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/btg/ChangeLog,v 1.13 2009/03/07 14:54:03 betelgeuse Exp $ |
53 |
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/btg/ChangeLog,v 1.14 2009/07/02 22:55:49 yngwin Exp $ |
54 |
+ |
55 |
+*btg-1.0.0 (02 Jul 2009) |
56 |
+ |
57 |
+ 02 Jul 2009; Ben de Groot <yngwin@g.o> +btg-1.0.0.ebuild, |
58 |
+ +files/btg-1.0.0-gcc44.patch, +files/btg-1.0.0-gnutls-pc.patch: |
59 |
+ Version bump, including patches and various ebuild improvements: |
60 |
+ - patch to use pkgconfig to build with >=gnutls-2.8 (bug 275850) |
61 |
+ - patch to fix compiling with gcc-4.4 by adding some missing C headers |
62 |
+ - incorporate some changes from bug 231105 (curl useflag, dep updates) |
63 |
+ - add upnp useflag, upnp is offered by >=rb_libtorrent-0.14 |
64 |
+ - migrate to eapi-2 |
65 |
+ - expand a bit on description |
66 |
|
67 |
07 Mar 2009; Petteri Räty <betelgeuse@g.o> -btg-0.9.6-r1.ebuild: |
68 |
Remove old version. |
69 |
|
70 |
|
71 |
|
72 |
1.1 net-p2p/btg/btg-1.0.0.ebuild |
73 |
|
74 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/btg/btg-1.0.0.ebuild?rev=1.1&view=markup |
75 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/btg/btg-1.0.0.ebuild?rev=1.1&content-type=text/plain |
76 |
|
77 |
Index: btg-1.0.0.ebuild |
78 |
=================================================================== |
79 |
# Copyright 1999-2009 Gentoo Foundation |
80 |
# Distributed under the terms of the GNU General Public License v2 |
81 |
# $Header: /var/cvsroot/gentoo-x86/net-p2p/btg/btg-1.0.0.ebuild,v 1.1 2009/07/02 22:55:49 yngwin Exp $ |
82 |
|
83 |
EAPI="2" |
84 |
inherit eutils autotools |
85 |
|
86 |
MY_P="${P/_/-}" |
87 |
|
88 |
DESCRIPTION="A bittorrent client using rb_libtorrent with a daemon/client model" |
89 |
HOMEPAGE="http://btg.berlios.de/" |
90 |
SRC_URI="mirror://berlios/${PN}/${MY_P}.tar.gz" |
91 |
|
92 |
LICENSE="GPL-2" |
93 |
SLOT="0" |
94 |
KEYWORDS="~amd64 ~ppc ~x86" |
95 |
IUSE="curl debug doc event-callback gtk minimal ncurses session test upnp webinterface" |
96 |
|
97 |
RDEPEND=">=dev-libs/boost-1.35 |
98 |
dev-libs/expat |
99 |
dev-libs/libgcrypt |
100 |
dev-libs/libgpg-error |
101 |
dev-libs/libtasn1 |
102 |
net-libs/gnutls |
103 |
net-libs/rb_libtorrent |
104 |
curl? ( net-misc/curl ) |
105 |
gtk? ( dev-cpp/gtkmm:2.4 |
106 |
dev-libs/libsigc++:2 |
107 |
sci-libs/plotmm |
108 |
x11-libs/pango ) |
109 |
!minimal? ( dev-util/dialog ) |
110 |
ncurses? ( sys-libs/ncurses ) |
111 |
test? ( dev-util/cppunit ) |
112 |
upnp? ( >=net-libs/rb_libtorrent-0.14 ) |
113 |
webinterface? ( dev-lang/php:5[xml,zlib] virtual/httpd-cgi )" |
114 |
DEPEND="${RDEPEND} |
115 |
dev-util/pkgconfig |
116 |
doc? ( app-doc/doxygen )" |
117 |
|
118 |
S="${WORKDIR}/${P%_*}" |
119 |
|
120 |
src_prepare() { |
121 |
epatch "${FILESDIR}"/${P}-gnutls-pc.patch # bug 275850 |
122 |
epatch "${FILESDIR}"/${P}-gcc44.patch |
123 |
eautoreconf |
124 |
} |
125 |
|
126 |
src_configure() { |
127 |
econf LIBS="-lboost_thread -lboost_date_time" \ |
128 |
$(use_enable curl url) \ |
129 |
$(use_enable debug) \ |
130 |
$(use_enable gtk gui) \ |
131 |
$(use_enable ncurses cli) \ |
132 |
$(use_enable event-callback) \ |
133 |
$(use_enable session session-saving) \ |
134 |
$(use_enable test unittest) \ |
135 |
$(use_enable upnp) \ |
136 |
$(use_enable webinterface www) \ |
137 |
$(use_enable !minimal command-list) \ |
138 |
$(use_enable !minimal btg-config) \ |
139 |
--disable-dependency-tracking |
140 |
} |
141 |
|
142 |
src_install() { |
143 |
emake DESTDIR="${D}" install || die 'emake install failed' |
144 |
|
145 |
dodoc AUTHORS ChangeLog README TODO |
146 |
|
147 |
newinitd "${FILESDIR}/btgd-init" ${PN} |
148 |
newconfd "${FILESDIR}/btgd-confd" ${PN} |
149 |
|
150 |
use gtk && make_desktop_entry btgui "BTG GUI Client" btg "Network;P2P" |
151 |
} |
152 |
|
153 |
pkg_postinst() { |
154 |
enewgroup p2p |
155 |
enewuser p2p -1 -1 /home/p2p p2p |
156 |
|
157 |
echo |
158 |
elog "BTG needs a daemon.ini and client.ini. To create them run btg-config and" |
159 |
elog "put them in the home of the user running btg (/home/p2p/.btg by default)" |
160 |
echo |
161 |
} |