[SVN-Commit] r1564 - trunk/Mk

svn-freebsd-gecko at chruetertee.ch svn-freebsd-gecko at chruetertee.ch
Thu Apr 3 00:07:25 UTC 2014


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


More information about the freebsd-gecko mailing list