pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/xmms-meta-input Import xmms-meta-input-0.4, a XM...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8d0c9874c371
branches:  trunk
changeset: 465210:8d0c9874c371
user:      ben <ben%pkgsrc.org@localhost>
date:      Wed Dec 24 00:09:55 2003 +0000

description:
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.

diffstat:

 audio/xmms-meta-input/DEINSTALL        |  17 +++++++++++++++++
 audio/xmms-meta-input/DESCR            |   8 ++++++++
 audio/xmms-meta-input/MESSAGE          |   8 ++++++++
 audio/xmms-meta-input/Makefile         |  24 ++++++++++++++++++++++++
 audio/xmms-meta-input/PLIST            |  12 ++++++++++++
 audio/xmms-meta-input/buildlink2.mk    |  18 ++++++++++++++++++
 audio/xmms-meta-input/distinfo         |   6 ++++++
 audio/xmms-meta-input/patches/patch-aa |  10 ++++++++++
 audio/xmms-meta-input/patches/patch-ab |  14 ++++++++++++++
 9 files changed, 117 insertions(+), 0 deletions(-)

diffs (153 lines):

diff -r 3824e7ec8281 -r 8d0c9874c371 audio/xmms-meta-input/DEINSTALL
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/xmms-meta-input/DEINSTALL   Wed Dec 24 00:09:55 2003 +0000
@@ -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 -r 3824e7ec8281 -r 8d0c9874c371 audio/xmms-meta-input/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/xmms-meta-input/DESCR       Wed Dec 24 00:09:55 2003 +0000
@@ -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 -r 3824e7ec8281 -r 8d0c9874c371 audio/xmms-meta-input/MESSAGE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/xmms-meta-input/MESSAGE     Wed Dec 24 00:09:55 2003 +0000
@@ -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 -r 3824e7ec8281 -r 8d0c9874c371 audio/xmms-meta-input/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/xmms-meta-input/Makefile    Wed Dec 24 00:09:55 2003 +0000
@@ -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@localhost
+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 -r 3824e7ec8281 -r 8d0c9874c371 audio/xmms-meta-input/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/xmms-meta-input/PLIST       Wed Dec 24 00:09:55 2003 +0000
@@ -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 -r 3824e7ec8281 -r 8d0c9874c371 audio/xmms-meta-input/buildlink2.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/xmms-meta-input/buildlink2.mk       Wed Dec 24 00:09:55 2003 +0000
@@ -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 -r 3824e7ec8281 -r 8d0c9874c371 audio/xmms-meta-input/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/xmms-meta-input/distinfo    Wed Dec 24 00:09:55 2003 +0000
@@ -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 -r 3824e7ec8281 -r 8d0c9874c371 audio/xmms-meta-input/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/xmms-meta-input/patches/patch-aa    Wed Dec 24 00:09:55 2003 +0000
@@ -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 -r 3824e7ec8281 -r 8d0c9874c371 audio/xmms-meta-input/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/xmms-meta-input/patches/patch-ab    Wed Dec 24 00:09:55 2003 +0000
@@ -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)



Home | Main Index | Thread Index | Old Index