1 |
commit: e69647a49dd85f0877a05531cb57a9fc1ecb2ad8 |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Oct 9 15:18:38 2016 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 9 15:19:26 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e69647a4 |
7 |
|
8 |
www-plugins/gnash: Drop old |
9 |
|
10 |
Package-Manager: portage-2.3.1 |
11 |
|
12 |
www-plugins/gnash/Manifest | 1 - |
13 |
www-plugins/gnash/gnash-0.8.10_p20150316.ebuild | 294 ------------------------ |
14 |
2 files changed, 295 deletions(-) |
15 |
|
16 |
diff --git a/www-plugins/gnash/Manifest b/www-plugins/gnash/Manifest |
17 |
index 9b3b825..aa256f5 100644 |
18 |
--- a/www-plugins/gnash/Manifest |
19 |
+++ b/www-plugins/gnash/Manifest |
20 |
@@ -1,3 +1,2 @@ |
21 |
DIST gnash-0.8.10_p20131019.tar.xz 3868156 SHA256 93e5c82c9f5e326b8ddba3cb4c4178fb9428e92987b3b8e6ef59b201ef37782a SHA512 79b4e86275b6b11774212315ea3b4a6192177d297d4ebe93c39d69734dbaa4c893845dc606e724e03f6409f0695794ade0f2544e30cf2d291a42d0cf3d674dcc WHIRLPOOL fb9a9b9f00c10af75c595147ce3d9bdf18f5cfde907fa69c9d0e28a278ff4fa835eba4d1e19ea72ac65e6e0f769da30f5790c652e2df723c36db6e3ef4436851 |
22 |
-DIST gnash-0.8.10_p20150316.tar.xz 4031684 SHA256 0c380f7b6756ad8a4d5ca152933f9a51278e00d51b3677812c69d65a166e3a6c SHA512 3f166de91a2f9f538ef76d21f7e9c2c240a776855cfe00c4e39fd6c0b6718f450ffecac61f38a6e534c6eb3f5b747c1d800f5bc7712ece3dcf14be1ee50384d0 WHIRLPOOL 6dd3886b9bcca56fbf63442f25d7af9184188702a167d3962f97fcf0496a99898033ee52843f9bc53b73236b96e4995b882de9685898820cf0f6b27dccb881c9 |
23 |
DIST gnash-0.8.10_p20160329.tar.xz 4079572 SHA256 851ccba805a90a2e21ced841ae70cf55c0ba53c95f2b8b9bc729385a5b49bbb7 SHA512 e8956d6277dde29a22bfe5af4279b40f80dad5659961d042e0bb57505b084f3ef1b489cf6fdf06730a8f3e2f9fdb737d7b1bc015a0255a80b167b98e686aa245 WHIRLPOOL 58734701ff4d9a6aa9536a1fa7feb75a8357775fb11857ecaf1a678ac7eca590a00b8af76f3723e8bbdf03b1fdf01cb193d870d505b8cc5767fdaf29fff1d7ee |
24 |
|
25 |
diff --git a/www-plugins/gnash/gnash-0.8.10_p20150316.ebuild b/www-plugins/gnash/gnash-0.8.10_p20150316.ebuild |
26 |
deleted file mode 100644 |
27 |
index dd44dbe..00000000 |
28 |
--- a/www-plugins/gnash/gnash-0.8.10_p20150316.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,294 +0,0 @@ |
31 |
-# Copyright 1999-2016 Gentoo Foundation |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
-# $Id$ |
34 |
- |
35 |
-EAPI=5 |
36 |
-CMAKE_REQUIRED="never" |
37 |
-KDE_REQUIRED="optional" |
38 |
-AT_M4DIR="cygnal" |
39 |
-# won't build with python-3, bug #392969 |
40 |
-PYTHON_COMPAT=( python2_7 ) |
41 |
- |
42 |
-inherit autotools eutils kde4-base multilib nsplugins python-any-r1 flag-o-matic |
43 |
- |
44 |
-DESCRIPTION="GNU Flash movie player that supports many SWF v7,8,9 features" |
45 |
-HOMEPAGE="https://www.gnu.org/software/gnash/" |
46 |
- |
47 |
-if [[ ${PV} = 9999* ]]; then |
48 |
- SRC_URI="" |
49 |
- EGIT_REPO_URI="git://git.savannah.gnu.org/gnash.git" |
50 |
- inherit git-2 |
51 |
-else |
52 |
-# Release tarball is b0rked, upstream #35612 |
53 |
-# SRC_URI="mirror://gnu/${PN}/${PV}/${P}.tar.bz2" |
54 |
- SRC_URI="mirror://gentoo/${P}.tar.xz" |
55 |
-fi |
56 |
- |
57 |
-LICENSE="GPL-3" |
58 |
-SLOT="0" |
59 |
-KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" |
60 |
-IUSE="X +agg cairo cygnal dbus directfb doc dump egl fbcon +ffmpeg gconf gnome gstreamer gtk harden jemalloc kde lirc mysql +nls nsplugin opengl openvg python sdl +sdl-sound ssh ssl test vaapi" |
61 |
-REQUIRED_USE="dump? ( agg ffmpeg ) |
62 |
- fbcon? ( agg ) |
63 |
- nsplugin? ( gtk ) |
64 |
- openvg? ( egl ) |
65 |
- python? ( gtk ) |
66 |
- vaapi? ( agg ffmpeg ) |
67 |
- || ( agg cairo opengl openvg ) |
68 |
- || ( dump fbcon gtk kde sdl ) |
69 |
- " |
70 |
- |
71 |
-RDEPEND=">=dev-libs/boost-1.41.0:0= |
72 |
- dev-libs/expat |
73 |
- dev-libs/libxml2 |
74 |
- virtual/jpeg:0 |
75 |
- media-libs/libpng:0 |
76 |
- net-misc/curl |
77 |
- x11-libs/libX11 |
78 |
- x11-libs/libXi |
79 |
- x11-libs/libXmu |
80 |
- x11-libs/libXt |
81 |
- media-libs/giflib |
82 |
- x11-proto/xproto |
83 |
- agg? ( x11-libs/agg ) |
84 |
- cairo? ( x11-libs/cairo ) |
85 |
- directfb? ( |
86 |
- dev-libs/DirectFB |
87 |
- ) |
88 |
- doc? ( |
89 |
- >=app-text/docbook2X-0.8.8 |
90 |
- app-text/docbook-sgml-utils |
91 |
- ) |
92 |
- egl? ( |
93 |
- media-libs/mesa[egl] |
94 |
- ) |
95 |
- fbcon? ( |
96 |
- x11-libs/tslib |
97 |
- ) |
98 |
- ffmpeg? ( || ( |
99 |
- !vaapi? ( media-video/libav ) |
100 |
- media-video/ffmpeg[vaapi?] |
101 |
- ) ) |
102 |
- gconf? ( |
103 |
- gnome-base/gconf |
104 |
- ) |
105 |
- gstreamer? ( |
106 |
- media-plugins/gst-plugins-ffmpeg:* |
107 |
- media-plugins/gst-plugins-mad:* |
108 |
- media-plugins/gst-plugins-meta:* |
109 |
- ) |
110 |
- gtk? ( |
111 |
- x11-libs/gtk+:2 |
112 |
- python? ( dev-python/pygtk:2 ) |
113 |
- ) |
114 |
- jemalloc? ( dev-libs/jemalloc ) |
115 |
- kde? ( |
116 |
- $(add_kdebase_dep kdebase-startkde) |
117 |
- dev-qt/qtwebkit:4 |
118 |
- ) |
119 |
- opengl? ( |
120 |
- virtual/glu |
121 |
- virtual/opengl |
122 |
- gtk? ( x11-libs/gtkglext ) |
123 |
- ) |
124 |
- openvg? ( |
125 |
- media-libs/mesa[openvg] |
126 |
- ) |
127 |
- sdl? ( media-libs/libsdl[X] ) |
128 |
- sdl-sound? ( media-libs/libsdl ) |
129 |
- media-libs/speex[ogg] |
130 |
- sys-libs/zlib |
131 |
- >=sys-devel/libtool-2.2 |
132 |
- mysql? ( virtual/mysql ) |
133 |
- lirc? ( app-misc/lirc ) |
134 |
- dbus? ( sys-apps/dbus ) |
135 |
- ssh? ( >=net-libs/libssh-0.4[server] ) |
136 |
- ssl? ( dev-libs/openssl:0 ) |
137 |
- vaapi? ( x11-libs/libva[opengl?] ) |
138 |
- " |
139 |
-DEPEND="${RDEPEND} |
140 |
- virtual/pkgconfig |
141 |
- nls? ( sys-devel/gettext ) |
142 |
- gnome? ( app-text/rarian ) |
143 |
- nsplugin? ( net-misc/npapi-sdk ) |
144 |
- test? ( dev-util/dejagnu )" |
145 |
-# Tests hang with sandbox, bug #321017 |
146 |
-RESTRICT="test" |
147 |
- |
148 |
-pkg_setup() { |
149 |
- kde4-base_pkg_setup |
150 |
- python-any-r1_pkg_setup |
151 |
- |
152 |
- if use !ffmpeg && use !gstreamer; then |
153 |
- ewarn "You are trying to build Gnash without choosing a media handler." |
154 |
- ewarn "Sound and video playback will not work." |
155 |
- fi |
156 |
-} |
157 |
- |
158 |
-src_unpack() { |
159 |
- default |
160 |
- # rename git snapshot directory to what portage expects |
161 |
- mv ${PN}-*/ ${P} || die |
162 |
-} |
163 |
- |
164 |
-src_prepare() { |
165 |
- # Fix paths for klash, bug #339610 |
166 |
- epatch "${FILESDIR}"/${PN}-0.8.9-klash.patch |
167 |
- |
168 |
- # Use external dejagnu for tests, bug #321017 |
169 |
- epatch "${FILESDIR}"/${PN}-0.8.9-external-dejagnu.patch |
170 |
- |
171 |
- # Fix building on ppc64, bug #342535 |
172 |
- use ppc64 && append-flags -mminimal-toc |
173 |
- |
174 |
- # Fix kde multilib library path, bug #391283 |
175 |
- epatch "${FILESDIR}"/${PN}-0.8.9-kde4-libdir.patch |
176 |
- |
177 |
- # Fix libamf includes |
178 |
- epatch "${FILESDIR}"/${PN}-0.8.10-amf-include.patch |
179 |
- |
180 |
- # Fix new adjacent_tokens_only() in >=boost-1.59 (bug 579142) |
181 |
- # See https://savannah.gnu.org/bugs/?46148 |
182 |
- epatch "${FILESDIR}"/${P}-boost-1.60.patch |
183 |
- |
184 |
- # Fix vaapi build, bug #546584 |
185 |
- # See https://savannah.gnu.org/bugs/?44636 |
186 |
- epatch "${FILESDIR}"/${PN}-0.8.10-libva-1.6_0000.patch |
187 |
- epatch "${FILESDIR}"/${PN}-0.8.10-libva-1.6_0001.patch |
188 |
- |
189 |
- eautoreconf |
190 |
-} |
191 |
-src_configure() { |
192 |
- local device gui input media myconf myext renderers |
193 |
- |
194 |
- # Set nsplugin install directory. |
195 |
- use nsplugin && myconf="${myconf} --with-npapi-plugindir=/usr/$(get_libdir)/gnash/npapi/" |
196 |
- |
197 |
- # Set hardware acceleration. |
198 |
- use X && device+=",x11" |
199 |
- use directfb && device+=",directfb" |
200 |
- use egl && device+=",egl" |
201 |
- use fbcon && device+=",rawfb" |
202 |
- use vaapi && device+=",vaapi" |
203 |
- [[ "${device}x" == "x" ]] && device+=",none" |
204 |
- |
205 |
- # Set rendering engine. |
206 |
- use agg && renderers+=",agg" |
207 |
- use cairo && renderers+=",cairo" |
208 |
- use opengl && renderers+=",opengl" |
209 |
- use openvg && renderers+=",openvg" |
210 |
- |
211 |
- # Set kde and konqueror plugin directories. |
212 |
- if use kde; then |
213 |
- myconf="${myconf} |
214 |
- --with-plugins-install=system |
215 |
- --with-kde4-incl=${KDEDIR}/include |
216 |
- --with-kde4-configdir=${KDEDIR}/share/config |
217 |
- --with-kde4-prefix=${KDEDIR} |
218 |
- --with-kde4-lib=${KDEDIR}/$(get_libdir) |
219 |
- --with-kde-appsdatadir=${KDEDIR}/share/apps/klash |
220 |
- --with-kde4-servicesdir=${KDEDIR}/share/kde4/services |
221 |
- --with-kde4-plugindir=${KDEDIR}/$(get_libdir)/kde4" |
222 |
- fi |
223 |
- |
224 |
- # Set media handler. |
225 |
- use ffmpeg || use gstreamer || media+=",none" |
226 |
- use ffmpeg && media+=",ffmpeg" |
227 |
- use gstreamer && media+=",gst" |
228 |
- |
229 |
- # Set gui. |
230 |
- use dump && gui="${gui},dump" |
231 |
- use fbcon && gui="${gui},fb" |
232 |
- use gtk && gui=",gtk" |
233 |
- use kde && gui="${gui},kde4" |
234 |
- use sdl && gui="${gui},sdl" |
235 |
- |
236 |
- if use sdl-sound; then |
237 |
- myconf="${myconf} --enable-sound=sdl" |
238 |
- else |
239 |
- myconf="${myconf} --enable-sound=none" |
240 |
- fi |
241 |
- |
242 |
- # Set extensions |
243 |
- use mysql && myext=",mysql" |
244 |
- use gtk && myext="${myext},gtk" |
245 |
- use lirc && myext="${myext},lirc" |
246 |
- use dbus && myext="${myext},dbus" |
247 |
- |
248 |
- # Strip extra comma from gui, myext, hwaccel and renderers. |
249 |
- device=$( echo $device | sed -e 's/,//' ) |
250 |
- gui=$( echo $gui | sed -e 's/,//' ) |
251 |
- myext=$( echo $myext | sed -e 's/,//' ) |
252 |
- renderers=$( echo $renderers | sed -e 's/,//' ) |
253 |
- media=$( echo $media | sed -e 's/,//' ) |
254 |
- |
255 |
- econf \ |
256 |
- --docdir=/usr/share/doc/${PF} \ |
257 |
- --disable-dependency-tracking \ |
258 |
- --disable-kparts3 \ |
259 |
- $(use_enable cygnal) \ |
260 |
- $(use_enable cygnal cgibins) \ |
261 |
- $(use_enable doc docbook) \ |
262 |
- $(use_enable gnome ghelp) \ |
263 |
- $(use_enable harden) \ |
264 |
- $(use_enable jemalloc) \ |
265 |
- $(use_enable kde kparts4) \ |
266 |
- $(use_enable nls) \ |
267 |
- $(use_enable nsplugin npapi) \ |
268 |
- $(use_enable python) \ |
269 |
- $(use_enable ssh) \ |
270 |
- $(use_enable ssl) \ |
271 |
- $(use_enable test testsuite) \ |
272 |
- $(use_with gconf) \ |
273 |
- --enable-gui=${gui} \ |
274 |
- --enable-device=${device} \ |
275 |
- --enable-extensions=${myext} \ |
276 |
- --enable-renderer=${renderers} \ |
277 |
- --enable-media=${media} \ |
278 |
- ${myconf} |
279 |
-} |
280 |
-src_test() { |
281 |
- local log=testsuite-results.txt |
282 |
- cd testsuite |
283 |
- emake check || die "make check failed" |
284 |
- ./anaylse-results.sh > $log || die "results analyze failed" |
285 |
- cat $log |
286 |
-} |
287 |
-src_install() { |
288 |
- emake DESTDIR="${D}" install || die "emake install failed" |
289 |
- |
290 |
- # Install nsplugin in directory set by --with-npapi-plugindir. |
291 |
- if use nsplugin; then |
292 |
- emake DESTDIR="${D}" install-plugin || die "install plugins failed" |
293 |
- fi |
294 |
- |
295 |
- # Install kde konqueror plugin. |
296 |
- if use kde; then |
297 |
- pushd "${S}/plugin/klash4" >& /dev/null || die |
298 |
- emake DESTDIR="${D}" install-plugin || die "install kde plugins failed" |
299 |
- popd >& /dev/null |
300 |
- fi |
301 |
- # Create a symlink in /usr/$(get_libdir)/nsbrowser/plugins to the nsplugin install directory. |
302 |
- use nsplugin && inst_plugin /usr/$(get_libdir)/gnash/npapi/libgnashplugin.so |
303 |
- |
304 |
- # Remove eglinfo, bug #463654 |
305 |
- if use egl; then |
306 |
- rm -f "${D}"/usr/bin/eglinfo || die |
307 |
- fi |
308 |
- |
309 |
- dodoc AUTHORS ChangeLog NEWS README || die "dodoc failed" |
310 |
-} |
311 |
-pkg_postinst() { |
312 |
- if use !gnome || use !gstreamer && use !ffmpeg ; then |
313 |
- ewarn "" |
314 |
- ewarn "Gnash was built without a media handler and or http handler !" |
315 |
- ewarn "" |
316 |
- ewarn "If you want Gnash to support video then you will need to" |
317 |
- ewarn "rebuild Gnash with either the ffmpeg or gstreamer and gnome use flags set." |
318 |
- ewarn "" |
319 |
- fi |
320 |
- ewarn "${PN} is still in heavy development" |
321 |
- ewarn "Please first report bugs on upstream gnashdevs and deal with them" |
322 |
- ewarn "And then report a Gentoo bug to the maintainer" |
323 |
- use kde && kde4-base_pkg_postinst |
324 |
-} |