summaryrefslogtreecommitdiff
path: root/www/moz-bin-plugger
diff options
context:
space:
mode:
authorrh <rh>2003-04-19 03:50:50 +0000
committerrh <rh>2003-04-19 03:50:50 +0000
commitabfa86984063414d1ca599bafad63ea9bbe2d4e5 (patch)
tree561b2bf1433c8a78f41930a7b4de6a7df7005300 /www/moz-bin-plugger
parentf1cc6ac0d5f84562991de06301fb120d07ed9e49 (diff)
downloadpkgsrc-abfa86984063414d1ca599bafad63ea9bbe2d4e5.tar.gz
Re-import of moz-linux-plugger as moz-bin-plugger-4.0.
This fixes the broken dependency caused by the mozilla-linux -> mozilla-bin transition.
Diffstat (limited to 'www/moz-bin-plugger')
-rw-r--r--www/moz-bin-plugger/DESCR8
-rw-r--r--www/moz-bin-plugger/Makefile32
-rw-r--r--www/moz-bin-plugger/PLIST4
-rw-r--r--www/moz-bin-plugger/distinfo5
-rw-r--r--www/moz-bin-plugger/patches/patch-aa39
5 files changed, 88 insertions, 0 deletions
diff --git a/www/moz-bin-plugger/DESCR b/www/moz-bin-plugger/DESCR
new file mode 100644
index 00000000000..cdae743f49e
--- /dev/null
+++ b/www/moz-bin-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-bin-plugger/Makefile b/www/moz-bin-plugger/Makefile
new file mode 100644
index 00000000000..c1113489a07
--- /dev/null
+++ b/www/moz-bin-plugger/Makefile
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/04/19 03:50:50 rh Exp $
+#
+
+DISTNAME= ${PLUGGER}-linux-x86-glibc
+PKGNAME= moz-bin-${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-bin-[0-9]*:../../www/mozilla-bin
+CONFLICTS+= moz-linux-plugger-[0-9]*
+
+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-bin-plugger/PLIST b/www/moz-bin-plugger/PLIST
new file mode 100644
index 00000000000..537a17e9f89
--- /dev/null
+++ b/www/moz-bin-plugger/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/04/19 03:50:50 rh Exp $
+emul/linux/etc/pluggerrc
+emul/linux/usr/bin/plugger-4.0
+lib/mozilla-linux/plugins/plugger.so
diff --git a/www/moz-bin-plugger/distinfo b/www/moz-bin-plugger/distinfo
new file mode 100644
index 00000000000..b3300363857
--- /dev/null
+++ b/www/moz-bin-plugger/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/04/19 03:50:50 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-bin-plugger/patches/patch-aa b/www/moz-bin-plugger/patches/patch-aa
new file mode 100644
index 00000000000..da6e2f0fe09
--- /dev/null
+++ b/www/moz-bin-plugger/patches/patch-aa
@@ -0,0 +1,39 @@
+$NetBSD: patch-aa,v 1.1.1.1 2003/04/19 03:50:50 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"