From 5f1a08ce6c267ccad9eab086ee66316664791877 Mon Sep 17 00:00:00 2001 From: jolan Date: Thu, 21 Sep 2006 15:48:10 +0000 Subject: [PATCH] gnash-20060919, flash player with firefox browser plugin, from deanna phillips with some tweaks by me. not really usable imho, but getting there --- www/gnash/Makefile | 57 ++++++++++++++++++++++ www/gnash/distinfo | 4 ++ www/gnash/patches/patch-configure_ac | 12 +++++ www/gnash/patches/patch-plugin_Makefile_am | 12 +++++ www/gnash/pkg/DESCR | 2 + www/gnash/pkg/PLIST | 20 ++++++++ 6 files changed, 107 insertions(+) create mode 100644 www/gnash/Makefile create mode 100644 www/gnash/distinfo create mode 100644 www/gnash/patches/patch-configure_ac create mode 100644 www/gnash/patches/patch-plugin_Makefile_am create mode 100644 www/gnash/pkg/DESCR create mode 100644 www/gnash/pkg/PLIST diff --git a/www/gnash/Makefile b/www/gnash/Makefile new file mode 100644 index 00000000000..417294beea0 --- /dev/null +++ b/www/gnash/Makefile @@ -0,0 +1,57 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2006/09/21 15:48:10 jolan Exp $ +SHARED_ONLY= Yes + +COMMENT= "flash player with firefox browser plugin" +DISTNAME= gnash-20060919 +.for _lib in gnashasobjs gnashbackend gnashbase gnashgeo gnashserver \ + gnashamf gnashgui gnashplugin +SHARED_LIBS+= ${_lib} 0.0 +.endfor +CATEGORIES= www +MASTER_SITES= http://mirrors.protection.cx/~jolan/ + +HOMEPAGE= http://www.gnu.org/software/gnash/ + +MAINTAINER= Deanna Phillips + +# GPL +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +LIBTOOL_FLAGS+= --tag=disable-static +MODULES= gettext +NO_REGRESS= Yes +USE_GMAKE= Yes +USE_LIBTOOL= Yes +USE_X11= Yes + +LIB_DEPENDS+= atk-1.0.>=1011::devel/atk \ + SDL_mixer.>=3::devel/sdl-mixer \ + curl.>=4::net/curl \ + xml2.>=9.0::textproc/libxml \ + gtkglext-x11-1.0.>=0,gdkglext-x11-1.0.>=0::x11/gtkglext + +WANTLIB= GL GLU ICE SM X11 Xext Xmu Xrender Xt c crypto fontconfig \ + freetype m pthread ssl stdc++ usbhid z \ + SDL cairo gdk-x11-2.0 gdk_pixbuf-2.0 glib-2.0 glitz \ + gmodule-2.0 gobject-2.0 gtk-x11-2.0 jpeg mikmod ogg \ + pango-1.0 pangocairo-1.0 pangoft2-1.0 pangox-1.0 png smpeg \ + vorbis vorbisfile + +AUTOCONF_VERSION=2.59 +AUTOMAKE_VERSION=1.9 +CONFIGURE_STYLE=gnu +CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" +CONFIGURE_ARGS+=--enable-plugin \ + --enable-sound=SDL \ + --with-plugindir=${LOCALBASE}/lib/mozilla-plugins \ + --without-arts + +pre-configure: + cd ${WRKSRC} && env AUTOCONF_VERSION=${AUTOCONF_VERSION} \ + AUTOMAKE_VERSION=${AUTOMAKE_VERSION} ./autogen.sh + +.include diff --git a/www/gnash/distinfo b/www/gnash/distinfo new file mode 100644 index 00000000000..e72edaa8d30 --- /dev/null +++ b/www/gnash/distinfo @@ -0,0 +1,4 @@ +MD5 (gnash-20060919.tar.gz) = 02ea7dd3f47f81274f5f0953db6a8cf4 +RMD160 (gnash-20060919.tar.gz) = fbb164fe6108fb6796ccc212e4dba8afcc79eaab +SHA1 (gnash-20060919.tar.gz) = 99aa12a05fc5c24598117fabd53962b217515e4a +SIZE (gnash-20060919.tar.gz) = 3838966 diff --git a/www/gnash/patches/patch-configure_ac b/www/gnash/patches/patch-configure_ac new file mode 100644 index 00000000000..bb27faed002 --- /dev/null +++ b/www/gnash/patches/patch-configure_ac @@ -0,0 +1,12 @@ +$OpenBSD: patch-configure_ac,v 1.1.1.1 2006/09/21 15:48:10 jolan Exp $ +--- configure.ac.orig Tue Sep 19 08:39:04 2006 ++++ configure.ac Wed Sep 20 15:54:37 2006 +@@ -456,7 +456,7 @@ if test x"$pthreads" = x"yes"; then + fi + fi + +-AX_GCC_ARCHFLAG(no) ++#AX_GCC_ARCHFLAG(no) + + dnl enable more warnings. These should be cleaned up to make Gnash a + dnl better project, but for now they generate too many messages, diff --git a/www/gnash/patches/patch-plugin_Makefile_am b/www/gnash/patches/patch-plugin_Makefile_am new file mode 100644 index 00000000000..7623e4bff2d --- /dev/null +++ b/www/gnash/patches/patch-plugin_Makefile_am @@ -0,0 +1,12 @@ +$OpenBSD: patch-plugin_Makefile_am,v 1.1.1.1 2006/09/21 15:48:10 jolan Exp $ +--- plugin/Makefile.am.orig Sun Sep 17 15:45:59 2006 ++++ plugin/Makefile.am Sun Sep 17 19:04:07 2006 +@@ -158,7 +158,7 @@ install-pluginLTLIBRARIES: $(plugin_LTLI + # cp .libs/libgnashplugin.so $(DESTDIR)$(plugindir)/libgnashplugin.so + $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $(plugin_LTLIBRARIES) "$(DESTDIR)$(plugindir)/$(plugin_LTLIBRARIES)" + if PLUGIN_LINK_UNDEFINED +- cp $(DESTDIR)$(plugindir)/.libs/libgnashplugin.so.0.* $(DESTDIR)$(plugindir)/libgnashplugin.so ++# cp $(DESTDIR)$(plugindir)/.libs/libgnashplugin.so.0.* $(DESTDIR)$(plugindir)/libgnashplugin.so + endif + $(RM) $(DESTDIR)$(plugindir)/libgnashplugin.*a $(DESTDIR)$(plugindir)/libgnashplugin.so.0 $(DESTDIR)$(plugindir)/libgnashplugin.*.T + diff --git a/www/gnash/pkg/DESCR b/www/gnash/pkg/DESCR new file mode 100644 index 00000000000..5b0af44ea7e --- /dev/null +++ b/www/gnash/pkg/DESCR @@ -0,0 +1,2 @@ +Gnash is a Free Flash movie player, which works either standalone, or +as a Firefox/Mozilla plugin. diff --git a/www/gnash/pkg/PLIST b/www/gnash/pkg/PLIST new file mode 100644 index 00000000000..d9b6806e208 --- /dev/null +++ b/www/gnash/pkg/PLIST @@ -0,0 +1,20 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2006/09/21 15:48:10 jolan Exp $ +bin/gnash +bin/gparser +bin/gprocessor +lib/libgnashamf.la +@lib lib/libgnashamf.so.${LIBgnashamf_VERSION} +lib/libgnashbackend.la +@lib lib/libgnashbackend.so.${LIBgnashbackend_VERSION} +lib/libgnashbase.la +@lib lib/libgnashbase.so.${LIBgnashbase_VERSION} +lib/libgnashgeo.la +@lib lib/libgnashgeo.so.${LIBgnashgeo_VERSION} +lib/libgnashgui.la +@lib lib/libgnashgui.so.${LIBgnashgui_VERSION} +lib/libgnashserver.la +@lib lib/libgnashserver.so.${LIBgnashserver_VERSION} +lib/mozilla-plugins/ +lib/mozilla-plugins/libgnashplugin.so +share/gnash/ +share/gnash/gnash_128_96.ico