diff options
author | flz <flz@FreeBSD.org> | 2009-05-14 21:32:25 +0800 |
---|---|---|
committer | flz <flz@FreeBSD.org> | 2009-05-14 21:32:25 +0800 |
commit | debf9aa5a5364d327d1fbab5df9b27bc3d2c4982 (patch) | |
tree | 31d028d654b1b377acc20a36a19ad08ebcb81849 /multimedia/moonlight | |
parent | c780bd1d902f0005e3523e1972dbdb98451aa6c6 (diff) | |
download | freebsd-ports-gnome-debf9aa5a5364d327d1fbab5df9b27bc3d2c4982.tar.gz freebsd-ports-gnome-debf9aa5a5364d327d1fbab5df9b27bc3d2c4982.tar.zst freebsd-ports-gnome-debf9aa5a5364d327d1fbab5df9b27bc3d2c4982.zip |
- Add PULSEAUDIO option (on by default).
- Bump PORTREVISION.
Diffstat (limited to 'multimedia/moonlight')
-rw-r--r-- | multimedia/moonlight/Makefile | 11 |
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) |