diff options
author | flz <flz@FreeBSD.org> | 2005-11-23 20:02:47 +0800 |
---|---|---|
committer | flz <flz@FreeBSD.org> | 2005-11-23 20:02:47 +0800 |
commit | 2a4443e7ba9ca01abc09651a792a2657d10d4172 (patch) | |
tree | 621bc7719706832f56f20f382fbd0b1cde9dd891 /audio/abcde | |
parent | d0b031e23cd61a94008960184084387a02fc1cbd (diff) | |
download | freebsd-ports-gnome-2a4443e7ba9ca01abc09651a792a2657d10d4172.tar.gz freebsd-ports-gnome-2a4443e7ba9ca01abc09651a792a2657d10d4172.tar.zst freebsd-ports-gnome-2a4443e7ba9ca01abc09651a792a2657d10d4172.zip |
- 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/Makefile | 1 | ||||
-rw-r--r-- | audio/abcde/files/patch-abcde | 30 | ||||
-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 949eaa40de7a..23e512adffed 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 000000000000..d551e86794cd --- /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 99f4eadb8ec1..99f4eadb8ec1 100644 --- a/audio/abcde/files/patch-aa +++ b/audio/abcde/files/patch-abcde.conf |