summaryrefslogtreecommitdiffstats
path: root/audio/abcde
diff options
context:
space:
mode:
authorflz <flz@FreeBSD.org>2005-11-23 12:02:47 +0000
committerflz <flz@FreeBSD.org>2005-11-23 12:02:47 +0000
commit2a4443e7ba9ca01abc09651a792a2657d10d4172 (patch)
tree621bc7719706832f56f20f382fbd0b1cde9dd891 /audio/abcde
parentd0b031e23cd61a94008960184084387a02fc1cbd (diff)
downloadFreeBSD-ports-2a4443e7ba9ca01abc09651a792a2657d10d4172.zip
FreeBSD-ports-2a4443e7ba9ca01abc09651a792a2657d10d4172.tar.gz
- Rename and update actual patch to fix -o output bug.
PR: ports/89421 Submitted by: maintainer
Diffstat (limited to 'audio/abcde')
-rw-r--r--audio/abcde/Makefile1
-rw-r--r--audio/abcde/files/patch-abcde30
-rw-r--r--audio/abcde/files/patch-abcde.conf (renamed from audio/abcde/files/patch-aa)0
3 files changed, 31 insertions, 0 deletions
diff --git a/audio/abcde/Makefile b/audio/abcde/Makefile
index 949eaa4..23e512a 100644
--- a/audio/abcde/Makefile
+++ b/audio/abcde/Makefile
@@ -7,6 +7,7 @@
PORTNAME= abcde
PORTVERSION= 2.3.3
+PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= http://www.hispalinux.es/~data/files/ \
http://www.soulwax.net/freebsd/
diff --git a/audio/abcde/files/patch-abcde b/audio/abcde/files/patch-abcde
new file mode 100644
index 0000000..d551e86
--- /dev/null
+++ b/audio/abcde/files/patch-abcde
@@ -0,0 +1,30 @@
+--- abcde.old Tue Nov 22 13:12:14 2005
++++ abcde Tue Nov 22 13:12:51 2005
+@@ -2453,17 +2453,18 @@
+
+ # Allow -o OUTPUT(1):OPTIONS(1),...,OUTPUT(N):OPTIONS(N) mode of operation
+ if echo "$OUTPUTTYPE" | grep ":" > /dev/null 2>&1 ; then
+- for OUTPUT in $(echo $OUTPUTTYPE | tr , \ ); do
+- case "$OUTPUT" in
+- vorbis:*|ogg:*) OGGENCODEROPTSCLI="$( echo $OUTPUT | cut -d: -f2- )" ;;
+- mp3:*) MP3ENCODEROPTSCLI="$( echo $OUTPUT | cut -d: -f2- )" ;;
+- flac:*) FLACENCODEROPTSCLI="$( echo $OUTPUT | cut -d: -f2- )" ;;
+- spx:*) SPEEXENCODEROPTSCLI="$( echo $OUTPUT | cut -d: -f2- )" ;;
+- mpc:*) MPPENCODEROPTSCLI="$( echo $OUTPUT | cut -d: -f2- )" ;;
++ for OUTPUT in $(echo $OUTPUTTYPE | tr \ \| | tr , \ ); do
++ TOUTPUT=$(echo $OUTPUT | tr \| \ )
++ case "$TOUTPUT" in
++ vorbis:*|ogg:*) OGGENCODEROPTSCLI="$( echo $TOUTPUT | cut -d: -f2- )" ;;
++ mp3:*) MP3ENCODEROPTSCLI="$( echo $TOUTPUT | cut -d: -f2- )" ;;
++ flac:*) FLACENCODEROPTSCLI="$( echo $TOUTPUT | cut -d: -f2- )" ;;
++ spx:*) SPEEXENCODEROPTSCLI="$( echo $TOUTPUT | cut -d: -f2- )" ;;
++ mpc:*) MPPENCODEROPTSCLI="$( echo $TOUTPUT | cut -d: -f2- )" ;;
+ esac
+ done
+- for OUTPUT in $(echo $OUTPUTTYPE | tr , \ ); do
+- TEMPOUTPUT=$( echo "$OUTPUT" | cut -d: -f1 )
++ for OUTPUT in $(echo $OUTPUTTYPE | tr \ \| | tr , \ ); do
++ TEMPOUTPUT=$( echo "$OUTPUT" | tr \| \ | cut -d: -f1 )
+ TEMPOUTPUTTYPE="${TEMPOUTPUTTYPE:+$TEMPOUTPUTTYPE,}$TEMPOUTPUT"
+ done
+ OUTPUTTYPE="$TEMPOUTPUTTYPE"
diff --git a/audio/abcde/files/patch-aa b/audio/abcde/files/patch-abcde.conf
index 99f4ead..99f4ead 100644
--- a/audio/abcde/files/patch-aa
+++ b/audio/abcde/files/patch-abcde.conf
OpenPOWER on IntegriCloud