summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorben <ben@pkgsrc.org>2006-05-21 22:26:30 +0000
committerben <ben@pkgsrc.org>2006-05-21 22:26:30 +0000
commitcc73c49e449990d2b61cfdb73cc3f088bbf42a24 (patch)
treebadeeeee2d487dc7a8cd0eb327daadbd55c386bf /audio
parent36e485be83b2bf720d34e17a2c485a4c7dd5681c (diff)
downloadpkgsrc-cc73c49e449990d2b61cfdb73cc3f088bbf42a24.tar.gz
Remove audio/xmms-meta-csound.
Diffstat (limited to 'audio')
-rw-r--r--audio/Makefile3
-rw-r--r--audio/xmms-meta-csound/DESCR9
-rw-r--r--audio/xmms-meta-csound/Makefile30
-rw-r--r--audio/xmms-meta-csound/PLIST2
-rwxr-xr-xaudio/xmms-meta-csound/files/csound.sh82
5 files changed, 1 insertions, 125 deletions
diff --git a/audio/Makefile b/audio/Makefile
index b0ae3d6f014..fd2b275801b 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -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-jess
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 --git a/audio/xmms-meta-csound/DESCR b/audio/xmms-meta-csound/DESCR
deleted file mode 100644
index f4701b626f4..00000000000
--- a/audio/xmms-meta-csound/DESCR
+++ /dev/null
@@ -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 --git a/audio/xmms-meta-csound/Makefile b/audio/xmms-meta-csound/Makefile
deleted file mode 100644
index 60a16fad7c2..00000000000
--- a/audio/xmms-meta-csound/Makefile
+++ /dev/null
@@ -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
-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 --git a/audio/xmms-meta-csound/PLIST b/audio/xmms-meta-csound/PLIST
deleted file mode 100644
index 23f2aafe892..00000000000
--- a/audio/xmms-meta-csound/PLIST
+++ /dev/null
@@ -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 --git a/audio/xmms-meta-csound/files/csound.sh b/audio/xmms-meta-csound/files/csound.sh
deleted file mode 100755
index 99595056357..00000000000
--- a/audio/xmms-meta-csound/files/csound.sh
+++ /dev/null
@@ -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