diff options
author | obache <obache@pkgsrc.org> | 2011-04-10 08:54:08 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2011-04-10 08:54:08 +0000 |
commit | 383b5f6c47f65cb87a735a94be5c6b77d40fb642 (patch) | |
tree | a5a3d9ce900119938f382119d761124c718ab719 /multimedia | |
parent | 27e25b0f5bb236a05dc01cc8efe439e22c50347e (diff) | |
download | pkgsrc-383b5f6c47f65cb87a735a94be5c6b77d40fb642.tar.gz |
Import gecko-mediaplayer-1.0.0 as multimedia/gecko-mediaplayer.
Gecko Media Player is a browser plugin that uses GNOME MPlayer to play media in
a browser. It should work with all browsers on Unix-ish systems (Linux, BSD,
Solaris) and use the NS4 API (Mozilla, Firefox, Opera, etc.). Gecko Media
Player is in heavy development, but I wanted to get some code drops out there
so that people can start using and testing it.
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/gecko-mediaplayer/DESCR | 5 | ||||
-rw-r--r-- | multimedia/gecko-mediaplayer/Makefile | 39 | ||||
-rw-r--r-- | multimedia/gecko-mediaplayer/PLIST | 24 | ||||
-rw-r--r-- | multimedia/gecko-mediaplayer/distinfo | 7 | ||||
-rw-r--r-- | multimedia/gecko-mediaplayer/patches/patch-Makefile.in | 17 | ||||
-rw-r--r-- | multimedia/gecko-mediaplayer/patches/patch-configure | 16 |
6 files changed, 108 insertions, 0 deletions
diff --git a/multimedia/gecko-mediaplayer/DESCR b/multimedia/gecko-mediaplayer/DESCR new file mode 100644 index 00000000000..8df79843968 --- /dev/null +++ b/multimedia/gecko-mediaplayer/DESCR @@ -0,0 +1,5 @@ +Gecko Media Player is a browser plugin that uses GNOME MPlayer to play media in +a browser. It should work with all browsers on Unix-ish systems (Linux, BSD, +Solaris) and use the NS4 API (Mozilla, Firefox, Opera, etc.). Gecko Media +Player is in heavy development, but I wanted to get some code drops out there +so that people can start using and testing it. diff --git a/multimedia/gecko-mediaplayer/Makefile b/multimedia/gecko-mediaplayer/Makefile new file mode 100644 index 00000000000..4be8a49e4b7 --- /dev/null +++ b/multimedia/gecko-mediaplayer/Makefile @@ -0,0 +1,39 @@ +# $NetBSD: Makefile,v 1.1.1.1 2011/04/10 08:54:08 obache Exp $ +# + +DISTNAME= gecko-mediaplayer-1.0.0 +CATEGORIES= multimedia www +MASTER_SITES= http://gecko-mediaplayer.googlecode.com/files/ + +MAINTAINER= obache@NetBSD.org +HOMEPAGE= http://code.google.com/p/gecko-mediaplayer/ +COMMENT= Multimedia browser plugin for Gecko based browsers +LICENSE= gnu-gpl-v2 + +DEPENDS+= gnome-mplayer-[0-9]*:../../multimedia/gnome-mplayer + +PKG_DESTDIR_SUPPORT= user-destdir + +GNU_CONFIGURE= yes +USE_LIBTOOL= yes +USE_PKGLOCALEDIR= yes +USE_LANGUAGES= c c++ +USE_TOOLS+= pkg-config msgfmt + +GCONF_SCHEMAS+= gecko-mediaplayer.schemas + +CONFIGURE_ARGS+= --enable-new-libxul +CONFIGURE_ARGS+= --with-plugin-dir=${PREFIX}/lib/netscape/plugins + +.include "../../devel/glib2/buildlink3.mk" +.include "../../devel/nspr/buildlink3.mk" +.include "../../devel/xulrunner/buildlink3.mk" +.include "../../sysutils/dbus/buildlink3.mk" +.include "../../sysutils/dbus-glib/buildlink3.mk" +.include "../../x11/libX11/buildlink3.mk" +.include "../../devel/GConf/schemas.mk" +.include "../../mk/dlopen.buildlink3.mk" +.if empty(BUILDLINK_LDADD.ldl) +BUILDLINK_TRANSFORM+= rm:-ldl +.endif +.include "../../mk/bsd.pkg.mk" diff --git a/multimedia/gecko-mediaplayer/PLIST b/multimedia/gecko-mediaplayer/PLIST new file mode 100644 index 00000000000..ea5ac1a75c2 --- /dev/null +++ b/multimedia/gecko-mediaplayer/PLIST @@ -0,0 +1,24 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2011/04/10 08:54:08 obache Exp $ +lib/netscape/plugins/gecko-mediaplayer-dvx.so +lib/netscape/plugins/gecko-mediaplayer-qt.so +lib/netscape/plugins/gecko-mediaplayer-rm.so +lib/netscape/plugins/gecko-mediaplayer-wmp.so +lib/netscape/plugins/gecko-mediaplayer.so +share/doc/gecko-mediaplayer/AUTHORS +share/doc/gecko-mediaplayer/COPYING +share/doc/gecko-mediaplayer/ChangeLog +share/doc/gecko-mediaplayer/INSTALL +share/doc/gecko-mediaplayer/NEWS +share/doc/gecko-mediaplayer/README +share/doc/gecko-mediaplayer/javascript.txt +share/gconf/schemas/gecko-mediaplayer.schemas +share/locale/cs/LC_MESSAGES/gecko-mediaplayer.mo +share/locale/de/LC_MESSAGES/gecko-mediaplayer.mo +share/locale/es/LC_MESSAGES/gecko-mediaplayer.mo +share/locale/fr/LC_MESSAGES/gecko-mediaplayer.mo +share/locale/it/LC_MESSAGES/gecko-mediaplayer.mo +share/locale/ja/LC_MESSAGES/gecko-mediaplayer.mo +share/locale/nl/LC_MESSAGES/gecko-mediaplayer.mo +share/locale/pl/LC_MESSAGES/gecko-mediaplayer.mo +share/locale/pt_BR/LC_MESSAGES/gecko-mediaplayer.mo +share/locale/tr/LC_MESSAGES/gecko-mediaplayer.mo diff --git a/multimedia/gecko-mediaplayer/distinfo b/multimedia/gecko-mediaplayer/distinfo new file mode 100644 index 00000000000..1b16dfd10fa --- /dev/null +++ b/multimedia/gecko-mediaplayer/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1.1.1 2011/04/10 08:54:08 obache Exp $ + +SHA1 (gecko-mediaplayer-1.0.0.tar.gz) = 702fbb47b45b92fcffbcd324983e96a8027bc075 +RMD160 (gecko-mediaplayer-1.0.0.tar.gz) = 218134c088669ae15ab12b7f008d988af3eba308 +Size (gecko-mediaplayer-1.0.0.tar.gz) = 263320 bytes +SHA1 (patch-Makefile.in) = 00468fc265a45ae8f3508f7a443944c5ad78d404 +SHA1 (patch-configure) = d54d511998fa606454380cf1961a6b1bcdc96026 diff --git a/multimedia/gecko-mediaplayer/patches/patch-Makefile.in b/multimedia/gecko-mediaplayer/patches/patch-Makefile.in new file mode 100644 index 00000000000..ddacb1601fd --- /dev/null +++ b/multimedia/gecko-mediaplayer/patches/patch-Makefile.in @@ -0,0 +1,17 @@ +$NetBSD: patch-Makefile.in,v 1.1.1.1 2011/04/10 08:54:08 obache Exp $ + +Schema source must be installed even if not do install-schemas. + +--- Makefile.in.orig 2010-11-05 16:13:49.000000000 +0000 ++++ Makefile.in +@@ -263,8 +263,8 @@ gecko_mediaplayerdoc_DATA = \ + NEWS\ + DOCS/tech/javascript.txt + +-@GCONF_SCHEMAS_INSTALL_TRUE@schemadir = @GCONF_SCHEMA_FILE_DIR@ +-@GCONF_SCHEMAS_INSTALL_TRUE@schema_DATA = gecko-mediaplayer.schemas ++schemadir = @GCONF_SCHEMA_FILE_DIR@ ++schema_DATA = gecko-mediaplayer.schemas + EXTRA_DIST = $(gecko_mediaplayerdoc_DATA) $(schema_DATA) gecko-mediaplayer.spec.in + all: config.h + $(MAKE) $(AM_MAKEFLAGS) all-recursive diff --git a/multimedia/gecko-mediaplayer/patches/patch-configure b/multimedia/gecko-mediaplayer/patches/patch-configure new file mode 100644 index 00000000000..20e7382fb19 --- /dev/null +++ b/multimedia/gecko-mediaplayer/patches/patch-configure @@ -0,0 +1,16 @@ +$NetBSD: patch-configure,v 1.1.1.1 2011/04/10 08:54:08 obache Exp $ + +* Portability fix. + http://code.google.com/p/gecko-mediaplayer/issues/detail?id=126 + +--- configure.orig 2010-11-05 16:13:48.000000000 +0000 ++++ configure +@@ -7216,7 +7216,7 @@ else + fi + + +- if test $usenewlibxul == yes; then ++ if test $usenewlibxul = yes; then + GECKO_CFLAGS="$GECKO_CFLAGS -DMOZ_NO_MOZALLOC" + + $as_echo "#define HAVE_NEW_XULRUNNER 1" >>confdefs.h |