ports/154043: [maintainer] audio/mangler add support for gsm and pulseaudio
Janik Galasso
janik at hikarihq.com
Sat Jan 15 23:10:15 UTC 2011
>Number: 154043
>Category: ports
>Synopsis: [maintainer] audio/mangler add support for gsm and pulseaudio
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Sat Jan 15 23:10:10 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Janik Galasso
>Release:
>Organization:
>Environment:
>Description:
Added options for PulseAudio sound server and GSM codec support
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
diff -ruN --exclude=CVS /usr/ports/audio/mangler/Makefile mangler/Makefile
--- /usr/ports/audio/mangler/Makefile 2010-12-16 05:30:55.000000000 -0500
+++ mangler/Makefile 2011-01-15 17:28:45.000000000 -0500
@@ -7,6 +7,7 @@
PORTNAME= mangler
PORTVERSION= 1.2.1
+PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= http://www.mangler.org/downloads/
@@ -21,13 +22,30 @@
USE_GNOME= librsvg2
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --disable-gsm --without-pulseaudio --without-alsa
+CONFIGURE_ARGS= --without-alsa
USE_LDCONFIG= yes
+OPTIONS= GSM "GSM audio codec support" ON \
+ PULSEAUDIO "Adds support for the PulseAudio sound server" OFF \
+
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 800000
BROKEN= does not build
.endif
+.ifdef(WITH_GSM)
+LIB_DEPENDS+= gsm.1:${PORTSDIR}/audio/gsm
+CONFIGURE_ARGS+= --enable-libgsm
+.else
+CONFIGURE_ARGS+= --disable-gsm
+.endif
+
+.if !defined(WITHOUT_PULSEAUDIO)
+LIB_DEPENDS+= pulse.0:${PORTSDIR}/audio/pulseaudio
+CONFIGURE_ARGS+=--with-pulseaudio
+.else
+CONFIGURE_ARGS+=--without-pulseaudio
+.endif
+
.include <bsd.port.post.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list