1 |
ssuominen 13/02/26 17:44:25 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: transmission-2.77.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
|
8 |
(Portage version: 2.2.0_alpha163/cvs/Linux x86_64, signed Manifest commit with key 4868F14D) |
9 |
|
10 |
Revision Changes Path |
11 |
1.225 net-p2p/transmission/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/transmission/ChangeLog?rev=1.225&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/transmission/ChangeLog?rev=1.225&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/transmission/ChangeLog?r1=1.224&r2=1.225 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-p2p/transmission/ChangeLog,v |
20 |
retrieving revision 1.224 |
21 |
retrieving revision 1.225 |
22 |
diff -u -r1.224 -r1.225 |
23 |
--- ChangeLog 16 Feb 2013 12:59:55 -0000 1.224 |
24 |
+++ ChangeLog 26 Feb 2013 17:44:24 -0000 1.225 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for net-p2p/transmission |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/transmission/ChangeLog,v 1.224 2013/02/16 12:59:55 pacho Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/transmission/ChangeLog,v 1.225 2013/02/26 17:44:24 ssuominen Exp $ |
30 |
+ |
31 |
+*transmission-2.77 (26 Feb 2013) |
32 |
+ |
33 |
+ 26 Feb 2013; Samuli Suominen <ssuominen@g.o> |
34 |
+ +transmission-2.77.ebuild: |
35 |
+ Version bump. |
36 |
|
37 |
16 Feb 2013; Pacho Ramos <pacho@g.o> metadata.xml: |
38 |
Cleanup due bug #96436 |
39 |
|
40 |
|
41 |
|
42 |
1.1 net-p2p/transmission/transmission-2.77.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/transmission/transmission-2.77.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/transmission/transmission-2.77.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: transmission-2.77.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2013 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/net-p2p/transmission/transmission-2.77.ebuild,v 1.1 2013/02/26 17:44:25 ssuominen Exp $ |
52 |
|
53 |
EAPI=5 |
54 |
inherit autotools eutils fdo-mime gnome2-utils qt4-r2 user |
55 |
|
56 |
DESCRIPTION="A Fast, Easy and Free BitTorrent client" |
57 |
HOMEPAGE="http://www.transmissionbt.com/" |
58 |
SRC_URI="http://download.transmissionbt.com/${PN}/files/${P}.tar.xz" |
59 |
|
60 |
LICENSE="GPL-2 MIT" |
61 |
SLOT=0 |
62 |
IUSE="ayatana gtk lightweight qt4 xfs" |
63 |
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux" |
64 |
|
65 |
RDEPEND=" |
66 |
>=dev-libs/libevent-2.0.10:= |
67 |
dev-libs/openssl:0= |
68 |
net-libs/libnatpmp:= |
69 |
>=net-libs/miniupnpc-1.6.20120509:= |
70 |
>=net-misc/curl-7.16.3:=[ssl] |
71 |
sys-libs/zlib:= |
72 |
gtk? ( |
73 |
>=dev-libs/dbus-glib-0.100:= |
74 |
>=dev-libs/glib-2.28:2= |
75 |
>=x11-libs/gtk+-3.4:3= |
76 |
ayatana? ( >=dev-libs/libappindicator-0.4.90:3= ) |
77 |
) |
78 |
qt4? ( |
79 |
x11-libs/qt-core:4= |
80 |
x11-libs/qt-gui:4=[dbus] |
81 |
)" |
82 |
|
83 |
DEPEND="${RDEPEND} |
84 |
dev-libs/glib:2 |
85 |
dev-util/intltool |
86 |
sys-devel/gettext |
87 |
virtual/os-headers |
88 |
virtual/pkgconfig |
89 |
xfs? ( sys-fs/xfsprogs )" |
90 |
|
91 |
REQUIRED_USE="ayatana? ( gtk )" |
92 |
|
93 |
DOCS="AUTHORS NEWS qt/README.txt" |
94 |
|
95 |
pkg_setup() { |
96 |
enewgroup ${PN} |
97 |
enewuser ${PN} -1 -1 -1 ${PN} |
98 |
} |
99 |
|
100 |
src_prepare() { |
101 |
sed -i -e '/CFLAGS/s:-ggdb3::' configure.ac |
102 |
use ayatana || sed -i -e '/^LIBAPPINDICATOR_MINIMUM/s:=.*:=9999:' configure.ac |
103 |
|
104 |
# http://trac.transmissionbt.com/ticket/4324 |
105 |
sed -i -e 's|noinst\(_PROGRAMS = $(TESTS)\)|check\1|' lib${PN}/Makefile.am || die |
106 |
|
107 |
eautoreconf |
108 |
} |
109 |
|
110 |
src_configure() { |
111 |
export ac_cv_header_xfs_xfs_h=$(usex xfs) |
112 |
|
113 |
econf \ |
114 |
--enable-external-natpmp \ |
115 |
$(use_enable lightweight) \ |
116 |
$(use_with gtk) |
117 |
|
118 |
if use qt4; then |
119 |
pushd qt >/dev/null |
120 |
eqmake4 qtr.pro |
121 |
popd >/dev/null |
122 |
fi |
123 |
} |
124 |
|
125 |
src_compile() { |
126 |
emake |
127 |
|
128 |
if use qt4; then |
129 |
pushd qt >/dev/null |
130 |
emake |
131 |
lrelease translations/*.ts |
132 |
popd >/dev/null |
133 |
fi |
134 |
} |
135 |
|
136 |
src_install() { |
137 |
default |
138 |
|
139 |
rm -f "${ED}"/usr/share/${PN}/web/LICENSE |
140 |
|
141 |
newinitd "${FILESDIR}"/${PN}-daemon.initd.8 ${PN}-daemon |
142 |
newconfd "${FILESDIR}"/${PN}-daemon.confd.3 ${PN}-daemon |
143 |
|
144 |
keepdir /var/{${PN}/{config,downloads},log/${PN}} |
145 |
fowners -R ${PN}:${PN} /var/{${PN}/{,config,downloads},log/${PN}} |
146 |
|
147 |
if use qt4; then |
148 |
pushd qt >/dev/null |
149 |
emake INSTALL_ROOT="${ED}"/usr install |
150 |
|
151 |
domenu ${PN}-qt.desktop |
152 |
|
153 |
local res |
154 |
for res in 16 22 24 32 48; do |
155 |
newicon -s ${res} icons/hicolor_apps_${res}x${res}_${PN}.png ${PN}-qt.png |
156 |
done |
157 |
|
158 |
insinto /usr/share/qt4/translations |
159 |
doins translations/*.qm |
160 |
popd >/dev/null |
161 |
fi |
162 |
} |
163 |
|
164 |
pkg_preinst() { |
165 |
gnome2_icon_savelist |
166 |
} |
167 |
|
168 |
pkg_postinst() { |
169 |
fdo-mime_desktop_database_update |
170 |
gnome2_icon_cache_update |
171 |
|
172 |
elog "If you use ${PN}-daemon, please, set 'rpc-username' and" |
173 |
elog "'rpc-password' (in plain text, ${PN}-daemon will hash it on" |
174 |
elog "start) in settings.json file located at /var/${PN}/config or" |
175 |
elog "any other appropriate config directory." |
176 |
elog |
177 |
elog "Since µTP is enabled by default, ${PN} needs large kernel buffers for" |
178 |
elog "the UDP socket. You can append following lines into /etc/sysctl.conf:" |
179 |
elog " net.core.rmem_max = 4194304" |
180 |
elog " net.core.wmem_max = 1048576" |
181 |
elog "and run sysctl -p" |
182 |
} |
183 |
|
184 |
pkg_postrm() { |
185 |
fdo-mime_desktop_database_update |
186 |
gnome2_icon_cache_update |
187 |
} |