diff options
-rw-r--r-- | www/moz-linux-plugger/DESCR | 8 | ||||
-rw-r--r-- | www/moz-linux-plugger/Makefile | 31 | ||||
-rw-r--r-- | www/moz-linux-plugger/PLIST | 4 | ||||
-rw-r--r-- | www/moz-linux-plugger/distinfo | 5 | ||||
-rw-r--r-- | www/moz-linux-plugger/patches/patch-aa | 39 |
5 files changed, 87 insertions, 0 deletions
diff --git a/www/moz-linux-plugger/DESCR b/www/moz-linux-plugger/DESCR new file mode 100644 index 00000000000..cdae743f49e --- /dev/null +++ b/www/moz-linux-plugger/DESCR @@ -0,0 +1,8 @@ + Tired of getting teased by Windows users because your Mozilla isn't as +|<()()|_ as theirs? Well, your problems are almost solved. Plugger is a +multimedia plugin for Unix Netscape, Mozilla or Opera that handles +Quicktime, MPEG, MP2, AVI, SGI-movie, Tiff, DL, IFF-anim, MIDI, AU, WAV, +Soundtracker, and Commodore 64 audio files. And now, with Plugger 4.0, +MPEG audio and video can be played streaming. No more waiting! Plugger is +a very small plugin, because Plugger uses external programs to show/play +the different formats. diff --git a/www/moz-linux-plugger/Makefile b/www/moz-linux-plugger/Makefile new file mode 100644 index 00000000000..884fb9b5385 --- /dev/null +++ b/www/moz-linux-plugger/Makefile @@ -0,0 +1,31 @@ +# $NetBSD: Makefile,v 1.1.1.1 2003/01/05 04:13:43 rh Exp $ +# + +DISTNAME= ${PLUGGER}-linux-x86-glibc +PKGNAME= moz-linux-${PLUGGER} +WRKSRC= ${WRKDIR}/${PLUGGER} +CATEGORIES= www +MASTER_SITES= http://fredrik.hubbe.net/plugger/ + +MAINTAINER= rh@netbsd.org +HOMEPAGE= http://fredrik.hubbe.net/plugger.html +COMMENT= streaming multimedia plugin for Mozilla (Linux version) + +DEPENDS+= mozilla-linux-[0-9]*:../../www/mozilla-linux + +USE_BUILDLINK2= YES +NO_CONFIGURE= YES +NO_BUILD= YES + +PLUGGER_VERSION=4.0 +PLUGGER= plugger-${PLUGGER_VERSION} +MOZILLA_HOME= ${PREFIX}/lib/mozilla-linux +LDD= ${PREFIX}/emul/linux/usr/bin/ldd + +do-install: + cd ${WRKSRC} && \ + ${INSTALL_DATA} plugger.so ${MOZILLA_HOME}/plugins && \ + ${INSTALL_DATA} pluggerrc ${PREFIX}/emul/linux/etc && \ + ${INSTALL_PROGRAM} plugger-4.0 ${PREFIX}/emul/linux/usr/bin + +.include "../../mk/bsd.pkg.mk" diff --git a/www/moz-linux-plugger/PLIST b/www/moz-linux-plugger/PLIST new file mode 100644 index 00000000000..b639f0127ac --- /dev/null +++ b/www/moz-linux-plugger/PLIST @@ -0,0 +1,4 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2003/01/05 04:13:43 rh Exp $ +emul/linux/etc/pluggerrc +emul/linux/usr/bin/plugger-4.0 +lib/mozilla-linux/plugins/plugger.so diff --git a/www/moz-linux-plugger/distinfo b/www/moz-linux-plugger/distinfo new file mode 100644 index 00000000000..99c5a8caa1a --- /dev/null +++ b/www/moz-linux-plugger/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2003/01/05 04:13:43 rh Exp $ + +SHA1 (plugger-4.0-linux-x86-glibc.tar.gz) = 23a8d66da585ce98757f0071ac9d245a00f1b9b3 +Size (plugger-4.0-linux-x86-glibc.tar.gz) = 36409 bytes +SHA1 (patch-aa) = 8afd1ff0a6bc02d65c612f454751d5a840c2ea3b diff --git a/www/moz-linux-plugger/patches/patch-aa b/www/moz-linux-plugger/patches/patch-aa new file mode 100644 index 00000000000..d35ed3e468d --- /dev/null +++ b/www/moz-linux-plugger/patches/patch-aa @@ -0,0 +1,39 @@ +$NetBSD: patch-aa,v 1.1.1.1 2003/01/05 04:13:43 rh Exp $ + +--- pluggerrc.orig Thu Dec 6 05:14:01 2001 ++++ pluggerrc +@@ -36,6 +36,7 @@ audio/mid: midi,mid: MIDI audio file + audio/x-mid: midi,mid: MIDI audio file + audio/midi: midi,mid: MIDI audio file + audio/x-midi: midi,mid: MIDI audio file ++ : midiplay $file + : timidity -s 48000 -a -idqqqqqqq "$file" >/dev/null 2>/dev/null + : playmidi $file + +@@ -67,6 +68,7 @@ audio/x-mpeg: mpa,abs,mpega: MPEG audio + : amp -b 200 -q "$file" + : maplay "$file" + : mpeg3play "$file" ++ : gqmpeg --playlist_add_play "$file" + + audio/x-sidtune: sid,psid,dat: Commodore 64 audio + audio/sidtune: sid,psid,dat: Commodore 64 audio +@@ -83,8 +85,10 @@ audio/x-basic: au,snd: Basic audio file + + audio/wav:wav:Microsoft wave file + audio/x-wav:wav:Microsoft wave file ++ stream preload: audioplay + stream preload: splay -W + repeat swallow(alsaplayer): alsaplayer -q "$file" >/dev/null ++ : audioplay "$file" + : wavplay -q "$file" + stream preload: bplay 1>/dev/null 2>/dev/null + : bplay 1>/dev/null 2>/dev/null "$file" +@@ -124,6 +128,7 @@ image/x-portable-anymap: pnm: PBM Image + exits: xli -quiet -windowid $window "$file" + exits: xloadimage -quiet -windowid $window "$file" + exits: display -window $window -backdrop $file ++ : xv $file + + # This does not work :( + # swallow(XVroot) maxaspect: xv -nopos "$file" |