pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/multimedia/mplayer-plugin-firefox Initial import of mp...
details: https://anonhg.NetBSD.org/pkgsrc/rev/5b69d77f414b
branches: trunk
changeset: 483665:5b69d77f414b
user: xtraeme <xtraeme%pkgsrc.org@localhost>
date: Wed Nov 17 02:31:34 2004 +0000
description:
Initial import of mplayer-plugin-firefox-2.70.
Plugin for Gecko based browsers that uses mplayer to play videos from
websites.
diffstat:
multimedia/mplayer-plugin-firefox/DESCR | 2 +
multimedia/mplayer-plugin-firefox/Makefile | 12 ++
multimedia/mplayer-plugin-firefox/Makefile.common | 71 ++++++++++++
multimedia/mplayer-plugin-firefox/PLIST | 6 +
multimedia/mplayer-plugin-firefox/distinfo | 9 +
multimedia/mplayer-plugin-firefox/files/mozilla-nspr.pc.in | 12 ++
multimedia/mplayer-plugin-firefox/files/mozilla-plugin.pc.in | 10 +
multimedia/mplayer-plugin-firefox/files/mozilla-xpcom.pc.in | 11 +
multimedia/mplayer-plugin-firefox/patches/patch-aa | 12 ++
multimedia/mplayer-plugin-firefox/patches/patch-ab | 9 +
multimedia/mplayer-plugin-firefox/patches/patch-ac | 9 +
multimedia/mplayer-plugin-firefox/patches/patch-ad | 9 +
multimedia/mplayer-plugin-firefox/patches/patch-ae | 27 ++++
13 files changed, 199 insertions(+), 0 deletions(-)
diffs (251 lines):
diff -r 0135cacd5416 -r 5b69d77f414b multimedia/mplayer-plugin-firefox/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/mplayer-plugin-firefox/DESCR Wed Nov 17 02:31:34 2004 +0000
@@ -0,0 +1,2 @@
+Plugin for Gecko based browsers that uses mplayer to play videos from
+websites.
diff -r 0135cacd5416 -r 5b69d77f414b multimedia/mplayer-plugin-firefox/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/mplayer-plugin-firefox/Makefile Wed Nov 17 02:31:34 2004 +0000
@@ -0,0 +1,12 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/11/17 02:31:34 xtraeme Exp $
+#
+
+BROWSER= firefox
+
+CONFIGURE_ARGS+= --disable-gtk2
+CONFIGURE_ARGS+= --enable-gtk1
+
+.include "Makefile.common"
+.include "../../www/firefox/buildlink3.mk"
+.include "../../x11/gtk/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 0135cacd5416 -r 5b69d77f414b multimedia/mplayer-plugin-firefox/Makefile.common
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/mplayer-plugin-firefox/Makefile.common Wed Nov 17 02:31:34 2004 +0000
@@ -0,0 +1,71 @@
+# $NetBSD: Makefile.common,v 1.1.1.1 2004/11/17 02:31:34 xtraeme Exp $
+#
+
+DISTNAME= mplayerplug-in-2.70
+PKGNAME= mplayer-plugin-${BROWSER}-2.70
+CATEGORIES= multimedia
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mplayerplug-in/}
+
+MAINTAINER= xtraeme%NetBSD.org@localhost
+HOMEPAGE= http://mplayerplug-in.sourceforge.net/
+COMMENT= Mplayer plug-in for ${BROWSER}
+
+DEPENDS+= mplayer>=0.92:../../multimedia/mplayer
+
+WRKSRC= ${WRKDIR}/mplayerplug-in
+GNU_CONFIGURE= yes
+USE_BUILDLINK3= yes
+USE_GNU_TOOLS+= make
+USE_LANGUAGES+= c++
+USE_PKGINSTALL= yes
+USE_X11= yes
+
+FILESDIR= ${.CURDIR}/../../multimedia/mplayer-plugin-firefox/files
+PATCHDIR= ${.CURDIR}/../../multimedia/mplayer-plugin-firefox/patches
+DISTINFO_FILE= ${.CURDIR}/../../multimedia/mplayer-plugin-firefox/distinfo
+PLIST_SRC= ${.CURDIR}/../../multimedia/mplayer-plugin-firefox/PLIST
+DESCR_SRC= ${.CURDIR}/../../multimedia/mplayer-plugin-firefox/DESCR
+
+PLIST_SUBST+= BROWSER=${BROWSER}
+
+post-extract:
+.for f in nspr xpcom plugin
+ @${SED} \
+ -e "s|@PREFIX@|${PREFIX}|g" \
+ -e "s|@LIBDIR@|${PREFIX}/lib/${BROWSER}|g" \
+ -e "s|@INCDIR@|${PREFIX}/include/${BROWSER}|g" \
+ -e "s|@X11BASELIB@|${X11BASE}/lib|g" \
+ ${FILESDIR}/mozilla-${f}.pc.in > ${WRKSRC}/mozilla-${f}.pc
+.endfor
+
+post-buildlink:
+ @${MKDIR} ${BUILDLINK_DIR}/lib/pkgconfig
+ @${CP} ${WRKSRC}/*.pc ${BUILDLINK_DIR}/lib/pkgconfig
+
+SUBST_CLASSES+= conf
+SUBST_STAGE.conf= post-patch
+SUBST_FILES.conf= Source/plugin-setup.cpp
+SUBST_SED.conf= -e "s|/etc/|${PKG_SYSCONFDIR}/|g"
+SUBST_MESSAGE.conf= "Fixing harcoded paths."
+
+EGDIR= ${PREFIX}/share/examples/mplayer-plugin-${BROWSER}
+CONF_FILES= # empty
+.for f in conf types
+CONF_FILES+= ${EGDIR}/mplayerplug-in.${f} \
+ ${PKG_SYSCONFDIR}/mplayerplug-in.${f}
+.endfor
+
+do-install:
+ ${INSTALL_DATA_DIR} ${EGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/mplayerplug-in.conf ${EGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/mplayerplug-in.types ${EGDIR}
+.if !exists(${PREFIX}/lib/${BROWSER}/plugins)
+ ${INSTALL_DATA_DIR} ${PREFIX}/lib/${BROWSER}/plugins
+.endif
+ ${INSTALL_LIB} ${WRKSRC}/mplayerplug-in.so \
+ ${PREFIX}/lib/${BROWSER}/plugins
+ ${INSTALL_DATA} ${WRKSRC}/mplayerplug-in.xpt \
+ ${PREFIX}/lib/${BROWSER}/plugins
+
+.include "../../devel/pkgconfig/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
diff -r 0135cacd5416 -r 5b69d77f414b multimedia/mplayer-plugin-firefox/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/mplayer-plugin-firefox/PLIST Wed Nov 17 02:31:34 2004 +0000
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/11/17 02:31:34 xtraeme Exp $
+share/examples/mplayer-plugin-${BROWSER}/mplayerplug-in.conf
+share/examples/mplayer-plugin-${BROWSER}/mplayerplug-in.types
+lib/${BROWSER}/plugins/mplayerplug-in.so
+lib/${BROWSER}/plugins/mplayerplug-in.xpt
+@dirrm share/examples/mplayer-plugin-${BROWSER}
diff -r 0135cacd5416 -r 5b69d77f414b multimedia/mplayer-plugin-firefox/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/mplayer-plugin-firefox/distinfo Wed Nov 17 02:31:34 2004 +0000
@@ -0,0 +1,9 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/11/17 02:31:34 xtraeme Exp $
+
+SHA1 (mplayerplug-in-2.70.tar.gz) = cc5d34060f64cea07f5696c5ad273f24b7fd4259
+Size (mplayerplug-in-2.70.tar.gz) = 167973 bytes
+SHA1 (patch-aa) = 2a6724f536ad8a08c7766dfb269458df12bb3603
+SHA1 (patch-ab) = 950bec845ef3120e8b63a2343e79d5ded99a8bfa
+SHA1 (patch-ac) = caf4406c81b624dd9e05f0547d8a2ac700341454
+SHA1 (patch-ad) = 06699a71bb0f8da969d11a812a544e3aefa4d9a7
+SHA1 (patch-ae) = c5a073ba5895a3474b6aaaae2cc7f82e0e040ef3
diff -r 0135cacd5416 -r 5b69d77f414b multimedia/mplayer-plugin-firefox/files/mozilla-nspr.pc.in
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/mplayer-plugin-firefox/files/mozilla-nspr.pc.in Wed Nov 17 02:31:34 2004 +0000
@@ -0,0 +1,12 @@
+prefix=@PREFIX@
+exec_prefix=@PREFIX@
+libdir=@LIBDIR@
+includedir=@INCDIR@
+
+Name: NSPR
+Description: The Netscape Portable Runtime
+Version: 0.1
+Libs: -L${libdir} -Wl,-R${libdir} -L@X11BASELIB@ -Wl,-R@X11BASELIB@ \
+ -lplds4 -lplc4 -lnspr4
+Cflags: -I${includedir}/nspr
+
diff -r 0135cacd5416 -r 5b69d77f414b multimedia/mplayer-plugin-firefox/files/mozilla-plugin.pc.in
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/mplayer-plugin-firefox/files/mozilla-plugin.pc.in Wed Nov 17 02:31:34 2004 +0000
@@ -0,0 +1,10 @@
+prefix=@PREFIX@
+exec_prefix=@PREFIX@
+libdir=@LIBDIR@
+includedir=@INCDIR@
+
+Name: Mozilla Plug-In API
+Description: Mozilla Plug-In API
+Version: 0.1
+Requires: mozilla-xpcom = 0.1
+Cflags: -I${includedir}/java -I${includedir}/plugin
diff -r 0135cacd5416 -r 5b69d77f414b multimedia/mplayer-plugin-firefox/files/mozilla-xpcom.pc.in
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/mplayer-plugin-firefox/files/mozilla-xpcom.pc.in Wed Nov 17 02:31:34 2004 +0000
@@ -0,0 +1,11 @@
+prefix=@PREFIX@
+exec_prefix=@PREFIX@
+libdir=@LIBDIR@
+includedir=@INCDIR@
+
+Name: XPCOM
+Description: The Mozilla Cross Platform Component Library
+Version: 0.1
+Requires: mozilla-nspr = 0.1
+Libs: -L${libdir} -lxpcom
+Cflags: -I${includedir}/xpcom -I${includedir}/string
diff -r 0135cacd5416 -r 5b69d77f414b multimedia/mplayer-plugin-firefox/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/mplayer-plugin-firefox/patches/patch-aa Wed Nov 17 02:31:34 2004 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/11/17 02:31:34 xtraeme Exp $
+
+--- Source/plugin.cpp.orig 2004-11-17 02:27:11.000000000 +0100
++++ Source/plugin.cpp 2004-11-17 02:27:25.000000000 +0100
+@@ -34,6 +34,7 @@
+ *
+ * ***** END LICENSE BLOCK ***** */
+
++#include <string.h>
+ #include "plugin.h"
+ #include "nsIServiceManager.h"
+ #include "nsIMemory.h"
diff -r 0135cacd5416 -r 5b69d77f414b multimedia/mplayer-plugin-firefox/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/mplayer-plugin-firefox/patches/patch-ab Wed Nov 17 02:31:34 2004 +0000
@@ -0,0 +1,9 @@
+$NetBSD: patch-ab,v 1.1.1.1 2004/11/17 02:31:34 xtraeme Exp $
+
+--- Source/plugin-support.cpp.orig 2004-11-17 02:28:45.000000000 +0100
++++ Source/plugin-support.cpp 2004-11-17 02:29:03.000000000 +0100
+@@ -1,3 +1,4 @@
++#include <string.h>
+ #include "plugin.h"
+ #include <strings.h>
+ #include <errno.h>
diff -r 0135cacd5416 -r 5b69d77f414b multimedia/mplayer-plugin-firefox/patches/patch-ac
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/mplayer-plugin-firefox/patches/patch-ac Wed Nov 17 02:31:34 2004 +0000
@@ -0,0 +1,9 @@
+$NetBSD: patch-ac,v 1.1.1.1 2004/11/17 02:31:34 xtraeme Exp $
+
+--- Source/plugin-setup.cpp.orig 2004-11-17 02:30:00.000000000 +0100
++++ Source/plugin-setup.cpp 2004-11-17 02:30:12.000000000 +0100
+@@ -1,3 +1,4 @@
++#include <string.h>
+ #include "plugin.h"
+
+ #ifndef STATICDECLS
diff -r 0135cacd5416 -r 5b69d77f414b multimedia/mplayer-plugin-firefox/patches/patch-ad
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/mplayer-plugin-firefox/patches/patch-ad Wed Nov 17 02:31:34 2004 +0000
@@ -0,0 +1,9 @@
+$NetBSD: patch-ad,v 1.1.1.1 2004/11/17 02:31:34 xtraeme Exp $
+
+--- Source/plugin-list.cpp.orig 2004-11-17 02:32:12.000000000 +0100
++++ Source/plugin-list.cpp 2004-11-17 02:32:32.000000000 +0100
+@@ -1,3 +1,4 @@
++#include <string.h>
+ #include "plugin.h"
+ #include <errno.h>
+ #ifndef _GNU_SOURCE
diff -r 0135cacd5416 -r 5b69d77f414b multimedia/mplayer-plugin-firefox/patches/patch-ae
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/mplayer-plugin-firefox/patches/patch-ae Wed Nov 17 02:31:34 2004 +0000
@@ -0,0 +1,27 @@
+$NetBSD: patch-ae,v 1.1.1.1 2004/11/17 02:31:35 xtraeme Exp $
+
+--- Source/plugin-threads.cpp.orig 2004-11-17 02:33:15.000000000 +0100
++++ Source/plugin-threads.cpp 2004-11-17 02:34:59.000000000 +0100
+@@ -1,3 +1,4 @@
++#include <string.h>
+ #include "plugin.h"
+ #include <sys/types.h>
+ #include <sys/stat.h>
+@@ -6,6 +7,7 @@
+ #include <fcntl.h>
+ #include <signal.h>
+ #include <sys/wait.h>
++#include <sys/param.h>
+
+ extern int DEBUG;
+
+@@ -202,7 +204,9 @@
+ // make the operations on the control pipe non-blocking
+ flags = fcntl(*control, F_GETFL, 0);
+ flags |= O_NONBLOCK;
++#ifndef BSD
+ flags |= O_NDELAY;
++#endif
+ fcntl(*control, F_SETFL, flags);
+
+ return fdopen(filedesr[0], "r");
Home |
Main Index |
Thread Index |
Old Index