summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2006-12-05 15:15:24 +0000
committerwiz <wiz@pkgsrc.org>2006-12-05 15:15:24 +0000
commit8917ac000d13ddf89cbe94783e8eed2624211d6a (patch)
treea555a5c2c590f2d600de7849774e899c1eac5845 /multimedia
parenteeb3d527f46df9aca6790c9891fb7333897857f5 (diff)
downloadpkgsrc-8917ac000d13ddf89cbe94783e8eed2624211d6a.tar.gz
Initial import of gnash-0.7.2:
Gnash is a player for animated "movies" in the Macromedia Shockwave Flash (.swf) format. It can be run as a graphical application, as a Web browser plugin, or as a library used by other programs. It is not yet complete; it does not correctly handle every .swf file. Many of the Flash movies that I come across play fine in Gnash. Many others do not. In particular, Flash movies that are used for browser navigation may still have a few issues with some URLs left. Most Flash based navigation of a web site should work. Gnash supports the majority of Flash opcodes up to SWF version 7, and a wide sampling of ActionScript classes for SWF version 7. All the core ones are implemented, and many of the newer ones work, but may be missing some of their methods. All unimplemented opcodes and ActionScript classes and methods print a warning when using -v with gnash or gprocessor. Using gprocessor -v is a quick way to see why a movie isn't playing correctly.
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/gnash/DESCR16
-rw-r--r--multimedia/gnash/Makefile38
-rw-r--r--multimedia/gnash/PLIST13
-rw-r--r--multimedia/gnash/distinfo6
-rw-r--r--multimedia/gnash/patches/patch-aa29
5 files changed, 102 insertions, 0 deletions
diff --git a/multimedia/gnash/DESCR b/multimedia/gnash/DESCR
new file mode 100644
index 00000000000..e09f746060f
--- /dev/null
+++ b/multimedia/gnash/DESCR
@@ -0,0 +1,16 @@
+Gnash is a player for animated "movies" in the Macromedia Shockwave Flash
+(.swf) format. It can be run as a graphical application, as a Web browser
+plugin, or as a library used by other programs. It is not yet complete;
+it does not correctly handle every .swf file.
+
+Many of the Flash movies that I come across play fine in Gnash. Many
+others do not. In particular, Flash movies that are used for browser
+navigation may still have a few issues with some URLs left. Most
+Flash based navigation of a web site should work.
+
+Gnash supports the majority of Flash opcodes up to SWF version 7, and
+a wide sampling of ActionScript classes for SWF version 7. All the core
+ones are implemented, and many of the newer ones work, but may be missing
+some of their methods. All unimplemented opcodes and ActionScript classes
+and methods print a warning when using -v with gnash or gprocessor. Using
+gprocessor -v is a quick way to see why a movie isn't playing correctly.
diff --git a/multimedia/gnash/Makefile b/multimedia/gnash/Makefile
new file mode 100644
index 00000000000..84757d3c9d5
--- /dev/null
+++ b/multimedia/gnash/Makefile
@@ -0,0 +1,38 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/12/05 15:15:24 wiz Exp $
+#
+
+DISTNAME= gnash-0.7.2
+CATEGORIES= multimedia
+MASTER_SITES= ${MASTER_SITE_GNU:=gnash/0.7.2/}
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://www.gnu.org/software/gnash/
+COMMENT= GPL'd Flash movie player
+
+USE_PKGLOCALEDIR= yes
+USE_LANGUAGES= c c++
+USE_LIBTOOL= yes
+GNU_CONFIGURE= yes
+# XXX: plugin not enabled yet
+#CONFIGURE_ARGS+= --with-plugindir=${PREFIX}/plugins
+CONFIGURE_ARGS+= --disable-plugin
+CONFIGURE_ARGS+= --enable-mp3
+USE_TOOLS+= bash pkg-config
+# /bin/sh finds a syntax error without line number
+CONFIG_SHELL= ${LOCALBASE}/bin/bash
+
+.include "../../audio/SDL_mixer/buildlink3.mk"
+.include "../../audio/libmad/buildlink3.mk"
+.include "../../devel/SDL/buildlink3.mk"
+.include "../../devel/boost-libs/buildlink3.mk"
+.include "../../fonts/Xft2/buildlink3.mk"
+.include "../../graphics/gtkglext/buildlink3.mk"
+.include "../../graphics/jpeg/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../multimedia/libogg/buildlink3.mk"
+.include "../../textproc/libxml2/buildlink3.mk"
+.include "../../www/curl/buildlink3.mk"
+.include "../../x11/gtk2/buildlink3.mk"
+.include "../../mk/x11.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/multimedia/gnash/PLIST b/multimedia/gnash/PLIST
new file mode 100644
index 00000000000..a8c8a9b8261
--- /dev/null
+++ b/multimedia/gnash/PLIST
@@ -0,0 +1,13 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/12/05 15:15:24 wiz Exp $
+bin/gnash
+bin/gparser
+bin/gprocessor
+lib/libgnashamf.la
+lib/libgnashbackend.la
+lib/libgnashbase.la
+lib/libgnashgeo.la
+lib/libgnashgui.la
+lib/libgnashserver.la
+man/man1/gnash.1
+share/gnash/gnash_128_96.ico
+@dirrm share/gnash
diff --git a/multimedia/gnash/distinfo b/multimedia/gnash/distinfo
new file mode 100644
index 00000000000..cc2c64ba8a4
--- /dev/null
+++ b/multimedia/gnash/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/12/05 15:15:24 wiz Exp $
+
+SHA1 (gnash-0.7.2.tar.bz2) = e2bbd71d61665c435ed22339078070af196ea31a
+RMD160 (gnash-0.7.2.tar.bz2) = 0f5904b6c13ffb3b2b4a5f723d9fdacb0a8a6198
+Size (gnash-0.7.2.tar.bz2) = 1599810 bytes
+SHA1 (patch-aa) = 7f0b5e1d392fde54b0f06325c7087a56d1712abe
diff --git a/multimedia/gnash/patches/patch-aa b/multimedia/gnash/patches/patch-aa
new file mode 100644
index 00000000000..f2b5d82ac2f
--- /dev/null
+++ b/multimedia/gnash/patches/patch-aa
@@ -0,0 +1,29 @@
+$NetBSD: patch-aa,v 1.1.1.1 2006/12/05 15:15:24 wiz Exp $
+
+--- configure.orig 2006-11-17 19:09:10.000000000 +0000
++++ configure
+@@ -4303,13 +4303,13 @@ echo $ECHO_N "checking for library file
+ LIBPRE="lib"
+
+ if test "x$LIBPRE" != "x" ; then
+- if test x"$EXEEXT" == "exe"; then
++ if test x"$EXEEXT" = "exe"; then
+ LIBPRE="lib"
+ fi
+ fi
+
+ if test "x$LIBEXT" != "x" ; then
+- if test x"$EXEEXT" == "exe"; then
++ if test x"$EXEEXT" = "exe"; then
+ LIBEXT="dll"
+ fi
+ fi
+@@ -45388,7 +45388,7 @@ _ACEOF
+
+
+
+-if test x"$EXEEXT" == "exe"; then
++if test x"$EXEEXT" = "exe"; then
+
+ cat >>confdefs.h <<\_ACEOF
+ #define HAVE_WINSOCK 1