mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 889652 - Add support for building with pulseaudio support on gonk, r=glandium,kinetik
This commit is contained in:
parent
7ce9380afb
commit
d81ca7a3d9
11
configure.in
11
configure.in
@ -5826,9 +5826,14 @@ MOZ_PULSEAUDIO=)
|
||||
|
||||
if test -n "$MOZ_PULSEAUDIO"; then
|
||||
AC_DEFINE(MOZ_CUBEB)
|
||||
PKG_CHECK_MODULES(MOZ_PULSEAUDIO, libpulse, ,
|
||||
[echo "$MOZ_PULSEAUDIO_PKG_ERRORS"
|
||||
AC_MSG_ERROR([pulseaudio audio backend requires libpulse package])])
|
||||
if test -z "$gonkdir"; then
|
||||
PKG_CHECK_MODULES(MOZ_PULSEAUDIO, libpulse, ,
|
||||
[echo "$MOZ_PULSEAUDIO_PKG_ERRORS"
|
||||
AC_MSG_ERROR([pulseaudio audio backend requires libpulse development package])])
|
||||
else
|
||||
MOZ_PULSEAUDIO_CFLAGS="-I$gonkdir/external/pulseaudio/pulseaudio/src"
|
||||
MOZ_PULSEAUDIO_LIBS="-lpulse"
|
||||
fi
|
||||
fi
|
||||
|
||||
AC_SUBST(MOZ_PULSEAUDIO)
|
||||
|
@ -65,6 +65,9 @@ DISABLED_CSRCS += \
|
||||
cubeb_pulse.c \
|
||||
$(NULL)
|
||||
DEFINES += -DUSE_PULSE
|
||||
ifeq ($(MOZ_WIDGET_TOOLKIT),gonk)
|
||||
DEFINES += -DDISABLE_LIBPULSE_DLOPEN
|
||||
endif
|
||||
endif
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
Loading…
Reference in New Issue
Block a user