ports/154043: [maintainer] audio/mangler add support for gsm and pulseaudio
Janik Galasso
janik at hikarihq.com
Mon Jan 17 15:40:03 UTC 2011
The following reply was made to PR ports/154043; it has been noted by GNATS.
From: Janik Galasso <janik at hikarihq.com>
To: bug-followup at FreeBSD.org, janik at hikarihq.com
Cc:
Subject: Re: ports/154043: [maintainer] audio/mangler add support for gsm
and pulseaudio
Date: Mon, 17 Jan 2011 09:27:13 -0500
--=-egvDzms/fRFUX02hMcNK
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Apparently the previous patch did not always work. Here is the good one:
--=-egvDzms/fRFUX02hMcNK
Content-Disposition: attachment; filename="mangler.txt"
Content-Type: text/plain; name="mangler.txt"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
--- /usr/ports/audio/mangler/Makefile 2010-12-16 05:30:55.000000000 -0500
+++ mangler/Makefile 2011-01-17 09:17:08.000000000 -0500
@@ -7,6 +7,7 @@
PORTNAME= mangler
PORTVERSION= 1.2.1
+PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= http://www.mangler.org/downloads/
@@ -16,18 +17,32 @@
LIB_DEPENDS= celt.0:${PORTSDIR}/audio/celt \
speex.1:${PORTSDIR}/audio/speex \
dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib \
- gtkmm-2.4.1:${PORTSDIR}/x11-toolkits/gtkmm24
+ gtkmm-2.4.1:${PORTSDIR}/x11-toolkits/gtkmm24 \
+ gsm.1:${PORTSDIR}/audio/gsm
USE_GNOME= librsvg2
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --disable-gsm --without-pulseaudio --without-alsa
+CONFIGURE_ARGS= --without-alsa
USE_LDCONFIG= yes
+CONFIGURE_ENV= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+CFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
+
+OPTIONS= PULSEAUDIO "Adds support for the PulseAudio sound server" OFF \
+
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 800000
BROKEN= does not build
.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>
--=-egvDzms/fRFUX02hMcNK--
More information about the freebsd-ports-bugs
mailing list