diff --git a/packages/libpulseaudio/build.sh b/packages/libpulseaudio/build.sh index 3d90bf0a2..d019b9426 100644 --- a/packages/libpulseaudio/build.sh +++ b/packages/libpulseaudio/build.sh @@ -1,8 +1,7 @@ TERMUX_PKG_HOMEPAGE=https://www.freedesktop.org/wiki/Software/PulseAudio TERMUX_PKG_DESCRIPTION="A featureful, general-purpose sound server - shared libraries" -TERMUX_PKG_VERSION=11.1 -TERMUX_PKG_REVISION=4 -TERMUX_PKG_SHA256=f2521c525a77166189e3cb9169f75c2ee2b82fa3fcf9476024fbc2c3a6c9cd9e +TERMUX_PKG_VERSION=12.0 +TERMUX_PKG_SHA256=6e422dbdc9fd11c0cb6af869e5eda73dc24a8be3c14725440edd51ce6b464444 TERMUX_PKG_SRCURL=https://www.freedesktop.org/software/pulseaudio/releases/pulseaudio-${TERMUX_PKG_VERSION}.tar.xz TERMUX_PKG_DEPENDS="libltdl, libsndfile, libandroid-glob, libsoxr" TERMUX_PKG_BUILD_DEPENDS="libtool" diff --git a/packages/libpulseaudio/makefile.am.patch b/packages/libpulseaudio/makefile.am.patch index 1bb01f069..edafaf7a0 100644 --- a/packages/libpulseaudio/makefile.am.patch +++ b/packages/libpulseaudio/makefile.am.patch @@ -1,16 +1,6 @@ --- ../cache/pulseaudio-11.1/src/Makefile.am 2017-09-18 10:41:02.000000000 +0000 +++ ./src/Makefile.am 2017-12-22 22:51:30.628573929 +0000 -@@ -1559,7 +1559,8 @@ - module-switch-on-port-available-symdef.h \ - module-filter-apply-symdef.h \ - module-filter-heuristics-symdef.h \ -- module-allow-passthrough-symdef.h -+ module-allow-passthrough-symdef.h \ -+ module-sles-sink-symdef.h - - if HAVE_ESOUND - SYMDEF_FILES += \ -@@ -1594,6 +1595,10 @@ +@@ -1594,6 +1595,11 @@ module_simple_protocol_unix_la_LIBADD = $(MODULE_LIBADD) libprotocol-simple.la # CLI protocol @@ -18,6 +8,7 @@ +module_sles_sink_la_SOURCES = modules/sles/module-sles-sink.c +module_sles_sink_la_LDFLAGS = $(MODULE_LDFLAGS) -lOpenSLES +module_sles_sink_la_LIBADD = $(MODULE_LIBADD) ++module_sles_sink_la_CFLAGS = $(AM_CFLAGS) -DPA_MODULE_NAME=module_sles_sink module_cli_la_SOURCES = modules/module-cli.c module_cli_la_LDFLAGS = $(MODULE_LDFLAGS) diff --git a/packages/libpulseaudio/module-sles-sink.c b/packages/libpulseaudio/module-sles-sink.c index 7f10ae9be..31f8d264d 100644 --- a/packages/libpulseaudio/module-sles-sink.c +++ b/packages/libpulseaudio/module-sles-sink.c @@ -43,8 +43,6 @@ #include -#include "module-sles-sink-symdef.h" - //Only certain interfaces are supported by the fast mixer. These are: //SL_IID_ANDROIDSIMPLEBUFFERQUEUE //SL_IID_VOLUME