diff options
author | pav <pav@FreeBSD.org> | 2011-01-27 22:09:26 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2011-01-27 22:09:26 +0800 |
commit | ef04698ba01bd8a822d765bd9c1dc567b7d59dd6 (patch) | |
tree | 4a481f0f6ce8616c9c94cab95eb7a69ebd716993 /audio | |
parent | d421a445d76987977a45f2dc2a7853487529e09f (diff) | |
download | freebsd-ports-gnome-ef04698ba01bd8a822d765bd9c1dc567b7d59dd6.tar.gz freebsd-ports-gnome-ef04698ba01bd8a822d765bd9c1dc567b7d59dd6.tar.zst freebsd-ports-gnome-ef04698ba01bd8a822d765bd9c1dc567b7d59dd6.zip |
- Enable gsm support
- Add optional pulseaudio support
PR: ports/154043
Submitted by: Janik Galasso <janik@hikarihq.com> (maintainer)
Feature safe: yes
Diffstat (limited to 'audio')
-rw-r--r-- | audio/mangler/Makefile | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/audio/mangler/Makefile b/audio/mangler/Makefile index b305842c5b92..cb4add816f76 100644 --- a/audio/mangler/Makefile +++ b/audio/mangler/Makefile @@ -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 @@ COMMENT= A Ventrilo VOIP combatible client 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> |