Date: Thu, 3 Apr 2014 00:07:16 GMT From: svn-freebsd-gecko@chruetertee.ch To: freebsd-gecko@freebsd.org Subject: [SVN-Commit] r1564 - trunk/Mk Message-ID: <201404030007.s3307Ghi010117@trillian.chruetertee.ch>
next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Thu Apr 3 00:07:16 2014
New Revision: 1564
Log:
make PULSEAUDIO-only package depend on the library
PulseAudio is normally dlopen'd to replace ALSA/Sndio/etc. If the
fallback isn't built in we end up without audio support until user
manually installs pulseaudio package.
Requested by: marino
Modified:
trunk/Mk/bsd.gecko.mk
Modified: trunk/Mk/bsd.gecko.mk
==============================================================================
--- trunk/Mk/bsd.gecko.mk Wed Apr 2 21:13:48 2014 (r1563)
+++ trunk/Mk/bsd.gecko.mk Thu Apr 3 00:07:16 2014 (r1564)
@@ -774,7 +774,12 @@
.endif
.if ${PORT_OPTIONS:MPULSEAUDIO}
+. if ${PORT_OPTIONS:MALSA}
BUILD_DEPENDS+= pulseaudio>0:${PORTSDIR}/audio/pulseaudio
+. else
+# pull pulse package if we cannot fallback to another backend
+LIB_DEPENDS+= libpulse.so:${PORTSDIR}/audio/pulseaudio
+. endif
MOZ_OPTIONS+= --enable-pulseaudio
.else
MOZ_OPTIONS+= --disable-pulseaudio
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404030007.s3307Ghi010117>
