------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-AUX gnash-0.7.1_p20060704-opengl.diff 829 RMD160 68dae8f130e6dfbd2051007c7f819b47e1889334 SHA1 ef7603ec759d628404e97aab7f2b73d70f6daeb2 SHA256 ff88cbac28c3465f8f7ea46f0bc61cfa2e016dade9b56ce729a44734d2798729
-MD5 4a1d412f7aab9b5b69ed4e6bba4780c2 files/gnash-0.7.1_p20060704-opengl.diff 829
-RMD160 68dae8f130e6dfbd2051007c7f819b47e1889334 files/gnash-0.7.1_p20060704-opengl.diff 829
-SHA256 ff88cbac28c3465f8f7ea46f0bc61cfa2e016dade9b56ce729a44734d2798729 files/gnash-0.7.1_p20060704-opengl.diff 829
-AUX gnash-fix-cxxflags-rpath.patch 2189 RMD160 b092e04727a686bd971c77e3619a418a5dbcc37f SHA1 3af2848fda6c761859315ae89ea0badbc567d207 SHA256 553fcad662bec090d2739bb3d69becb05b3d4f299cb79108f9cfd1969a4af418
-MD5 9e955f27087ffa5ef139acfa2c05b7d1 files/gnash-fix-cxxflags-rpath.patch 2189
-RMD160 b092e04727a686bd971c77e3619a418a5dbcc37f files/gnash-fix-cxxflags-rpath.patch 2189
-SHA256 553fcad662bec090d2739bb3d69becb05b3d4f299cb79108f9cfd1969a4af418 files/gnash-fix-cxxflags-rpath.patch 2189
-DIST gnash-0.7.1_p20060704.tar.bz2 3287215 RMD160 708ebf8a2a4d26c8a1ba14465ab12662e00a5f11 SHA1 48bff4683b48611874844c406baca7f12cf64a4c SHA256 e236556ab800adad5dfd37aa55bb1b12ba2a8ecb4d0de277505e7a7eb7446d88
-DIST gnash-0.7.1_p20060814.tar.bz2 3337328 RMD160 aa44780235529fb682849315e0dae2d6acbaab33 SHA1 e71406f25da06f663557e35869160149d1bd8237 SHA256 2e4cfa7e4639743fd0fff34b32dba961c3619d92ce6b1ff8f895bb7bc7e3031a
DIST gnash-0.7.2.tar.bz2 1599810 RMD160 0f5904b6c13ffb3b2b4a5f723d9fdacb0a8a6198 SHA1 e2bbd71d61665c435ed22339078070af196ea31a SHA256 12dccb4bc69488f516e0283e988412ba7db5dfad32744425f97d641392a2e98b
-EBUILD gnash-0.7.1_p20060704.ebuild 2666 RMD160 75656d71f033c1c2d9da2e9703a8b81220d08d74 SHA1 d382697f51e19437152b96ce1fbf016757420de7 SHA256 261517b09b4d291368b839cbfcd8e04509806704dc704b4ea6cf08c8b2cb40dd
-MD5 25f5aa43c9a30a59334175f11f61f5da gnash-0.7.1_p20060704.ebuild 2666
-RMD160 75656d71f033c1c2d9da2e9703a8b81220d08d74 gnash-0.7.1_p20060704.ebuild 2666
-SHA256 261517b09b4d291368b839cbfcd8e04509806704dc704b4ea6cf08c8b2cb40dd gnash-0.7.1_p20060704.ebuild 2666
-EBUILD gnash-0.7.1_p20060814.ebuild 2760 RMD160 bee34173645cfe280f2dd6aa42cb14c4d997d29f SHA1 74c38acec3f2df228c8b607daba65e0045db17be SHA256 f13663bd435091ee5ffb939c93b54ade1d7bc4c4bf514ac7c74b59ccbd1e4b86
-MD5 c85f8ca7d408de13a3e837cadb151d1a gnash-0.7.1_p20060814.ebuild 2760
-RMD160 bee34173645cfe280f2dd6aa42cb14c4d997d29f gnash-0.7.1_p20060814.ebuild 2760
-SHA256 f13663bd435091ee5ffb939c93b54ade1d7bc4c4bf514ac7c74b59ccbd1e4b86 gnash-0.7.1_p20060814.ebuild 2760
-EBUILD gnash-0.7.1_p20099999.ebuild 3059 RMD160 71ecd8ab81bc35657b5c750b86709bb812664925 SHA1 ae59173f22d2c322188a465b6e5c8426be3eed06 SHA256 79201b87ca30dfef03f28b735efa71a62fa33d0727ebd17ce6ee81538bf15ffc
-MD5 262d38e644514e3c9a9b39df3cb5bb97 gnash-0.7.1_p20099999.ebuild 3059
-RMD160 71ecd8ab81bc35657b5c750b86709bb812664925 gnash-0.7.1_p20099999.ebuild 3059
-SHA256 79201b87ca30dfef03f28b735efa71a62fa33d0727ebd17ce6ee81538bf15ffc gnash-0.7.1_p20099999.ebuild 3059
EBUILD gnash-0.7.2.ebuild 2729 RMD160 9cbd3c4fafb11dda9e61547f71b7c7f7ea96053c SHA1 8d17e8efb65e02277a12cd4cf493ddbdb28aad37 SHA256 62cb5422f7f567b0aa8375fe018d6fb8e727d905ed25b9a4f3712c20be376cfe
MD5 786bc089a22ff637f54a4c7cc232e56e gnash-0.7.2.ebuild 2729
RMD160 9cbd3c4fafb11dda9e61547f71b7c7f7ea96053c gnash-0.7.2.ebuild 2729
SHA256 62cb5422f7f567b0aa8375fe018d6fb8e727d905ed25b9a4f3712c20be376cfe gnash-0.7.2.ebuild 2729
-MISC ChangeLog 5927 RMD160 1eac7f82db924e069bc2be0aa7b774ab91280923 SHA1 c34428e696b900492b6dad7e8363cc860c358df3 SHA256 300b0cb06d55a3f8930f87410bd8aafd0344c468ac15ce4d731b774cd02cb56a
-MD5 c1fa89a95d4d652a3d202a2d0790a1e7 ChangeLog 5927
-RMD160 1eac7f82db924e069bc2be0aa7b774ab91280923 ChangeLog 5927
-SHA256 300b0cb06d55a3f8930f87410bd8aafd0344c468ac15ce4d731b774cd02cb56a ChangeLog 5927
+EBUILD gnash-0.7.2_p20099999.ebuild 3059 RMD160 97ebc92e2438c6c548b4960f10a47492262e69fa SHA1 806b960092d1096b685e694e5cfd14f0bc142fca SHA256 fbd4a1757ceadb09dffee08e9820ca42157f83d4113653967e05293a39da0371
+MD5 c2b5303f30107b41833da91b4265c375 gnash-0.7.2_p20099999.ebuild 3059
+RMD160 97ebc92e2438c6c548b4960f10a47492262e69fa gnash-0.7.2_p20099999.ebuild 3059
+SHA256 fbd4a1757ceadb09dffee08e9820ca42157f83d4113653967e05293a39da0371 gnash-0.7.2_p20099999.ebuild 3059
+MISC ChangeLog 6272 RMD160 a38e4f8c54dee68e058d4fe7a8a7cd5961d503f7 SHA1 35a7a753948c7be89159a115590eb9ec7f85b2bf SHA256 7e79129c36ce93a49e4c6ff74622d14e6f6e2a64e47998c9782f946c96a06517
+MD5 4e4b30ac962ea06da5ed04171ddf4fe3 ChangeLog 6272
+RMD160 a38e4f8c54dee68e058d4fe7a8a7cd5961d503f7 ChangeLog 6272
+SHA256 7e79129c36ce93a49e4c6ff74622d14e6f6e2a64e47998c9782f946c96a06517 ChangeLog 6272
MISC metadata.xml 242 RMD160 0c1495108d642a4ab0e1bffef66b6ff60a3e619c SHA1 383cfdd7a210a459dd71b1a8bad03be54f047d5b SHA256 771b4e1c8b0943aae8c90480ad18a37ee37bd086f0eeb329099eee9d238c81f2
MD5 d5ce5bbf8880322ebca9672595e248ab metadata.xml 242
RMD160 0c1495108d642a4ab0e1bffef66b6ff60a3e619c metadata.xml 242
SHA256 771b4e1c8b0943aae8c90480ad18a37ee37bd086f0eeb329099eee9d238c81f2 metadata.xml 242
-MD5 6a4466f6f993b14adb1148a697292855 files/digest-gnash-0.7.1_p20060704 271
-RMD160 8fc0811284fe68365031a5e9e82ba67511be83d3 files/digest-gnash-0.7.1_p20060704 271
-SHA256 5d75ecb156870d2eec834bc8a36bbe0a91c8d58771a43e2995120ef9199f5992 files/digest-gnash-0.7.1_p20060704 271
-MD5 654a6e6767c5ebcd63a371665c8fb24e files/digest-gnash-0.7.1_p20060814 271
-RMD160 42e15ce05e370ddfb90e9008a26c4868136ff106 files/digest-gnash-0.7.1_p20060814 271
-SHA256 d49b78b8665b89a79a138ba6fb7e7e362dcae4f336d02c7dbef6f583bdd3edaf files/digest-gnash-0.7.1_p20060814 271
-MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-gnash-0.7.1_p20099999 0
-RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 files/digest-gnash-0.7.1_p20099999 0
-SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 files/digest-gnash-0.7.1_p20099999 0
MD5 42d1c9e2aa371ea4e97f9c0276ae9d8f files/digest-gnash-0.7.2 241
RMD160 be77f585eab622de3489263945670952b8999b66 files/digest-gnash-0.7.2 241
SHA256 818baff3a56f0cf9dd4e112e8d00c9816500f61d0be9ae2ddf77ba2a8975bfda files/digest-gnash-0.7.2 241
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.5-ecc0.1.6 (GNU/Linux)
-
-iD8DBQFFX3KUp5vW4rUFj5oRAotzAJ0dAvSZrRQPGW15bielgNRPYbkjjwCgjXik
-sz6H6LmEwgy5xrJGkD3CU08=
-=8sHF
------END PGP SIGNATURE-----
+MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-gnash-0.7.2_p20099999 0
+RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 files/digest-gnash-0.7.2_p20099999 0
+SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 files/digest-gnash-0.7.2_p20099999 0
+++ /dev/null
-MD5 9fd93c81c3e8c1cc3ed99cab19472c31 gnash-0.7.1_p20060704.tar.bz2 3287215
-RMD160 708ebf8a2a4d26c8a1ba14465ab12662e00a5f11 gnash-0.7.1_p20060704.tar.bz2 3287215
-SHA256 e236556ab800adad5dfd37aa55bb1b12ba2a8ecb4d0de277505e7a7eb7446d88 gnash-0.7.1_p20060704.tar.bz2 3287215
+++ /dev/null
-MD5 6d10a163f10f2e0daf0cfd99983028d4 gnash-0.7.1_p20060814.tar.bz2 3337328
-RMD160 aa44780235529fb682849315e0dae2d6acbaab33 gnash-0.7.1_p20060814.tar.bz2 3337328
-SHA256 2e4cfa7e4639743fd0fff34b32dba961c3619d92ce6b1ff8f895bb7bc7e3031a gnash-0.7.1_p20060814.tar.bz2 3337328
+++ /dev/null
-diff -u gnash/libbase/Makefile.am.orig gnash/libbase/Makefile.am
---- gnash/libbase/Makefile.am.orig 2006-06-07 22:28:25.000000000 +0200
-+++ gnash/libbase/Makefile.am 2006-06-07 22:35:51.000000000 +0200
-@@ -94,8 +94,8 @@
- $(JPEG_LIBS) \
- $(ZLIB_LIBS) \
- $(CURL_LIBS) \
-- $(SDL_LIBS)
--# $(OPENGL_LIBS)
-+ $(SDL_LIBS) \
-+ $(OPENGL_LIBS)
-
- noinst_HEADERS = \
- container.h \
-diff -u gnash/server/Makefile.am.orig gnash/server/Makefile.am
---- gnash/server/Makefile.am.orig 2006-06-07 22:28:28.000000000 +0200
-+++ gnash/server/Makefile.am 2006-06-07 22:36:00.000000000 +0200
-@@ -233,8 +233,8 @@
- libgnashasobjs.la \
- $(ZLIB_LIBS) \
- $(LIBXML_LIBS) \
-- $(MP3_LIBS)
--# $(OPENGL_LIBS)
-+ $(MP3_LIBS) \
-+ $(OPENGL_LIBS)
-
- #libserver_la_LDFLAGS = -module -avoid-version -no-undefined
- #libserver_la_LIBDADD = #@DL_LIB@ # $(LIBLTDL)
+++ /dev/null
-diff -u gnash/libgeometry/Makefile.am.orig gnash/libgeometry/Makefile.am
---- gnash/libgeometry/Makefile.am.orig 2006-07-07 01:39:00.000000000 +0200
-+++ gnash/libgeometry/Makefile.am 2006-07-07 01:39:23.000000000 +0200
-@@ -38,7 +38,7 @@
-
- AUTOMAKE_OPTIONS =
-
--AM_CXXFLAGS = $(CFLAGS) $(SDL_CFLAGS) $(INCLUDES)
-+AM_CXXFLAGS = $(CXXFLAGS) $(SDL_CFLAGS) $(INCLUDES)
- AM_CPPFLAGS = #-Wall
- # AM_LDFLAGS = $(OPENGL_LIBNS) $(SDL_LIBS)
-
-diff -u gnash/libamf/Makefile.am.orig gnash/libamf/Makefile.am
---- gnash/libamf/Makefile.am.orig 2006-07-07 01:39:06.000000000 +0200
-+++ gnash/libamf/Makefile.am 2006-07-07 01:39:37.000000000 +0200
-@@ -38,7 +38,7 @@
-
- AUTOMAKE_OPTIONS =
-
--AM_CXXFLAGS = $(CFLAGS) $(SDL_CFLAGS) $(INCLUDES)
-+AM_CXXFLAGS = $(CXXFLAGS) $(SDL_CFLAGS) $(INCLUDES)
- AM_CPPFLAGS =
- AM_LDFLAGS = \
- ../libbase/libgnashbase.la \
-diff -u gnash/plugin/mozilla-sdk/Makefile.am.orig gnash/plugin/mozilla-sdk/Makefile.am
---- gnash/plugin/mozilla-sdk/Makefile.am.orig 2006-07-07 01:39:12.000000000 +0200
-+++ gnash/plugin/mozilla-sdk/Makefile.am 2006-07-07 01:39:52.000000000 +0200
-@@ -42,7 +42,7 @@
- -I$(srcdir) \
- -I$(srcdir)/include
-
--AM_CXXFLAGS = $(CFLAGS) $(INCLUDES)
-+AM_CXXFLAGS = $(CXXFLAGS) $(INCLUDES)
- AM_CPPFLAGS = -DPLUGIN_TRACE -DXP_UNIX # $(FIREFOX_DEFS)
- # AM_LDFLAGS = $(FIREFOX_LIBS)
-
-diff -u gnash/plugin/Makefile.am.orig gnash/plugin/Makefile.am
---- gnash/plugin/Makefile.am.orig 2006-07-07 01:40:02.000000000 +0200
-+++ gnash/plugin/Makefile.am 2006-07-07 01:40:16.000000000 +0200
-@@ -152,8 +152,8 @@
- # won't load due to errors with an undefined MaiAtkObject.
- install-pluginLTLIBRARIES: $(plugin_LTLIBRARIES)
- test -d "$(DESTDIR)$(plugindir)" || $(mkinstalldirs) "$(DESTDIR)$(plugindir)"
-- cp .libs/libgnashplugin.so $(DESTDIR)$(plugindir)/libgnashplugin.so
--# $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $(plugin_LTLIBRARIES) "$(DESTDIR)$(plugindir)/$(plugin_LTLIBRARIES)"
-+# cp .libs/libgnashplugin.so $(DESTDIR)$(plugindir)/libgnashplugin.so
-+ $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $(plugin_LTLIBRARIES) "$(DESTDIR)$(plugindir)/$(plugin_LTLIBRARIES)"
- $(RM) $(DESTDIR)$(plugindir)/libgnashplugin.*a
-
-
+++ /dev/null
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/gnash/gnash-0.7.1_p20060704.ebuild,v 1.4 2006/08/14 15:28:19 genstef Exp $
-
-inherit nsplugins kde-functions autotools
-
-DESCRIPTION="Gnash is a GNU Flash movie player that supports many SWF v7 features"
-HOMEPAGE="http://www.gnu.org/software/gnash"
-SRC_URI="http://gentooexperimental.org/~genstef/dist/${P}.tar.bz2"
-S=${WORKDIR}/${PN}
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc -sparc ~x86"
-IUSE="mad nsplugin nptl xml kde video_cards_i810"
-
-RDEPEND="
- xml? ( dev-libs/libxml2 )
- kde? (
- kde-base/kdelibs
- x11-libs/qt
- )
- sys-libs/zlib
- media-libs/jpeg
- mad? ( media-libs/libmad )
- media-libs/libogg
- media-libs/libpng
- media-libs/libsdl
- media-libs/sdl-mixer
- net-misc/curl
- virtual/opengl
- || (
- ( x11-libs/libX11
- x11-libs/libXi
- x11-libs/libXmu
- x11-libs/libXt
- x11-proto/xproto )
- virtual/x11
- )
- dev-libs/atk
- dev-libs/glib
- x11-libs/cairo
- >x11-libs/gtk+-2
- x11-libs/gtkglext
- x11-libs/pango"
-
-set-kdedir
-
-src_unpack() {
- unpack ${A}
- cd ${S}
-
- # as-needed patch
- # http://savannah.gnu.org/bugs/?func=detailitem&item_id=16684
- epatch ${FILESDIR}/${P}-opengl.diff
- # CXXFLAGS should be ussed for cpp code and libtool for installation
- # http://savannah.gnu.org/bugs/?func=detailitem&item_id=17049
- epatch ${FILESDIR}/gnash-fix-cxxflags-rpath.patch
-
-
- # we want sound
- sed -i -e "s:bool do_sound = .*:bool do_sound = true;:" backend/gnash.cpp
-
- AT_M4DIR="macros" eautoreconf
-}
-
-src_compile() {
- local myconf
-
- use nsplugin && myconf="${myconf} --enable-plugin --with-plugindir=/opt/netscape/plugins"
-
- #--enable-renderer=engine Specify rendering engine:
- # OpenGL (default)
- # Cairo (experimental)
- #cairo: does not compile, offers flash for non-accelerated gfx?
- #if use cairo; then
- # myconf="${myconf} --enable-renderer=cairo"
- #fi
- #--enable-gui=flavor Specify gui flavor:
- # GTK
- # SDL -> has no controls, we do not USE it
- #$(use_enable gtk glext) with USE=-gtk, fails to detect gtkglext, bug 135010
-
- econf \
- $(use_enable kde klash) \
- $(use_enable mad mp3) \
- $(use_enable nptl pthreads) \
- $(use_enable xml) \
- $(use_enable video_cards_i810 i810-lod-bias) \
- ${myconf} || die "econf failed"
- emake || die "emake failed"
-}
-
-src_install() {
- emake DESTDIR=${D} install || die "emake install failed"
- use nsplugin && inst_plugin /opt/netscape/plugins/libgnashplugin.so \
- || rm -rf ${D}/opt
- dodoc AUTHORS ChangeLog NEWS README
-}
-
-pkg_postinst() {
- ewarn "ALPHA"
- ewarn "gnash is still in heavy development"
- ewarn "please report gnash bugs upstream to the gnash devs"
-}
+++ /dev/null
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/gnash/gnash-0.7.1_p20060814.ebuild,v 1.1 2006/08/14 15:28:19 genstef Exp $
-
-inherit nsplugins kde-functions autotools
-
-DESCRIPTION="Gnash is a GNU Flash movie player that supports many SWF v7 features"
-HOMEPAGE="http://www.gnu.org/software/gnash"
-#SRC_URI="ftp://ftp.gnu.org/pub/gnu/${PN}/${PV}/${P}.tar.bz2"
-SRC_URI="http://gentooexperimental.org/~genstef/dist/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="-*"
-IUSE="mad nsplugin nptl xml kde video_cards_i810"
-#dmalloc, broken see bug 142939
-#dmalloc? ( dev-libs/dmalloc )
-# $(use_enable dmalloc) \
-
-RDEPEND="
- xml? ( dev-libs/libxml2 )
- kde? (
- kde-base/kdelibs
- x11-libs/qt
- )
- sys-libs/zlib
- media-libs/jpeg
- mad? ( media-libs/libmad )
- media-libs/libogg
- media-libs/libpng
- media-libs/libsdl
- net-misc/curl
- virtual/opengl
- || (
- ( x11-libs/libX11
- x11-libs/libXi
- x11-libs/libXmu
- x11-libs/libXt
- x11-proto/xproto )
- virtual/x11
- )
- dev-libs/atk
- dev-libs/glib
- >x11-libs/gtk+-2
- x11-libs/pango
- media-libs/sdl-mixer
- x11-libs/gtkglext"
- #cairo? ( x11-libs/cairo )
- #gstreamer? ( media-libs/gstreamer )
- #!gstreamer? ( media-libs/sdl-mixer )
-
-set-kdedir
-
-src_unpack() {
- unpack ${A}
- cd ${S}
-
- # enable sound by default
- ssed="bool.*do_sound[ \t]*=[ \t]*"
- grep "${ssed}" . -rl | xargs \
- sed -i -e "s:\(${ssed}\)false:\1true:"
-
- AT_M4DIR="macros" eautoreconf
-}
-
-src_compile() {
- local myconf
-
- use nsplugin && myconf="${myconf} --enable-plugin --with-plugindir=/opt/netscape/plugins"
-
- #--enable-renderer=engine Specify rendering engine:
- # OpenGL (default)
- # Cairo (experimental)
- #cairo: does not work for plugins yet, offers flash for non-accelerated gfx?
- #if use cairo; then
- # myconf="${myconf} --enable-renderer=cairo"
- #fi
- #--enable-gui=flavor Specify gui flavor:
- # GTK
- # SDL -> has no controls, we do not USE it
- #$(use_enable gtk glext) with USE=-gtk, fails to detect gtkglext, bug 135010
- #--enable-sound=gst,sdl
- #if use gstreamer; then
- # myconf="${myconf} --enable-sound=gst"
- #else
- myconf="${myconf} --enable-sound=sdl"
- #fi
-
- econf \
- $(use_enable kde klash) \
- $(use_enable mad mp3) \
- $(use_enable nptl pthreads) \
- $(use_enable xml) \
- $(use_enable video_cards_i810 i810-lod-bias) \
- ${myconf} || die "econf failed"
- emake || die "emake failed"
-}
-
-src_install() {
- emake DESTDIR=${D} install || die "emake install failed"
- use nsplugin && inst_plugin /opt/netscape/plugins/libgnashplugin.so \
- || rm -rf ${D}/opt
- dodoc AUTHORS ChangeLog NEWS README
-}
-
-pkg_postinst() {
- ewarn "ALPHA"
- ewarn "gnash is still in heavy development"
- ewarn "please report gnash bugs upstream to the gnash devs"
-}
+++ /dev/null
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/gnash/gnash-0.7.1_p20099999.ebuild,v 1.6 2006/11/08 22:09:57 genstef Exp $
-
-WANT_AUTOCONF=latest
-inherit nsplugins autotools cvs
-
-DESCRIPTION="Gnash is a GNU Flash movie player that supports many SWF v7 features"
-HOMEPAGE="http://www.gnu.org/software/gnash"
-#SRC_URI="ftp://ftp.gnu.org/pub/gnu/${PN}/${PV}/${P}.tar.bz2"
-ECVS_SERVER="cvs.sv.gnu.org:/sources/${PN}"
-ECVS_MODULE="${PN}"
-[ "${PV/0.7.1_p}" != "20099999" ] && ECVS_CO_OPTS="-D ${PV/0.7.1_p}"
-ECVS_UP_OPTS="-dP ${ECVS_CO_OPTS}"
-S=${WORKDIR}/${PN}
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="-*"
-IUSE="agg gstreamer ffmpeg nsplugin xml video_cards_i810"
-#dmalloc, broken see bug 142939
-#dmalloc? ( dev-libs/dmalloc )
-# $(use_enable dmalloc) \
-
-RDEPEND="
- xml? ( dev-libs/libxml2 )
- sys-libs/zlib
- media-libs/jpeg
- media-libs/libogg
- media-libs/libpng
- net-misc/curl
- !ffmpeg? ( media-libs/libmad )
- ffmpeg? ( media-video/ffmpeg )
- gstreamer? ( media-libs/gstreamer
- || (
- media-plugins/gst-plugins-ffmpeg
- media-plugins/gst-plugins-mad
- media-plugins/gst-plugins-lame
- )
- )
- !gstreamer? ( media-libs/libsdl )
- dev-libs/boost
- || (
- ( x11-libs/libX11
- x11-libs/libXi
- x11-libs/libXmu
- x11-libs/libXt
- x11-proto/xproto )
- virtual/x11
- )
- dev-libs/atk
- dev-libs/glib
- >x11-libs/gtk+-2
- x11-libs/pango
- !agg? ( virtual/opengl x11-libs/gtkglext )
- agg? ( x11-libs/agg )"
- #cairo? ( x11-libs/cairo )
-
-src_unpack() {
- cvs_src_unpack
- cd ${S}
- AT_M4DIR=macros AT_NO_RECURSIVE=1 eautoreconf
- cd libltdl
- eautoreconf
-}
-
-src_compile() {
- local myconf
-
- use nsplugin && myconf="${myconf} --with-plugindir=/opt/netscape/plugins"
-
- #--enable-renderer=engine Specify rendering engine:
- # OpenGL (default)
- # Cairo (experimental)
- #cairo: does not work for plugins yet, offers flash for non-accelerated gfx?
- #if use cairo; then
- # myconf="${myconf} --enable-renderer=cairo"
- #fi
- if use agg; then
- myconf="${myconf} --enable-renderer=agg"
- fi
- #--enable-gui=flavor Specify gui flavor:
- # GTK
- # SDL -> has no controls, we do not USE it
- #$(use_enable gtk glext) with USE=-gtk, fails to detect gtkglext, bug 135010
- #--enable-sound=gst,sdl
- if use gstreamer; then
- myconf="${myconf} --enable-sound=gst"
- else
- myconf="${myconf} --enable-sound=sdl"
- fi
-
- if use ffmpeg; then
- myconf="${myconf} --with-mp3-decoder=ffmpeg"
- fi
-
- # klash is broken, thus we do not offer it
- econf \
- $(use_enable nsplugin plugin) \
- $(use_enable xml) \
- $(use_enable video_cards_i810 i810-lod-bias) \
- --without-gcc-arch \
- --disable-klash \
- ${myconf} || die "econf failed"
- emake -j1 || die "emake failed"
-}
-
-src_install() {
- emake DESTDIR=${D} install || die "emake install failed"
- use nsplugin && inst_plugin /opt/netscape/plugins/libgnashplugin.so \
- || rm -rf ${D}/opt
- dodoc AUTHORS ChangeLog NEWS README
-}
-
-pkg_postinst() {
- ewarn "ALPHA"
- ewarn "gnash is still in heavy development"
- ewarn "please report gnash bugs upstream to the gnash devs"
-}