pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio Remove audio/xmms-meta-csound.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/323c646b1bc5
branches:  trunk
changeset: 513162:323c646b1bc5
user:      ben <ben%pkgsrc.org@localhost>
date:      Sun May 21 22:26:30 2006 +0000

description:
Remove audio/xmms-meta-csound.

diffstat:

 audio/Makefile                         |   3 +-
 audio/xmms-meta-csound/DESCR           |   9 ---
 audio/xmms-meta-csound/Makefile        |  30 ------------
 audio/xmms-meta-csound/PLIST           |   2 -
 audio/xmms-meta-csound/files/csound.sh |  82 ----------------------------------
 5 files changed, 1 insertions(+), 125 deletions(-)

diffs (156 lines):

diff -r f5fb3fb4adfc -r 323c646b1bc5 audio/Makefile
--- a/audio/Makefile    Sun May 21 22:23:00 2006 +0000
+++ b/audio/Makefile    Sun May 21 22:26:30 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.311 2006/05/21 22:21:38 ben Exp $
+# $NetBSD: Makefile,v 1.312 2006/05/21 22:26:30 ben Exp $
 #
 
 COMMENT=       Audio tools
@@ -302,7 +302,6 @@
 SUBDIR+=       xmms-liveice
 SUBDIR+=       xmms-mad
 SUBDIR+=       xmms-madspin
-SUBDIR+=       xmms-meta-csound
 SUBDIR+=       xmms-meta-input
 SUBDIR+=       xmms-meta-timidity
 SUBDIR+=       xmms-modplug
diff -r f5fb3fb4adfc -r 323c646b1bc5 audio/xmms-meta-csound/DESCR
--- a/audio/xmms-meta-csound/DESCR      Sun May 21 22:23:00 2006 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-This is an input script for xmms-meta-input which allows xmms to play
-unified Csound scores using csound.
-
-An example unified Csound score may be found at
-ftp://ftp.netbsd.org/pub/NetBSD/misc/ben/example.csd.gz
-
-Many Csound songs are distributed in separate orchestra, score, and sample
-files.  A script to convert these to a unified Csound score file is at
-ftp://ftp.netbsd.org/pub/NetBSD/misc/ben/orcsco2csd.sh
diff -r f5fb3fb4adfc -r 323c646b1bc5 audio/xmms-meta-csound/Makefile
--- a/audio/xmms-meta-csound/Makefile   Sun May 21 22:23:00 2006 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,30 +0,0 @@
-# $NetBSD: Makefile,v 1.11 2006/02/05 23:08:18 joerg Exp $
-#
-
-DISTNAME=              xmms-meta-csound-0.3
-PKGREVISION=           1
-CATEGORIES=            audio
-MASTER_SITES=          # empty
-DISTFILES=             # empty
-
-MAINTAINER=            ben%NetBSD.org@localhost
-HOMEPAGE=              # empty
-COMMENT=               XMMS meta input script for csound
-
-DEPENDS+=              csound4-[0-9]*:../../audio/csound4
-DEPENDS+=              sox-[0-9]*:../../audio/sox
-DEPENDS+=              xmms-meta-input-[0-9]*:../../audio/xmms-meta-input
-
-WRKSRC=                        ${WRKDIR}
-USE_LANGUAGES=         # empty
-NO_CHECKSUM=           yes
-INSTALLATION_DIRS=     lib/xmms/Input/Mesa
-
-do-build:
-       ${SED} "s,XXXPREFIXXXX,${PREFIX},g" \
-               <${FILESDIR}/csound.sh >${WRKSRC}/csound.sh
-
-do-install:
-       ${INSTALL_SCRIPT} ${WRKSRC}/csound.sh ${PREFIX}/lib/xmms/Input/Meta
-
-.include "../../mk/bsd.pkg.mk"
diff -r f5fb3fb4adfc -r 323c646b1bc5 audio/xmms-meta-csound/PLIST
--- a/audio/xmms-meta-csound/PLIST      Sun May 21 22:23:00 2006 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2003/12/24 00:12:50 ben Exp $
-lib/xmms/Input/Meta/csound.sh
diff -r f5fb3fb4adfc -r 323c646b1bc5 audio/xmms-meta-csound/files/csound.sh
--- a/audio/xmms-meta-csound/files/csound.sh    Sun May 21 22:23:00 2006 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,82 +0,0 @@
-#!/bin/sh
-
-case "$1" in
-play)
-       file - <"$2" | grep -q gzip
-       if [ $? -eq 0 ]
-       then
-               tempfile="$$.csd"
-               gzip -dc <"$2" >"$tempfile"
-               i="$tempfile"
-       else
-               unset tempfile
-               i="$2"
-       fi
-       channels=1
-       grep -q '^nchnls[[:space:]=]' "$i"
-       if [ $? -eq 0 ]
-       then
-               channels=$(sed -n '/^nchnls/s/.* \([0-9]\)*$/\1/p' <"$i")
-       fi
-       if [ $channels -lt 1 -o $channels -gt 2 ]
-       then
-               echo "Unsupported number of channels." >&2
-               if [ ! -z "$tempfile" ]
-               then
-                       rm -f "$tempfile"
-               fi
-               exit 1
-       fi
-       if [ -f XXXPREFIXXXX/bin/csound32 ]
-       then
-               player=XXXPREFIXXXX/bin/csound32
-       fi
-       if [ -f XXXPREFIXXXX/bin/csound ]
-       then
-               player=XXXPREFIXXXX/bin/csound
-       fi
-       if [ -z "$player" ]
-       then
-               echo "Could not find csound."
-               exit 1
-       fi
-       if [ $channels -eq 1 ]
-       then
-               $player -d -ostdout -h -s -r 44100 -k 4410 "$i" 2>/dev/null |\
-                       XXXPREFIXXXX/bin/sox -t raw -r 44100 -s -w -c 1 - \
-                               -t raw -r 44100 -s -w -c 2 -
-       else
-               $player -d -ostdout -h -s -r 44100 -k 4410 "$i" 2>/dev/null
-       fi
-       if [ ! -z "$tempfile" ]
-       then
-               rm -f "$tempfile"
-       fi
-       exit 0
-       ;;
-isOurFile)
-       file - <"$2" | grep -q gzip
-       if [ $? -eq 0 ]
-       then
-               tempfile="$$.csd"
-               gzip -dc <"$2" >"$tempfile"
-               i="$tempfile"
-       else
-               unset tempfile
-               i="$2"
-       fi
-       if [ $(dd if="$i" bs=19 count=1 2>/dev/null | strings) = \
-               "<CsoundSynthesizer>" ]
-       then
-               retval=0
-       else
-               retval=1
-       fi
-       if [ ! -z "$tempfile" ]
-       then
-               rm -f "$tempfile"
-       fi
-       exit $retval
-       ;;
-esac
-exit 1



Home | Main Index | Thread Index | Old Index