aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--multimedia/moonlight/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/multimedia/moonlight/Makefile b/multimedia/moonlight/Makefile
index d2e3005001f4..091046574045 100644
--- a/multimedia/moonlight/Makefile
+++ b/multimedia/moonlight/Makefile
@@ -7,7 +7,7 @@
PORTNAME= moonlight
PORTVERSION= 1.0.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= multimedia www
MASTER_SITES= http://ftp.novell.com/pub/mono/sources/moon/
DISTNAME= moon-${PORTVERSION}
@@ -34,6 +34,8 @@ WEBPLUGINS_FILES= libmoonloader.so \
libmoonplugin.so \
libmoonplugin-ff3bridge.so
+OPTIONS= PULSEAUDIO "Build with PA (needed for sound support)" on
+
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/www/firefox/Makefile.webplugins"
@@ -45,6 +47,13 @@ IGNORE= does not build: not yet ported to sparc64
IGNORE= does not build: requires posix_memalign(3)
.endif
+.if defined(WITHOUT_PULSEAUDIO)
+LIB_DEPENDS+= pulse.0:${PORTSDIR}/audio/pulseaudio
+CONFIGURE_ARGS+=--with-pulseaudio=yes
+.else
+CONFIGURE_ARGS+=--with-pulseaudio=no
+.endif
+
# Building the .xpi doesn't actually require embedded cairo, but it's a safer option
# as there's no way for firefox to detect if cairo is already installed apparently.
.if defined(WITH_XPI_PLUGIN_ONLY)