diff options
author | ben <ben@pkgsrc.org> | 2003-12-24 00:09:55 +0000 |
---|---|---|
committer | ben <ben@pkgsrc.org> | 2003-12-24 00:09:55 +0000 |
commit | e4473afe582e9262b4f58c90b5e27d09fbafedc0 (patch) | |
tree | 74f5635d818bd25312dd53e2b8daca2f018ab299 | |
parent | d803e11ad1308c6b521a10ee1d2dbe71aafebb00 (diff) | |
download | pkgsrc-e4473afe582e9262b4f58c90b5e27d09fbafedc0.tar.gz |
Import xmms-meta-input-0.4, a XMMS plugin wrapper for shell scripts.
This plugin allows you to write XMMS plugins as Unix programs. You write
a program that understands the very simple commands on its command line
and outputs raw sound on its standard output and you're done with it.
What's good (and in fact the purpose of this plugin) is that you can
write input plugins for XMMS in C shell or Bash! Of course, you won't
be able to do much number crunching in a shell script, but you can use
it to run other programs to do the actual playing.
-rw-r--r-- | audio/xmms-meta-input/DEINSTALL | 17 | ||||
-rw-r--r-- | audio/xmms-meta-input/DESCR | 8 | ||||
-rw-r--r-- | audio/xmms-meta-input/MESSAGE | 8 | ||||
-rw-r--r-- | audio/xmms-meta-input/Makefile | 24 | ||||
-rw-r--r-- | audio/xmms-meta-input/PLIST | 12 | ||||
-rw-r--r-- | audio/xmms-meta-input/buildlink2.mk | 18 | ||||
-rw-r--r-- | audio/xmms-meta-input/distinfo | 6 | ||||
-rw-r--r-- | audio/xmms-meta-input/patches/patch-aa | 10 | ||||
-rw-r--r-- | audio/xmms-meta-input/patches/patch-ab | 14 |
9 files changed, 117 insertions, 0 deletions
diff --git a/audio/xmms-meta-input/DEINSTALL b/audio/xmms-meta-input/DEINSTALL new file mode 100644 index 00000000000..5ceb82d4784 --- /dev/null +++ b/audio/xmms-meta-input/DEINSTALL @@ -0,0 +1,17 @@ +#!/bin/sh +# +# $NetBSD: DEINSTALL,v 1.1.1.1 2003/12/24 00:09:55 ben Exp $ +# + +case $2 in + DEINSTALL) cat << EOF + +============================================================= +The xmms-meta-input player scripts were not wiped out by +this deletion process. If you don't want them around, +please remove ${PKG_PREFIX}/lib/xmms/Input/Meta. +============================================================= + +EOF + ;; +esac diff --git a/audio/xmms-meta-input/DESCR b/audio/xmms-meta-input/DESCR new file mode 100644 index 00000000000..1f7e8c7048e --- /dev/null +++ b/audio/xmms-meta-input/DESCR @@ -0,0 +1,8 @@ +This plugin allows you to write XMMS plugins as Unix programs. You write +a program that understands the very simple commands on its command line +and outputs raw sound on its standard output and you're done with it. + +What's good (and in fact the purpose of this plugin) is that you can +write input plugins for XMMS in C shell or Bash! Of course, you won't +be able to do much number crunching in a shell script, but you can use +it to run other programs to do the actual playing. diff --git a/audio/xmms-meta-input/MESSAGE b/audio/xmms-meta-input/MESSAGE new file mode 100644 index 00000000000..2156635b80a --- /dev/null +++ b/audio/xmms-meta-input/MESSAGE @@ -0,0 +1,8 @@ +=========================================================================== +$NetBSD: MESSAGE,v 1.1.1.1 2003/12/24 00:09:55 ben Exp $ + +You will need to configure xmms-meta-input by adding player scripts to +${PKG_PREFIX}/lib/xmms/Input/Meta. Example player scripts may be found +in ${PKG_PREFIX}/share/xmms-meta-input. + +=========================================================================== diff --git a/audio/xmms-meta-input/Makefile b/audio/xmms-meta-input/Makefile new file mode 100644 index 00000000000..7dedeef020f --- /dev/null +++ b/audio/xmms-meta-input/Makefile @@ -0,0 +1,24 @@ +# $NetBSD: Makefile,v 1.1.1.1 2003/12/24 00:09:55 ben Exp $ +# + +DISTNAME= xmms-meta-input-0.4 +CATEGORIES= audio +MASTER_SITES= http://www.corbac.com/Data/Sources/ + +MAINTAINER= ben@netbsd.org +HOMEPAGE= http://www.corbac.com/page3.html +COMMENT= XMMS plugin wrapper for shell scripts + +USE_BUILDLINK2= yes + +do-install: + ${INSTALL_DATA} ${WRKSRC}/libmetainput.so ${PREFIX}/lib/xmms/Input + ${INSTALL_DATA_DIR} ${PREFIX}/lib/xmms/Input/Meta + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/xmms-input + ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/xmms-input + ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/xmms-meta-input + cd ${WRKSRC}/Examples && ${INSTALL_SCRIPT} dsp_input esound_link midi \ + modules mp3 spc vorbis ${PREFIX}/share/examples/xmms-meta-input + +.include "../../audio/xmms/buildlink2.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/audio/xmms-meta-input/PLIST b/audio/xmms-meta-input/PLIST new file mode 100644 index 00000000000..2f008d9e563 --- /dev/null +++ b/audio/xmms-meta-input/PLIST @@ -0,0 +1,12 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2003/12/24 00:09:55 ben Exp $ +lib/xmms/Input/libmetainput.so +share/doc/xmms-input/README +share/examples/xmms-meta-input/dsp_input +share/examples/xmms-meta-input/esound_link +share/examples/xmms-meta-input/midi +share/examples/xmms-meta-input/modules +share/examples/xmms-meta-input/mp3 +share/examples/xmms-meta-input/spc +share/examples/xmms-meta-input/vorbis +@dirrm share/examples/xmms-meta-input +@dirrm share/doc/xmms-input diff --git a/audio/xmms-meta-input/buildlink2.mk b/audio/xmms-meta-input/buildlink2.mk new file mode 100644 index 00000000000..7102d47a6f1 --- /dev/null +++ b/audio/xmms-meta-input/buildlink2.mk @@ -0,0 +1,18 @@ +# $NetBSD: buildlink2.mk,v 1.1.1.1 2003/12/24 00:09:55 ben Exp $ +# + +.if !defined(XMMS_META_INPUT_BUILDLINK2_MK) +XMMS_META_INPUT_BUILDLINK2_MK= # defined + +BUILDLINK_PACKAGES+= xmms-meta-input +BUILDLINK_DEPENDS.xmms-meta-input?= xmms-meta-input>=0.4 +BUILDLINK_PKGSRCDIR.xmms-meta-input?= ../../audio/xmms-meta-input/ + +EVAL_PREFIX+= BUILDLINK_PREFIX.xmms-meta-input=xmms-meta-input +BUILDLINK_PREFIX.xmms-meta-input_DEFAULT= ${LOCALBASE} + +BUILDLINK_TARGETS+= xmms-meta-input-buildlink + +xmms-meta-input-buildlink: _BUILDLINK_USE + +.endif # XMMS_META_INPUT_BUILDLINK2_MK diff --git a/audio/xmms-meta-input/distinfo b/audio/xmms-meta-input/distinfo new file mode 100644 index 00000000000..b899156d793 --- /dev/null +++ b/audio/xmms-meta-input/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2003/12/24 00:09:55 ben Exp $ + +SHA1 (xmms-meta-input-0.4.tar.gz) = 46d3644ca51b21b6756b305068aeb54125c44768 +Size (xmms-meta-input-0.4.tar.gz) = 14653 bytes +SHA1 (patch-aa) = 25f9a00942c7b8bb4056d5aafeecc903a931b357 +SHA1 (patch-ab) = bb8f380b1d6684cd1d7f601ac0224a5e61f52a2f diff --git a/audio/xmms-meta-input/patches/patch-aa b/audio/xmms-meta-input/patches/patch-aa new file mode 100644 index 00000000000..e41c8c10383 --- /dev/null +++ b/audio/xmms-meta-input/patches/patch-aa @@ -0,0 +1,10 @@ +$NetBSD: patch-aa,v 1.1.1.1 2003/12/24 00:09:55 ben Exp $ + +--- Makefile.orig 2002-05-02 08:34:52.000000000 -0700 ++++ Makefile +@@ -1,4 +1,4 @@ +-CCOPT = -O6 ++CCOPT = -fPIC + + # Global XMMS directory + PLAYER_DIR = "\"`xmms-config --input-plugin-dir`/Meta\"" diff --git a/audio/xmms-meta-input/patches/patch-ab b/audio/xmms-meta-input/patches/patch-ab new file mode 100644 index 00000000000..2e58f145655 --- /dev/null +++ b/audio/xmms-meta-input/patches/patch-ab @@ -0,0 +1,14 @@ +$NetBSD: patch-ab,v 1.1.1.1 2003/12/24 00:09:55 ben Exp $ + +--- meta-input.c.orig 2002-05-02 08:29:12.000000000 -0700 ++++ meta-input.c +@@ -411,7 +411,8 @@ static void stop (void) + + static void pause (short p) + { +- meta_input_ip.output->pause (p); ++ /* for some reason this coredumps for me -Ben */ ++ /* meta_input_ip.output->pause (p); */ + } + + static int get_time (void) |