ports/155640: [PATCH] audio/mp3burn: burn audio cd in TAO mode
Tobias Rehbein
tobias.rehbein at web.de
Thu Mar 17 21:10:09 UTC 2011
>Number: 155640
>Category: ports
>Synopsis: [PATCH] audio/mp3burn: burn audio cd in TAO mode
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu Mar 17 21:10:08 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Tobias Rehbein
>Release: FreeBSD 8.2-RELEASE i386
>Organization:
>Environment:
System: FreeBSD sushi.pseudo.local 8.2-RELEASE FreeBSD 8.2-RELEASE #1: Mon Mar 7 20:08:27 CET 2011 tobi at sushi.pseudo.local:/usr/obj/usr/src/sys/SUSHI i386
>Description:
With version 2.01.01a20 cdrecord has switched its default burning mode
to SAO/DAO. To override this mp3burn has to be called this way
"mp3burn -o'-tao' -p playlist.m3u"
instead of
"mp3burn -p playlist.m3u".
This is quite annoying so I request to add "-tao" to the default cdrecord options used
by mp3burn.
On systems where TAO is still default this will cause no problem as it just explicitly sets
the default used anyway.
>How-To-Repeat:
>Fix:
The attached patch adds "-tao" to the default cdrecord options used by
mp3burn an syncs COMMENT and pkg-descr with reality. mp3burn is not
only capable of burning mp3s.
--- mp3burn.patch begins here ---
diff -ruN audio/mp3burn.orig/Makefile audio/mp3burn/Makefile
--- audio/mp3burn.orig/Makefile 2011-03-17 20:47:40.000000000 +0100
+++ audio/mp3burn/Makefile 2011-03-17 21:00:17.000000000 +0100
@@ -11,7 +11,7 @@
MASTER_SITES= SF
MAINTAINER= dhn at FreeBSD.org
-COMMENT= Command line tool for making audio CDs from mp3s
+COMMENT= Command line tool to burn audio CDs from MP3, Ogg Vorbis, or FLAC files
RUN_DEPENDS= mpg123:${PORTSDIR}/audio/mpg123 \
ogg123:${PORTSDIR}/audio/vorbis-tools \
@@ -31,7 +31,8 @@
post-patch:
@${REINPLACE_CMD} -e 's|/usr/bin/perl|${PERL}|g' \
-e 's|/bin/uname|/usr/bin/uname|g' \
- -e 's|x86_64|amd64|g' ${WRKSRC}/${PORTNAME}
+ -e 's|x86_64|amd64|g' \
+ -e 's|" -pad -audio"|" -tao -pad -audio"|' ${WRKSRC}/${PORTNAME}
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/mp3burn ${PREFIX}/bin
diff -ruN audio/mp3burn.orig/pkg-descr audio/mp3burn/pkg-descr
--- audio/mp3burn.orig/pkg-descr 2011-03-17 20:47:40.000000000 +0100
+++ audio/mp3burn/pkg-descr 2011-03-17 21:11:48.000000000 +0100
@@ -1,4 +1,7 @@
-mp3burn is a simple command line tool for making audio CDs from mp3s
-without filling up your disk with .wav files.
+mp3burn is a simple command line tool for making audio CDs from encoded audio
+files without filling up your disk with .wav files.
+
+It uses Perl(1), ogg123(1), mpg321(1) or mpg123(1), cdrecord(1), flac(1), and
+the MP3::Info Perl module.
WWW: http://mp3burn.sourceforge.net/
--- mp3burn.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list