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>
This commit is contained in:
Martin Wilke 2009-04-26 23:34:53 +00:00
parent 01a0aa5b28
commit b8abdfd3db
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=232802
5 changed files with 82 additions and 0 deletions

View File

@ -231,6 +231,7 @@
SUBDIR += gallery
SUBDIR += gallery2
SUBDIR += gatling
SUBDIR += gecko-mediaplayer
SUBDIR += gecko-sharp10
SUBDIR += gecko-sharp20
SUBDIR += geeklog

View File

@ -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>

View File

@ -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

View File

@ -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

View File

@ -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%%