aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2009-04-27 07:34:53 +0800
committermiwi <miwi@FreeBSD.org>2009-04-27 07:34:53 +0800
commit17fffa682b9143d71b9a911aa22158551b52e4f0 (patch)
treec0a2010490dacc558051051280197fb8fdd97a3d /www
parent1845d7b922845938948bae403807311382113b64 (diff)
downloadfreebsd-ports-gnome-17fffa682b9143d71b9a911aa22158551b52e4f0.tar.gz
freebsd-ports-gnome-17fffa682b9143d71b9a911aa22158551b52e4f0.tar.zst
freebsd-ports-gnome-17fffa682b9143d71b9a911aa22158551b52e4f0.zip
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.). WWW: http://kdekorte.googlepages.com/gecko-mediaplayer PR: ports/134009 Submitted by: Alexander Logvinov <ports at logvinov.com>
Diffstat (limited to 'www')
-rw-r--r--www/Makefile1
-rw-r--r--www/gecko-mediaplayer/Makefile59
-rw-r--r--www/gecko-mediaplayer/distinfo3
-rw-r--r--www/gecko-mediaplayer/pkg-descr6
-rw-r--r--www/gecko-mediaplayer/pkg-plist13
5 files changed, 82 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index be7b6f70ac8d..d20d8f31b1d4 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -231,6 +231,7 @@
SUBDIR += gallery
SUBDIR += gallery2
SUBDIR += gatling
+ SUBDIR += gecko-mediaplayer
SUBDIR += gecko-sharp10
SUBDIR += gecko-sharp20
SUBDIR += geeklog
diff --git a/www/gecko-mediaplayer/Makefile b/www/gecko-mediaplayer/Makefile
new file mode 100644
index 000000000000..f91bb9109334
--- /dev/null
+++ b/www/gecko-mediaplayer/Makefile
@@ -0,0 +1,59 @@
+# New ports collection makefile for: gecko-mediaplayer
+# Date created: 14 March 2009
+# Whom: Alexander Logvinov <ports@logvinov.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gecko-mediaplayer
+PORTVERSION= 0.9.5
+CATEGORIES= www multimedia gnome
+MASTER_SITES= GOOGLE_CODE
+
+MAINTAINER= ports@logvinov.com
+COMMENT= Multimedia browser plugin for Gecko based browsers
+
+LIB_DEPENDS= dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib
+RUN_DEPENDS= gnome-mplayer:${PORTSDIR}/multimedia/gnome-mplayer
+
+OPTIONS= GCONF "Use Gconf to store preferences" off \
+ NOCACHE "Disable caching of remote media to local storage" off
+
+GNU_CONFIGURE= yes
+USE_GETTEXT= yes
+USE_GNOME= glib20
+USE_GECKO= firefox mozilla seamonkey libxul
+USE_WEBPLUGINS= native
+WEBPLUGINS_FILES= ${PORTNAME}-dvx.so ${PORTNAME}-qt.so ${PORTNAME}-rm.so \
+ ${PORTNAME}-wmp.so ${PORTNAME}.so
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+PORTDOCS= README COPYING AUTHORS ChangeLog INSTALL NEWS javascript.txt
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_GCONF)
+USE_GNOME+= gconf2
+CONFIGURE_ARGS+= --with-gconf
+GCONF_SCHEMAS= ${PORTNAME}.schemas
+.else
+CONFIGURE_ARGS+= --without-gconf --disable-schemas-install
+.endif
+
+.if defined(WITH_NOCACHE)
+CONFIGURE_ARGS+= --disable-caching
+.endif
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|$$(libdir)/mozilla/plugins|${WEBPLUGINS_DIR}|' \
+ ${WRKSRC}/src/Makefile.in
+.if defined(NOPORTDOCS)
+ @${REINPLACE_CMD} -e \
+ 's|install-gecko_mediaplayerdocDATA install-schemaDATA|install-schemaDATA|' \
+ ${WRKSRC}/Makefile.in
+.endif
+
+.include "${PORTSDIR}/www/mozilla/bsd.gecko.mk"
+.include "${PORTSDIR}/www/firefox/Makefile.webplugins"
+.include <bsd.port.post.mk>
diff --git a/www/gecko-mediaplayer/distinfo b/www/gecko-mediaplayer/distinfo
new file mode 100644
index 000000000000..28b4175a71c2
--- /dev/null
+++ b/www/gecko-mediaplayer/distinfo
@@ -0,0 +1,3 @@
+MD5 (gecko-mediaplayer-0.9.5.tar.gz) = 95b83f30a41769e14a3c7bbb422b514e
+SHA256 (gecko-mediaplayer-0.9.5.tar.gz) = 60cd30e5d44e0ee1e3b96309c3767f5f2eb1cbc29d3d49b7c624cfa60579bf16
+SIZE (gecko-mediaplayer-0.9.5.tar.gz) = 220301
diff --git a/www/gecko-mediaplayer/pkg-descr b/www/gecko-mediaplayer/pkg-descr
new file mode 100644
index 000000000000..0ecba0d8a5cc
--- /dev/null
+++ b/www/gecko-mediaplayer/pkg-descr
@@ -0,0 +1,6 @@
+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.).
+
+WWW: http://kdekorte.googlepages.com/gecko-mediaplayer
diff --git a/www/gecko-mediaplayer/pkg-plist b/www/gecko-mediaplayer/pkg-plist
new file mode 100644
index 000000000000..6ccf863478bd
--- /dev/null
+++ b/www/gecko-mediaplayer/pkg-plist
@@ -0,0 +1,13 @@
+%%WEBPLUGINS_DIR%%/gecko-mediaplayer-dvx.so
+%%WEBPLUGINS_DIR%%/gecko-mediaplayer-qt.so
+%%WEBPLUGINS_DIR%%/gecko-mediaplayer-rm.so
+%%WEBPLUGINS_DIR%%/gecko-mediaplayer-wmp.so
+%%WEBPLUGINS_DIR%%/gecko-mediaplayer.so
+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/pl/LC_MESSAGES/gecko-mediaplayer.mo
+share/locale/pt_BR/LC_MESSAGES/gecko-mediaplayer.mo
+share/locale/tr/LC_MESSAGES/gecko-mediaplayer.mo
+@dirrmtry %%WEBPLUGINS_DIR%%