summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-www')
-rw-r--r--net-www/gnash/ChangeLog8
-rw-r--r--net-www/gnash/files/digest-gnash-0.7.1_p200607043
-rw-r--r--net-www/gnash/files/gnash-0.7.1_p20060704-opengl.diff28
-rw-r--r--net-www/gnash/gnash-0.7.1_p20060704.ebuild103
4 files changed, 141 insertions, 1 deletions
diff --git a/net-www/gnash/ChangeLog b/net-www/gnash/ChangeLog
index b53b13e56ee9..e82e95bbc177 100644
--- a/net-www/gnash/ChangeLog
+++ b/net-www/gnash/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-www/gnash
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/gnash/ChangeLog,v 1.13 2006/06/29 23:04:00 weeve Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/gnash/ChangeLog,v 1.14 2006/07/04 17:48:12 genstef Exp $
+
+*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.
diff --git a/net-www/gnash/files/digest-gnash-0.7.1_p20060704 b/net-www/gnash/files/digest-gnash-0.7.1_p20060704
new file mode 100644
index 000000000000..f9acb228d7a5
--- /dev/null
+++ b/net-www/gnash/files/digest-gnash-0.7.1_p20060704
@@ -0,0 +1,3 @@
+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
diff --git a/net-www/gnash/files/gnash-0.7.1_p20060704-opengl.diff b/net-www/gnash/files/gnash-0.7.1_p20060704-opengl.diff
new file mode 100644
index 000000000000..c5a29f3cb5cf
--- /dev/null
+++ b/net-www/gnash/files/gnash-0.7.1_p20060704-opengl.diff
@@ -0,0 +1,28 @@
+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)
diff --git a/net-www/gnash/gnash-0.7.1_p20060704.ebuild b/net-www/gnash/gnash-0.7.1_p20060704.ebuild
new file mode 100644
index 000000000000..9bf02f7bd106
--- /dev/null
+++ b/net-www/gnash/gnash-0.7.1_p20060704.ebuild
@@ -0,0 +1,103 @@
+# 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.1 2006/07/04 17:48:12 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="dmalloc mad nsplugin nptl xml kde video_cards_i810"
+
+RDEPEND="dmalloc? ( dev-libs/dmalloc )
+ 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"
+
+S=${WORKDIR}/gnash
+
+set-kdedir
+
+src_unpack() {
+ unpack ${A}
+
+ #Fix a busted opengl as-needed
+ cd ${S}
+ epatch ${FILESDIR}/${P}-opengl.diff
+
+ # 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 dmalloc) \
+ $(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"
+}