Date: Sat, 15 Jan 2011 23:03:46 GMT From: Janik Galasso <janik@hikarihq.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/154043: [maintainer] audio/mangler add support for gsm and pulseaudio Message-ID: <201101152303.p0FN3kDD013076@red.freebsd.org> Resent-Message-ID: <201101152310.p0FNAAjk067234@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101152303.p0FN3kDD013076>