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/transmission: ChangeLog transmission-1.76.ebuild
Date: Mon, 26 Oct 2009 11:58:27
Message-Id: E1N2ODQ-0003vT-Cm@stork.gentoo.org
1 patrick 09/10/26 11:58:24
2
3 Modified: ChangeLog
4 Added: transmission-1.76.ebuild
5 Log:
6 Bump, closes #290496
7 (Portage version: 2.2_rc46/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.99 net-p2p/transmission/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/transmission/ChangeLog?rev=1.99&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/transmission/ChangeLog?rev=1.99&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/transmission/ChangeLog?r1=1.98&r2=1.99
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-p2p/transmission/ChangeLog,v
19 retrieving revision 1.98
20 retrieving revision 1.99
21 diff -u -r1.98 -r1.99
22 --- ChangeLog 24 Oct 2009 14:31:42 -0000 1.98
23 +++ ChangeLog 26 Oct 2009 11:58:23 -0000 1.99
24 @@ -1,6 +1,11 @@
25 # ChangeLog for net-p2p/transmission
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/transmission/ChangeLog,v 1.98 2009/10/24 14:31:42 nixnut Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/transmission/ChangeLog,v 1.99 2009/10/26 11:58:23 patrick Exp $
29 +
30 +*transmission-1.76 (26 Oct 2009)
31 +
32 + 26 Oct 2009; Patrick Lauer <patrick@g.o> +transmission-1.76.ebuild:
33 + Bump, closes #290496
34
35 24 Oct 2009; nixnut <nixnut@g.o> transmission-1.75.ebuild:
36 ppc stable #289629
37
38
39
40 1.1 net-p2p/transmission/transmission-1.76.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/transmission/transmission-1.76.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/transmission/transmission-1.76.ebuild?rev=1.1&content-type=text/plain
44
45 Index: transmission-1.76.ebuild
46 ===================================================================
47 # Copyright 1999-2009 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/net-p2p/transmission/transmission-1.76.ebuild,v 1.1 2009/10/26 11:58:23 patrick Exp $
50
51 EAPI=2
52 inherit autotools eutils fdo-mime gnome2-utils qt4
53
54 DESCRIPTION="A Fast, Easy and Free BitTorrent client"
55 HOMEPAGE="http://www.transmissionbt.com"
56 SRC_URI="http://download.${PN}bt.com/${PN}/files/${P}.tar.bz2"
57
58 LICENSE="MIT GPL-2"
59 SLOT="0"
60 KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
61 IUSE="+dht gtk libnotify qt4"
62
63 RDEPEND=">=dev-libs/libevent-1.4.11
64 <dev-libs/libevent-2
65 >=dev-libs/openssl-0.9.4
66 || ( >=net-misc/curl-7.16.3[ssl]
67 >=net-misc/curl-7.16.3[gnutls] )
68 gtk? ( >=dev-libs/glib-2.15.5:2
69 >=x11-libs/gtk+-2.12:2
70 >=dev-libs/dbus-glib-0.70
71 libnotify? ( >=x11-libs/libnotify-0.4.3 ) )
72 qt4? ( x11-libs/qt-gui:4 )"
73 DEPEND="${RDEPEND}
74 >=sys-devel/libtool-2.2
75 sys-devel/gettext
76 >=dev-util/intltool-0.40
77 dev-util/pkgconfig
78 sys-apps/sed"
79
80 src_prepare() {
81 sed -e 's:-g -O0::g' -e 's:-g -O3::g' -i configure.ac || die "sed failed"
82 sed -e \
83 's:$${TRANSMISSION_TOP}/third-party/libevent/.libs/libevent.a:-levent:' \
84 -i qt/qtr.pro || die "sed failed"
85 eautoreconf
86 }
87
88 src_configure() {
89 econf \
90 --disable-dependency-tracking \
91 $(use_enable dht) \
92 $(use_enable gtk) \
93 $(use_enable libnotify)
94
95 if use qt4; then
96 cd qt
97 eqmake4 qtr.pro
98 fi
99 }
100
101 src_compile() {
102 emake || die "emake failed"
103
104 if use qt4; then
105 cd qt
106 emake || die "emake failed"
107 fi
108 }
109
110 src_install() {
111 emake DESTDIR="${D}" install || die "emake install failed"
112
113 dodoc AUTHORS NEWS
114 rm -f "${D}"/usr/share/${PN}/web/LICENSE
115
116 newinitd "${FILESDIR}"/${PN}-daemon.initd.2 ${PN}-daemon
117 newconfd "${FILESDIR}"/${PN}-daemon.confd.1 ${PN}-daemon
118
119 if use qt4; then
120 cd qt
121 emake INSTALL_ROOT="${D}/usr" install || die "emake install failed"
122 make_desktop_entry qtr "Transmission Qt BitTorrent Client" ${PN} \
123 "Network;FileTransfer;P2P;Qt"
124 use gtk || doicon qt/icons/transmission.png
125 fi
126 }
127
128 pkg_preinst() {
129 gnome2_icon_savelist
130 }
131
132 pkg_postinst() {
133 fdo-mime_desktop_database_update
134 gnome2_icon_cache_update
135 }
136
137 pkg_postrm() {
138 fdo-mime_desktop_database_update
139 gnome2_icon_cache_update
140 }