Gentoo Archives: gentoo-commits

From: "Christoph Mende (angelos)" <angelos@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-p2p/btg: ChangeLog btg-0.9.6-r1.ebuild
Date: Wed, 28 Nov 2007 13:34:20
Message-Id: E1IxN3P-0007gd-DE@stork.gentoo.org
1 angelos 07/11/28 13:34:15
2
3 Modified: ChangeLog
4 Added: btg-0.9.6-r1.ebuild
5 Log:
6 Added make_desktop_entry for the gtk+ client and fixed the init script to work by default, thanks to Fabio Bonfante (Bug 200581)
7 (Portage version: 2.1.4_rc4)
8
9 Revision Changes Path
10 1.4 net-p2p/btg/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/btg/ChangeLog?rev=1.4&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/btg/ChangeLog?rev=1.4&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/btg/ChangeLog?r1=1.3&r2=1.4
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-p2p/btg/ChangeLog,v
19 retrieving revision 1.3
20 retrieving revision 1.4
21 diff -u -r1.3 -r1.4
22 --- ChangeLog 13 Nov 2007 16:36:26 -0000 1.3
23 +++ ChangeLog 28 Nov 2007 13:34:14 -0000 1.4
24 @@ -1,6 +1,13 @@
25 # ChangeLog for net-p2p/btg
26 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/btg/ChangeLog,v 1.3 2007/11/13 16:36:26 angelos Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/btg/ChangeLog,v 1.4 2007/11/28 13:34:14 angelos Exp $
29 +
30 +*btg-0.9.6-r1 (28 Nov 2007)
31 +
32 + 28 Nov 2007; Christoph Mende <angelos@g.o> files/btgd-confd,
33 + files/btgd-init, +btg-0.9.6-r1.ebuild:
34 + Added make_desktop_entry for the gtk+ client and fixed the init script to
35 + work by default, thanks to Fabio Bonfante (Bug 200581)
36
37 13 Nov 2007; Christoph Mende <angelos@g.o> btg-0.9.6.ebuild:
38 Stable on amd64
39
40
41
42 1.1 net-p2p/btg/btg-0.9.6-r1.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/btg/btg-0.9.6-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/btg/btg-0.9.6-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: btg-0.9.6-r1.ebuild
48 ===================================================================
49 # Copyright 1999-2007 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/net-p2p/btg/btg-0.9.6-r1.ebuild,v 1.1 2007/11/28 13:34:14 angelos Exp $
52
53 inherit eutils
54
55 DESCRIPTION="bittorrent client using rb_libtorrent"
56 HOMEPAGE="http://btg.berlios.de/"
57 SRC_URI="mirror://berlios/${PN}/${P}-p1.tar.gz"
58
59 LICENSE="GPL-2"
60 SLOT="0"
61 KEYWORDS="~amd64"
62 IUSE="debug doc event-callback gtk minimal ncurses session test upnp webinterface"
63
64 RDEPEND="dev-libs/boost
65 dev-libs/expat
66 dev-libs/libgcrypt
67 dev-libs/libgpg-error
68 dev-libs/libtasn1
69 dev-util/dialog
70 net-libs/gnutls
71 net-libs/rb_libtorrent
72 gtk? ( >=dev-cpp/gtkmm-2.4
73 x11-libs/pango )
74 webinterface? ( =dev-lang/php-5* )"
75 DEPEND="${RDEPEND}
76 >=dev-util/pkgconfig-0.21
77 doc? ( app-doc/doxygen )"
78
79 S="${WORKDIR}/${PN}-${PV/_rc*}"
80
81 pkg_setup() {
82 if ! built_with_use --missing true "dev-libs/boost" threads && \
83 ! built_with_use --missing true "dev-libs/boost" threadsonly ; then
84 echo
85 elog "Compile dev-libs/boost with USE=threads or USE=threadsonly"
86 elog "if you want threading support for btg"
87 echo
88 fi
89 }
90
91 src_compile() {
92 local myconf=""
93
94 if built_with_use --missing true "dev-libs/boost" threads || \
95 built_with_use --missing true "dev-libs/boost" threadsonly ; then
96 myconf="--with-boost-iostreams=boost_iostreams-mt \
97 --with-boost-filesystem=boost_filesystem-mt \
98 --with-boost-thread=boost_thread-mt \
99 --with-boost-date-time=boost_date_time-mt \
100 --with-boost-program_options=boost_program_options-mt"
101 fi
102
103 econf \
104 $(use_enable debug) \
105 $(use_enable gtk gui) \
106 $(use_enable ncurses cli) \
107 $(use_enable upnp) \
108 $(use_enable event-callback) \
109 $(use_enable session session-saving) \
110 $(use_enable test unittest) \
111 $(use_enable webinterface www) \
112 $(use_enable !minimal command-list) \
113 ${myconf} \
114 --disable-dependency-tracking \
115 || die
116
117 emake || die
118 }
119
120 src_install() {
121 emake DESTDIR="${D}" install || die
122
123 dodoc AUTHORS ChangeLog README TODO
124
125 newinitd "${FILESDIR}/btgd-init" ${PN}
126 newconfd "${FILESDIR}/btgd-confd" ${PN}
127
128 use gtk && make_desktop_entry btgui "BTG GUI Client" btg "Network;P2P"
129 }
130
131 pkg_postinst() {
132 enewgroup p2p
133 enewuser p2p -1 -1 /home/p2p p2p
134
135 echo
136 elog "BTG needs a daemon.ini and client.ini, to create them run btg-config"
137 elog "and put them in the home of the user running btg (/home/p2p/.btg by default)"
138 echo
139 }
140
141
142
143 --
144 gentoo-commits@g.o mailing list