summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2009-04-10 20:58:10 +0000
committerUlrich Müller <ulm@gentoo.org>2009-04-10 20:58:10 +0000
commit0a1395fb626bcdafac4c3526743d343fd84db5cd (patch)
tree33cf28bfa65b0617268fb71ed6969a324eaa619f /www-plugins
parentRe-add ~sparc keyword, bug #253541 (diff)
downloadhistorical-0a1395fb626bcdafac4c3526743d343fd84db5cd.tar.gz
historical-0a1395fb626bcdafac4c3526743d343fd84db5cd.tar.bz2
historical-0a1395fb626bcdafac4c3526743d343fd84db5cd.zip
Package moved from net-www to www-plugins, bug 265569.
Package-Manager: portage-2.2_rc28/cvs/Linux i686
Diffstat (limited to 'www-plugins')
-rw-r--r--www-plugins/gnash/ChangeLog329
-rw-r--r--www-plugins/gnash/Manifest15
-rw-r--r--www-plugins/gnash/files/gnash-0.8.3-boost-dynamic-link.patch31
-rw-r--r--www-plugins/gnash/gnash-0.8.4.ebuild265
-rw-r--r--www-plugins/gnash/metadata.xml13
5 files changed, 653 insertions, 0 deletions
diff --git a/www-plugins/gnash/ChangeLog b/www-plugins/gnash/ChangeLog
new file mode 100644
index 000000000000..2d87acd84577
--- /dev/null
+++ b/www-plugins/gnash/ChangeLog
@@ -0,0 +1,329 @@
+# ChangeLog for www-plugins/gnash
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-plugins/gnash/ChangeLog,v 1.1 2009/04/10 20:58:09 ulm Exp $
+
+ 10 Apr 2009; Ulrich Mueller <ulm@gentoo.org>
+ +files/gnash-0.8.3-boost-dynamic-link.patch, +metadata.xml,
+ +gnash-0.8.4.ebuild:
+ Package moved from net-www to www-plugins, bug 265569. Remove unused patch
+ file.
+
+ 06 Apr 2009; Friedrich Oslage <bluebird@gentoo.org> gnash-0.8.4.ebuild:
+ Add ~sparc keyword, bug #229427
+
+ 23 Mar 2009; Peter Alfredsen <loki_val@gentoo.org> metadata.xml:
+ Not using this anymore.
+
+ 13 Dec 2008; Peter Alfredsen <loki_val@gentoo.org> -gnash-0.8.1-r1.ebuild,
+ -gnash-0.8.3.ebuild, -gnash-9999.ebuild:
+ Dropped old ebuilds per ssuominen's request on -dev ml, since they do not
+ build with next stable ffmpeg.
+
+ 20 Oct 2008; Peter Alfredsen <loki_val@gentoo.org> gnash-0.8.4.ebuild:
+ Fixup mysterious sed failure.
+
+ 20 Oct 2008; Peter Alfredsen <loki_val@gentoo.org> gnash-0.8.4.ebuild:
+ Add giflib as a dep. Bug 242840.
+
+ 19 Oct 2008; Peter Alfredsen <loki_val@gentoo.org> gnash-0.8.4.ebuild:
+ Fix compilation with =sys-devel/libtool-1*.
+
+*gnash-0.8.4 (19 Oct 2008)
+
+ 19 Oct 2008; Peter Alfredsen <loki_val@gentoo.org> gnash-0.8.3.ebuild,
+ +gnash-0.8.4.ebuild:
+ Fix bug 242656 by restricting 0.8.3 to ffmpeg 20080326. Bump to 0.8.4, bug
+ 241874, thanks to Mounir Lamouri. This version works much better than
+ 0.8.3, but tests fail to compile.
+
+ 12 Oct 2008; Friedrich Oslage <bluebird@gentoo.org> gnash-0.8.3.ebuild:
+ Drop ~sparc keyword, until bug #240470 is fixed
+
+ 16 Sep 2008; Friedrich Oslage <bluebird@gentoo.org> gnash-0.8.3.ebuild:
+ Add ~sparc keyword, bug #229427
+
+ 01 Sep 2008; Peter Alfredsen <loki_val@gentoo.org>
+ files/gnash-0.8.3-boost-dynamic-link.patch:
+ Update dynamic link patch to always link dynamic, bug 230287
+
+ 23 Aug 2008; Doug Goldstein <cardoe@gentoo.org> metadata.xml:
+ add GLEP 56 USE flag desc from use.local.desc
+
+ 08 Aug 2008; Stephanie Lockwood-Childs <wormo@gentoo.org>
+ gnash-0.8.1-r1.ebuild:
+ Restrict kde & qt dependencies to version 3 (bug #213291)
+
+ 28 Jun 2008; Peter Alfredsen <loki_val@gentoo.org>
+ +files/gnash-0.8.3-boost-dynamic-link.patch,
+ +files/gnash-0.8.3-libtool-2.2.patch, gnash-0.8.3.ebuild:
+ Fix a compilation problem on amd64, bug #229453.
+
+*gnash-0.8.3 (25 Jun 2008)
+
+ 25 Jun 2008; Peter Alfredsen <loki_val@gentoo.org> metadata.xml,
+ +gnash-0.8.3.ebuild:
+ Bump. Fixes bugs 212943, 213167, 218105 and 226099. Added tests, cleaned
+ up ebuild.
+
+ 14 Jun 2008; Jeroen Roovers <jer@gentoo.org> gnash-0.8.1-r1.ebuild:
+ Marked ~hppa too.
+
+ 19 Jan 2008; Stefan Schweizer <genstef@gentoo.org>
+ -files/gnash-0.8.0-ffmpeg.patch, -gnash-0.8.0.ebuild, -gnash-0.8.1.ebuild,
+ gnash-0.8.1-r1.ebuild:
+ remove old, dont offer fltk because we do not have fltk2, bug 205408
+
+*gnash-0.8.1-r1 (12 Jan 2008)
+
+ 12 Jan 2008; Mike Frysinger <vapier@gentoo.org> +gnash-0.8.1-r1.ebuild:
+ Add support for more USE flags and let the ebuild select between competing
+ features rather than aborting #200759.
+
+ 21 Nov 2007; Stefan Schweizer <genstef@gentoo.org> gnash-9999.ebuild:
+ change cvs ebuild to a stub to point to the cvs ebuild overlay made by
+ Harley Peters <harley@thepetersclan.com> in bug 187444
+
+*gnash-0.8.1 (21 Nov 2007)
+
+ 21 Nov 2007; Stefan Schweizer <genstef@gentoo.org> +gnash-0.8.1.ebuild:
+ Version bump thanks to many contributions in bug 190753
+
+ 30 Aug 2007; Stefan Schweizer <genstef@gentoo.org> gnash-9999.ebuild:
+ add depend, bug 187723 thanks Michael Zanetti <michael_zanetti@gmx.net>
+
+ 23 Jul 2007; Samuli Suominen <drac@gentoo.org>
+ +files/gnash-0.8.0-ffmpeg.patch, gnash-0.8.0.ebuild:
+ Fix building with --as-needed and swscaler enabled ffmpeg-20070616-r1 for
+ bug 183714.
+
+ 22 Jul 2007; Donnie Berkholz <dberkholz@gentoo.org>; gnash-0.8.0.ebuild,
+ gnash-9999.ebuild:
+ Drop virtual/x11 references.
+
+ 10 Jul 2007; Stefan Schweizer <genstef@gentoo.org> -gnash-0.7.2.ebuild,
+ -gnash-0.7.2_p20099999.ebuild, gnash-0.8.0.ebuild, gnash-9999.ebuild:
+ Fix flawed media and sound setting logic thanks to Harley Peters
+ <harley@thepetersclan.com> in bug 184105 also attempt to fix as-needed bug
+ 183714
+
+*gnash-9999 (20 Jun 2007)
+
+ 20 Jun 2007; Hanno Boeck <hanno@gentoo.org> +gnash-9999.ebuild:
+ Add up-to-date cvs ebuild.
+
+ 12 Jun 2007; Christian Faulhammer <opfer@gentoo.org> gnash-0.8.0.ebuild:
+ fixed a typo and added two pairs of quotes
+
+*gnash-0.8.0 (11 Jun 2007)
+
+ 11 Jun 2007; Stefan Schweizer <genstef@gentoo.org> +gnash-0.8.0.ebuild:
+ version bump
+
+ 14 May 2007; Thilo Bangert <bangert@gentoo.org> metadata.xml:
+ add <herd>no-herd</herd>
+
+ 13 May 2007; Stefan Schweizer <genstef@gentoo.org>
+ gnash-0.7.2_p20099999.ebuild:
+ Add proper quoting thanks expose
+
+ 03 May 2007; Stefan Schweizer <genstef@gentoo.org>
+ gnash-0.7.2_p20099999.ebuild:
+ Add boost thread check thanks to Chi-Thanh Christopher Nguyen
+ <chithanh@cs.tu-berlin.de> in bug 176901
+
+ 16 Mar 2007; Gustavo Zacarias <gustavoz@gentoo.org> gnash-0.7.2.ebuild:
+ Keyworded ~sparc wrt #171038
+
+ 04 Mar 2007; <genstef@gentoo.org> gnash-0.7.2_p20099999.ebuild:
+ Add --disable-gnash thanks to g-ranquet <ranquet@imerir.com> in bug 169336
+
+ 23 Feb 2007; <genstef@gentoo.org> gnash-0.7.2_p20099999.ebuild:
+ Improve qt3 detection thanks to Sarath Menon <sarathmenon@gmail.com> in bug
+ 168112
+
+ 05 Feb 2007; <genstef@gentoo.org> gnash-0.7.2.ebuild,
+ gnash-0.7.2_p20099999.ebuild:
+ use mirror gnu
+
+ 31 Jan 2007; <genstef@gentoo.org> gnash-0.7.2_p20099999.ebuild:
+ KEYWORDS=-* -> KEYWORDS="", bug 160519
+
+ 26 Dec 2006; Timothy Redaelli <drizzt@gentoo.org> gnash-0.7.2.ebuild:
+ Add ~x86-fbsd keyword.
+
+ 30 Nov 2006; Stefan Schweizer <genstef@gentoo.org>
+ gnash-0.7.2_p20099999.ebuild:
+ Use ./autogen.sh instead of eautoreconf in the cvs ebuild because it works
+ more reliable, thanks to expose
+
+ 23 Nov 2006; Stefan Schweizer <genstef@gentoo.org> gnash-0.7.2.ebuild,
+ gnash-0.7.2_p20099999.ebuild:
+ Die on kde and agg thanks to Marco Clocchiatti <ziapannocchia@gmail.com> and
+ sanchan in bug 155888
+
+ 21 Nov 2006; Stefan Schweizer <genstef@gentoo.org> gnash-0.7.2.ebuild,
+ gnash-0.7.2_p20099999.ebuild:
+ Readd kde support on popular demand. Drizztbsd and others say that it is
+ working
+
+*gnash-0.7.2_p20099999 (18 Nov 2006)
+
+ 18 Nov 2006; Stefan Schweizer <genstef@gentoo.org>
+ -files/gnash-0.7.1_p20060704-opengl.diff,
+ -files/gnash-fix-cxxflags-rpath.patch, -gnash-0.7.1_p20060704.ebuild,
+ -gnash-0.7.1_p20060814.ebuild, -gnash-0.7.1_p20099999.ebuild,
+ +gnash-0.7.2_p20099999.ebuild:
+ Remove old ebuilds, add new cvs ebuild
+
+ 18 Nov 2006; Stefan Schweizer <genstef@gentoo.org>
+ files/digest-gnash-0.7.2, Manifest:
+ fix digest, bug 155603
+
+ 18 Nov 2006; Tony Vroon <chainsaw@gentoo.org> gnash-0.7.2.ebuild:
+ Add ~ppc keyword.
+
+*gnash-0.7.2 (17 Nov 2006)
+
+ 17 Nov 2006; Stefan Schweizer <genstef@gentoo.org> +gnash-0.7.2.ebuild:
+ version bump thanks go to Nihilus and the other gnash developers!
+
+ 08 Nov 2006; Stefan Schweizer <genstef@gentoo.org>
+ gnash-0.7.1_p20099999.ebuild:
+ Fix WANT_AUTOMAKE
+
+ 07 Nov 2006; Stefan Schweizer <genstef@gentoo.org>
+ gnash-0.7.1_p20099999.ebuild:
+ make cvs ebuild working again based on my prepared ebuild for 0.7.2
+
+ 07 Nov 2006; Stefan Schweizer <genstef@gentoo.org>
+ gnash-0.7.1_p20099999.ebuild:
+ make cvs ebuild working again based on my prepared ebuild for 0.7.2
+
+ 20 Oct 2006; Stefan Schweizer <genstef@gentoo.org>
+ gnash-0.7.1_p20099999.ebuild:
+ Fix gnash cvs ebuild thanks to Hal Engel <hvengel@astound.net> in bug 151895
+
+ 07 Oct 2006; Stefan Schweizer <genstef@gentoo.org>
+ gnash-0.7.1_p20099999.ebuild:
+ Add DEPEND on boost thanks to Dennis Brendel <buddabrod@gmail.com>, Daniel
+ Herzog <expose@luftgetrock.net> and Gustavo Michels
+ <gustavo.michels@gmail.com>
+
+ 03 Oct 2006; Stefan Schweizer <genstef@gentoo.org>
+ gnash-0.7.1_p20099999.ebuild:
+ Do not use autodetect arch, thanks Nihilus and expose in #gnash
+
+*gnash-0.7.1_p20099999 (01 Sep 2006)
+
+ 01 Sep 2006; Stefan Schweizer <genstef@gentoo.org>
+ -gnash-0.7.1_p20090909.ebuild, +gnash-0.7.1_p20099999.ebuild:
+ rename as per bug 143320
+
+*gnash-0.7.1_p20060814 (14 Aug 2006)
+
+ 14 Aug 2006; Stefan Schweizer <genstef@gentoo.org>
+ gnash-0.7.1_p20060704.ebuild, +gnash-0.7.1_p20060814.ebuild,
+ gnash-0.7.1_p20090909.ebuild:
+ new snapshot currently -* because clicking does not work for me, sed sound
+ support to on again
+
+ 13 Aug 2006; Stefan Schweizer <genstef@gentoo.org> -files/do-sound.diff,
+ -files/kdedir.diff, -files/klash-makefile.diff,
+ gnash-0.7.1_p20090909.ebuild:
+ remove some patches that got applied upstream
+
+ 12 Aug 2006; Stefan Schweizer <genstef@gentoo.org> +files/do-sound.diff,
+ -files/gnash-as-needed.diff, -files/klash-int-not-external.diff,
+ gnash-0.7.1_p20090909.ebuild:
+ remove some patches that got applied from the live ebuild, fold sound sed
+ into patch
+
+*gnash-0.7.1_p20090909 (08 Aug 2006)
+
+ 08 Aug 2006; Stefan Schweizer <genstef@gentoo.org>
+ -files/gnash-0.7.1_p20060528-confcache-gtkglext.patch,
+ -files/gnash-0.7.1_p20060528-opengl.diff, files/gnash-as-needed.diff,
+ +files/kdedir.diff, +files/klash-int-not-external.diff,
+ +files/klash-makefile.diff, -gnash-0.7.1.ebuild,
+ -gnash-0.7.1_p20060528.ebuild, gnash-0.7.1_p20060704.ebuild,
+ +gnash-0.7.1_p20090909.ebuild:
+ remove old ebuilds, remove dmalloc use flag thanks to Attila Stehr
+ <as.gentoo@web.de> in bug 142939, add new live cvs ebuild thnaks to Markus
+ Gothe <nietzsche@lysator.liu.se> in bug 143131 that compiles klash even
+ without the nsplugin thanks to Simon Siemonsma <simon.gentoo@hccnet.nl> in
+ bug 142190
+
+ 07 Jul 2006; Stefan Schweizer <genstef@gentoo.org>
+ +files/gnash-fix-cxxflags-rpath.patch, gnash-0.7.1_p20060704.ebuild:
+ Add patch for CXXFLAGS and RPATH thanks to vapier in bug 139457 and 139459
+
+*gnash-0.7.1_p20060704 (04 Jul 2006)
+
+ 04 Jul 2006; Stefan Schweizer <genstef@gentoo.org>
+ +files/gnash-0.7.1_p20060704-opengl.diff, +gnash-0.7.1_p20060704.ebuild:
+ version bump: new cvs snapshot
+
+ 29 Jun 2006; Jason Wever <weeve@gentoo.org> gnash-0.7.1_p20060528.ebuild:
+ Masking on SPARC as it makes the baby Xwindow crash.
+
+ 01 Jun 2006; Stefan Schweizer <genstef@gentoo.org>
+ gnash-0.7.1_p20060528.ebuild:
+ Gtkglext is always needed, remove gtk use flag thanks to Bård Sørngård
+ <baard.sorngard@gmail.com> and Avuton Olrich <avuton@gmail.com> in bug
+ 135010
+
+ 29 May 2006; Stefan Schweizer <genstef@gentoo.org> gnash-0.7.1_p20060528.ebuild:
+ gtkglext dep fix
+
+ 29 May 2006; Stefan Schweizer <genstef@gentoo.org>
+ +files/gnash-0.7.1_p20060528-confcache-gtkglext.patch,
+ gnash-0.7.1_p20060528.ebuild:
+ Add confcache fix
+
+*gnash-0.7.1_p20060528 (28 May 2006)
+
+ 28 May 2006; Jory A. Pratt <anarchy@gentoo.org>
+ +files/gnash-0.7.1_p20060528-opengl.diff, +gnash-0.7.1_p20060528.ebuild:
+ snapshot of cvs tree, many bug fixes including x86_64 fixes
+
+ 11 May 2006; Stefan Schweizer <genstef@gentoo.org> gnash-0.7.1.ebuild:
+ Workaround install problem thanks to Roie Kerstein
+ <sf_kersteinroie@bezeqint.net> in bug 132964, mp3->mad to support alt-arches
+ with mad use.mask, enable sound, cleanup depends
+
+*gnash-0.7.1 (09 May 2006)
+
+ 09 May 2006; Stefan Schweizer <genstef@gentoo.org>
+ +files/gnash-as-needed.diff, -gnash-0.7_alpha20060331.ebuild,
+ -gnash-0.7_alpha20060331-r1.ebuild, +gnash-0.7.1.ebuild:
+ version bump
+
+*gnash-0.7_alpha20060331-r1 (03 Apr 2006)
+
+ 03 Apr 2006; Stefan Schweizer <genstef@gentoo.org>
+ +gnash-0.7_alpha20060331-r1.ebuild:
+ revision bump, gtk use flag, fix plugin, add docs, fix .qt-error, bug 128680
+
+*gnash-0.7_alpha20060331 (02 Apr 2006)
+
+ 02 Apr 2006; Stefan Schweizer <genstef@gentoo.org>
+ -gnash-0.7_alpha20060110.ebuild, -gnash-0.7_alpha20060129.ebuild,
+ +gnash-0.7_alpha20060331.ebuild:
+ New ebuild including firefox plugin support, bug 122659, remove old
+
+*gnash-0.7_alpha20060129 (29 Jan 2006)
+
+ 29 Jan 2006; Stefan Schweizer <genstef@gentoo.org>
+ +gnash-0.7_alpha20060129.ebuild:
+ version bump and DEPEND fix thanks to David Watzke <david@klenot.cz> in bug
+ 120314
+
+ 11 Jan 2006; David Holm <dholm@gentoo.org> gnash-0.7_alpha20060110.ebuild:
+ Added to ~ppc.
+
+*gnash-0.7_alpha20060110 (10 Jan 2006)
+
+ 10 Jan 2006; Stefan Schweizer <genstef@gentoo.org> +metadata.xml,
+ +gnash-0.7_alpha20060110.ebuild:
+ Alpha ebuild for gnash, closes bug 118527
+
diff --git a/www-plugins/gnash/Manifest b/www-plugins/gnash/Manifest
new file mode 100644
index 000000000000..286f0358af01
--- /dev/null
+++ b/www-plugins/gnash/Manifest
@@ -0,0 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX gnash-0.8.3-boost-dynamic-link.patch 1474 RMD160 0ce418d9e7a0f4d5b3bc724c65dedc3c675b69ef SHA1 df6ae427a0efda13da822ca65700aebcb25ef504 SHA256 d3ada2ca33083b0b233051f66041eb57c402783b2cc177b126e4dccab2e32b76
+DIST gnash-0.8.4.tar.bz2 2887666 RMD160 0557eee847f6dd625714d6659058ff7e6c4cec56 SHA1 342d7776d06d11b964546b2b4ebec1864ee717d8 SHA256 6ffe4bdbc22de712e59205a27b46aa93a5372c67829c7f02d6b1c1778e9f9224
+EBUILD gnash-0.8.4.ebuild 6142 RMD160 d13ea8d79b9ed2befeb30545dd5466d4dd3b26a4 SHA1 9a6d9c6dfac858faf97829d45666355b23b963e9 SHA256 898cb0fe3a9d67a9fa08c94aae4f7fae4c46510c80bc909af0acc6843df53909
+MISC ChangeLog 12439 RMD160 65cc2148e4083134f8f625e6d991a7f9e7bb0b59 SHA1 fd359c94ba32bc9d3688be8fb64c0eb4008478e8 SHA256 94f731d9ff11c7bda50f263d30f1c517f5e89d8b0136479c542f20086287af4a
+MISC metadata.xml 379 RMD160 0f872d139f69ca254a0167261898923ed23bc074 SHA1 53ae9c03afe62a6c67aaef74799ee184223b9383 SHA256 b79402136041174606c29f06b764533fd490249c4a7a8ca763126546483ad258
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.9 (GNU/Linux)
+
+iEYEARECAAYFAknfszkACgkQOeoy/oIi7uw4TQCgnSAg8IdfXfPQQfcmflm6sQ+T
+Q44AnRxRdoUm0GSuJAfCnLrqEByaayel
+=OT8H
+-----END PGP SIGNATURE-----
diff --git a/www-plugins/gnash/files/gnash-0.8.3-boost-dynamic-link.patch b/www-plugins/gnash/files/gnash-0.8.3-boost-dynamic-link.patch
new file mode 100644
index 000000000000..ec1564a34d30
--- /dev/null
+++ b/www-plugins/gnash/files/gnash-0.8.3-boost-dynamic-link.patch
@@ -0,0 +1,31 @@
+Index: boost.m4
+===================================================================
+RCS file: /sources/gnash/gnash/macros/boost.m4,v
+retrieving revision 1.74
+diff -u -r1.74 boost.m4
+--- macros/boost.m4 16 Jan 2008 00:42:55 -0000 1.74
++++ macros/boost.m4 19 Jan 2008 18:35:14 -0000
+@@ -127,9 +127,9 @@
+ missing_libs=""
+ fi
+ for j in ${boost_libs}; do
+- dirs="`ls -dr $i/libboost_${j}*.${shlibext} $i/libboost_${j}*.a 2>/dev/null`"
++ dirs="`ls -dr $i/libboost_${j}*.so 2>/dev/null`"
+ if test -n "${dirs}"; then
+- libname="`echo ${dirs} | sed -e 's:^.*/lib::' -e "s:\.${shlibext}::" -e "s:\.a::"`"
++ libname="`echo ${dirs} | sed -e 's:^.*/lib::' -e "s:\.so::"`"
+ if test x$dirname = x; then
+ dirname="`echo ${dirs} | sed -e 's:/libboost.*$::'`"
+ if test x"${dirname}" != "x/usr/lib"; then
+@@ -143,9 +143,9 @@
+ done
+ done
+ for j in ${extra_boost_libs}; do
+- dirs="`ls -dr ${dirname}/libboost_${j}*.${shlibext} ${dirname}/libboost_${j}*.a 2>/dev/null`"
++ dirs="`ls -dr ${dirname}/libboost_${j}*.so 2>/dev/null`"
+ if test -n "${dirs}"; then
+- libname="`echo ${dirs} | sed -e 's:^.*/lib::' -e "s:\.${shlibext}::" -e "s:\.a::"`"
++ libname="`echo ${dirs} | sed -e 's:^.*/lib::' -e "s:\.so::"`"
+ ac_cv_path_boost_extra_lib="${ac_cv_path_boost_extra_lib} -l${libname}"
+ else
+ extra_missing_libs="${extra_missing_libs} $j"
diff --git a/www-plugins/gnash/gnash-0.8.4.ebuild b/www-plugins/gnash/gnash-0.8.4.ebuild
new file mode 100644
index 000000000000..f1941053c781
--- /dev/null
+++ b/www-plugins/gnash/gnash-0.8.4.ebuild
@@ -0,0 +1,265 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-plugins/gnash/gnash-0.8.4.ebuild,v 1.1 2009/04/10 20:58:09 ulm Exp $
+
+EAPI=1
+
+inherit autotools nsplugins kde-functions qt3 multilib
+
+set-kdedir 3.5
+
+DESCRIPTION="Gnash is a GNU Flash movie player that supports many SWF v7 features"
+HOMEPAGE="http://www.gnu.org/software/gnash"
+SRC_URI="mirror://gnu/${PN}/${PV}/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="+agg -cairo dbus -fbcon -ffmpeg +gstreamer +gtk +kde +nsplugin -opengl -qt3 -sdl video_cards_i810"
+
+RDEPEND="
+ agg? ( >=x11-libs/agg-2.5 )
+ opengl? (
+ !agg? (
+ virtual/opengl
+ gtk? ( x11-libs/gtkglext )
+ )
+ )
+ cairo? (
+ !opengl? (
+ !agg? (
+ x11-libs/cairo
+ )
+ )
+ )
+
+ !agg? ( !cairo? ( !opengl? ( >=x11-libs/agg-2.5 ) ) )
+ gtk? (
+ x11-libs/gtk+:2
+ x11-libs/pango
+ dev-libs/glib
+ dev-libs/atk
+ )
+ kde? ( kde-base/kdelibs:3.5 )
+ qt3? ( x11-libs/qt:3 )
+ sdl? ( media-libs/libsdl )
+ !gtk? ( !kde? ( !qt3? ( !sdl? ( !fbcon? (
+ x11-libs/gtk+:2
+ x11-libs/pango
+ dev-libs/glib
+ dev-libs/atk
+ kde-base/kdelibs:3.5
+ ) ) ) ) )
+ dev-libs/libxml2
+ sys-libs/zlib
+ media-libs/jpeg
+ media-libs/giflib
+ media-libs/libpng
+ net-misc/curl
+ ffmpeg? (
+ !gstreamer? (
+ media-libs/libsdl
+ >=media-video/ffmpeg-0.4.9_p20080326
+ )
+ )
+
+ gstreamer? (
+ media-plugins/gst-plugins-ffmpeg
+ media-plugins/gst-plugins-mad
+ )
+ >=dev-libs/boost-1.35.0
+ x11-libs/libX11
+ x11-libs/libXi
+ x11-libs/libXmu
+ x11-libs/libXt
+ x11-proto/xproto
+ dbus? ( sys-apps/dbus )
+ sys-devel/libtool
+ "
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+#Tests currently not functional. Compilation fails. Use youtube instead.
+RESTRICT="test"
+
+pkg_setup() {
+ if use !gtk && use !kde && use !fbcon && use !qt3
+ then
+ einfo "No Graphical User Interface selected. Enabling kde and gtk"
+ einfo "since they are the defaults."
+ export defaultguis=1
+ fi
+
+ if use !agg && use !opengl && use cairo && use kde
+ then
+ eerror "The cairo renderer and the kde gui were selected"
+ eerror "They are incompatible with each other"
+ eerror "Disable one of them through the respective USE flag"
+ die "cairo and kde USE flags enabled at the same time"
+ fi
+
+ if use !agg && use opengl && use fbcon
+ then
+ eerror "The opengl renderer and the fbcon gui were selected"
+ eerror "They are incompatible with each other"
+ eerror "Disable one of them through the respective USE flag"
+ die "opengl and fbcon USE flags enabled at the same time"
+ fi
+
+ if use nsplugin && use !gtk && [ -z ${defaultguis} ]
+ then
+ eerror "The Firefox plugin was selected but not the GTK frontend."
+ eerror "Disable the nsplugin USE flag or enable the gtk USE flag"
+ die "nsplugin USE flag enabled with required gtk USE flag disabled"
+ fi
+
+ if use ffmpeg && use gstreamer
+ then
+ einfo "Only 1 audio output source can be compiled into ${PN}."
+ einfo "Selecting gstreamer, since that's upstream default."
+ einfo "To enable ffmpeg you must also disable gstreamer."
+ fi
+
+ if use agg
+ then
+ if use opengl || use cairo
+ then
+ einfo "Only 1 renderer can be activated at any one time."
+ einfo "If more than one renderer is activated, the order of preference is:"
+ einfo "agg > opengl > cairo"
+ fi
+ else
+ if use !opengl && use !cairo
+ then
+ einfo "No renderer selected from agg, opengl, cairo"
+ einfo "Default renderer agg selected."
+ fi
+ fi
+
+ if use !ffmpeg && use !gstreamer
+ then
+ ewarn "You did not select any media: ffmpeg gstreamer"
+ ewarn "You will not have sound!"
+ fi
+
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${PN}-0.8.3-boost-dynamic-link.patch
+ if has_version '<sys-devel/libtool-2'
+ then
+ sed -i \
+ -e 's:libltdl.*Makefile::' configure.ac \
+ || die "Sedding configure.ac failed."
+ fi
+ eautoreconf
+}
+
+src_compile() {
+ local myconf
+
+ if use nsplugin ; then
+ myconf="${myconf} --enable-npapi --with-npapi-plugindir=/opt/netscape/plugins"
+ else
+ myconf="${myconf} --disable-npapi"
+ fi
+
+#Select renderer.
+ if use agg ; then
+ myconf="${myconf} --enable-renderer=agg"
+ elif use opengl ; then
+ myconf="${myconf} --enable-renderer=ogl"
+ elif use cairo ; then
+ myconf="${myconf} --enable-renderer=cairo"
+ else
+ myconf="${myconf} --enable-renderer=agg"
+ fi
+
+#Select which Graphical User Interfaces to build.
+ local guis="" \
+ gui=""
+ for gui in fbcon-FB gtk-GTK2 kde-KDE qt3-QT sdl-SDL
+ do
+ use ${gui/-*} && guis="${guis},${gui/*-}"
+ done
+ guis=${guis#,}
+ if [ -z "${guis}" ]
+ then
+ guis="GTK2,KDE"
+ fi
+
+#Select which extensions to build.
+ local extensions="FILEIO" \
+ extension=""
+ for extension in dbus-DBUS gtk-GTK2
+ do
+ use ${extension%-*} && extensions="${extensions},${extension#*-}"
+ done
+
+#Select audio output extension.
+ if use gstreamer
+ then
+ myconf="${myconf} --enable-media=gst"
+ elif use ffmpeg
+ then
+ myconf="${myconf} --enable-media=ffmpeg"
+ else
+ myconf="${myconf} --enable-media=none"
+ fi
+
+ econf \
+ $(use_enable video_cards_i810 i810-lod-bias) \
+ --disable-testsuite \
+ --enable-shared \
+ --disable-allstatic \
+ --enable-sdkinstall \
+ --enable-gui=${guis} \
+ --enable-extensions=${extensions} \
+ --with-ffmpeg-incl=/usr/include \
+ --with-kde-pluginprefix=${KDEDIR} \
+ --without-included-ltdl \
+ --with-ltdl-include=/usr/include \
+ --with-ltdl-lib=/usr/$(get_libdir) \
+ --with-plugins-install=system \
+ ${myconf} \
+ || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_test() {
+ cd testsuite
+ make check || die "make check failed"
+ ./anaylse-results.sh > TESTRESULTS.txt
+ cat TESTRESULTS.txt
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ if use nsplugin
+ then
+ emake DESTDIR="${D}" install-plugin \
+ || die "emake install-plugin failed"
+ inst_plugin /opt/netscape/plugins/libgnashplugin.so
+ else
+ rm -rf "${D}/opt"
+ fi
+
+ if use kde
+ then
+ pushd plugin/klash &> /dev/null
+ make DESTDIR="${D}" install-plugin
+ popd &> /dev/null
+ fi
+
+ dodoc AUTHORS ChangeLog* NEWS README
+
+}
+
+pkg_postinst() {
+ ewarn "BETA"
+ ewarn "gnash is still in heavy development"
+ ewarn "please report gnash bugs upstream to the gnash devs"
+}
diff --git a/www-plugins/gnash/metadata.xml b/www-plugins/gnash/metadata.xml
new file mode 100644
index 000000000000..53237ef3a13c
--- /dev/null
+++ b/www-plugins/gnash/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+ <maintainer>
+ <email>genstef@gentoo.org</email>
+ <name>Stefan Schweizer</name>
+ </maintainer>
+ <use>
+ <flag name='agg'>Rendering based on the Anti-Grain Geometry Rendering
+ Engine library</flag>
+ </use>
+</pkgmetadata>