ports/91092: [PATCH] audio/slimserver: Enable AAC/MP4 on FreeBSD

Lars Thegler lth at FreeBSD.org
Fri Dec 30 14:20:04 UTC 2005


>Number:         91092
>Category:       ports
>Synopsis:       [PATCH] audio/slimserver: Enable AAC/MP4 on FreeBSD
>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:   Fri Dec 30 14:20:02 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Lars Thegler
>Release:        FreeBSD 4.11-STABLE i386
>Organization:
>Environment:
System: FreeBSD dask.thegler.dk 4.11-STABLE FreeBSD 4.11-STABLE #6: Thu Dec 30 14:06:09 CET 2004
>Description:

SlimServer uses 'mov123' when playing AAC/MP4-encoded audio. This
tool only works on Windows and OS X. On FreeBSD, use faad(1) instead,
as per the FAQ:

  http://www.slimdevices.com/su_faq.html#formats-linuxaac

Added file(s):
- files/patch-convert.conf

Port maintainer (brooks at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- slimserver-6.2.1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/audio/slimserver/Makefile,v
retrieving revision 1.20
diff -u -u -r1.20 Makefile
--- Makefile	20 Nov 2005 02:32:13 -0000	1.20
+++ Makefile	30 Dec 2005 14:01:49 -0000
@@ -69,6 +69,10 @@
 		SLIMDIR=${SLIMDIR} \
 		CONFFILES="${CONFFILES}"
 
+.if !defined(WITHOUT_FAAD)
+RUN_DEPENDS+=	faad:${PORTSDIR}/audio/faad
+.endif
+
 pre-fetch:
 .if !defined(SLIMDIR)
 	@${ECHO_MSG} ""
Index: files/patch-convert.conf
===================================================================
RCS file: files/patch-convert.conf
diff -N files/patch-convert.conf
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-convert.conf	30 Dec 2005 14:01:49 -0000
@@ -0,0 +1,29 @@
+--- convert.conf.orig	Thu Dec 29 22:27:54 2005
++++ convert.conf	Thu Dec 29 22:33:20 2005
+@@ -34,7 +34,7 @@
+ # specific combinations match before wildcards
+ 
+ mov mp3 * *
+-	[mov123] $FILE$ | [lame] --resample 44100 --silent -q $QUALITY$ -b $BITRATE$ -r - -
++	[faad] -w -f 2 $FILE$ | [lame] --resample 44100 --silent -q $QUALITY$ -b $BITRATE$ -r - -
+ 
+ #ogg mp3 * *
+ #	[oggdec] -Q -o - -R $FILE$ | [lame] --resample 44100 --silent -q $QUALITY$ --abr $BITRATE$ -r -x - -
+@@ -100,7 +100,7 @@
+ 
+ ## you can comment this out if you want to use LAME to transcode AAC/MOV files to MP3.
+ mov aif * *
+-	[mov123] $FILE$
++	[faad] -w -f 2 $FILE$
+ 
+ wma wma squeezebox2 *
+ 	-
+@@ -138,7 +138,7 @@
+ 	[mac] $FILE$ - -d | [flac] -cs --totally-silent --compression-level-0 -
+ 
+ mov flc * *
+-	[mov123] $FILE$ | [flac] -cs --totally-silent --compression-level-0 --endian big --sign signed --channels 2 --bps 16 --sample-rate 44100 -
++	[faad] -w -f 2 $FILE$ | [flac] -cs --totally-silent --compression-level-0 --endian big --sign signed --channels 2 --bps 16 --sample-rate 44100 -
+ 
+ # special case for smart bitrates on mp3 input
+ mp3 mp3 transcode *
--- slimserver-6.2.1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list