summaryrefslogtreecommitdiffstats
path: root/audio/libcanberra/Makefile
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2008-09-08 01:04:39 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2008-09-08 01:04:39 +0800
commit0152c83b89c141966d2cd0025fc5d6a143d9a2a4 (patch)
treecbe9c3759521120683ae88fc6832372291cc28cc /audio/libcanberra/Makefile
parent119a9f8c186a29fa7ac86b8be042c81bce4fcc3a (diff)
downloadmarcuscom-ports-0152c83b89c141966d2cd0025fc5d6a143d9a2a4.tar.gz
marcuscom-ports-0152c83b89c141966d2cd0025fc5d6a143d9a2a4.tar.zst
marcuscom-ports-0152c83b89c141966d2cd0025fc5d6a143d9a2a4.zip
Update to 0.8.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@11462 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'audio/libcanberra/Makefile')
-rw-r--r--audio/libcanberra/Makefile19
1 files changed, 13 insertions, 6 deletions
diff --git a/audio/libcanberra/Makefile b/audio/libcanberra/Makefile
index ec905a13d..6b690b925 100644
--- a/audio/libcanberra/Makefile
+++ b/audio/libcanberra/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= libcanberra
-PORTVERSION= 0.7
-PORTREVISION= 2
+PORTVERSION= 0.8
CATEGORIES= audio devel
MASTER_SITES= http://0pointer.de/lennart/projects/libcanberra/
@@ -24,17 +23,25 @@ CONFIGURE_ARGS= --disable-lynx
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
-OPTIONS= PULSE "Enable Pulse Audio support" off
+OPTIONS= PULSE "Enable Pulse Audio support" off \
+ GSTREAMER "Enable GStreamer audio support" off
.include <bsd.port.pre.mk>
.if !defined(WITHOUT_PULSE)
LIB_DEPENDS+= pulse.0:${PORTSDIR}/audio/pulseaudio
-PLIST_SUB+= PULSE="" OSS="@comment "
-CONFIGURE_ARGS+=--disable-oss
+PLIST_SUB+= PULSE=""
.else
CONFIGURE_ARGS+=--disable-pulse
-PLIST_SUB+= PULSE="@comment " OSS=""
+PLIST_SUB+= PULSE="@comment "
+.endif
+
+.if !defined(WITHOUT_GSTREAMER)
+USE_GSTREAMER= yes
+PLIST_SUB+= GSTREAMER=""
+.else
+CONFIGURE_ARGS+=--disable-gstreamer
+PLIST_SUB+= GSTREAMER="@comment "
.endif
post-patch: