libpulseaudio: Fix building under ubuntu 18.10

This commit is contained in:
Fredrik Fornwall 2018-11-28 00:57:56 +01:00
parent 9abf78b3bc
commit 9602864cc6
2 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,19 @@
diff -u -r ../pulseaudio-12.2/bootstrap.sh ./bootstrap.sh
--- ../pulseaudio-12.2/bootstrap.sh 2018-07-16 14:40:33.000000000 +0000
+++ ./bootstrap.sh 2018-11-27 23:12:39.509242963 +0000
@@ -35,15 +35,10 @@
exit 1
fi
# Other necessary programs
-if ! autopoint --version &>/dev/null ; then
- echo "autopoint is required to bootstrap this program"
- exit 1
-fi
if ! intltoolize --version >/dev/null ; then
echo "intltoolize is required to bootstrap this program"
exit 1
fi
-autopoint --force
AUTOPOINT='intltoolize --automake --copy' autoreconf --force --install --verbose
if test "x$NOCONFIGURE" = "x"; then

View File

@ -22,6 +22,9 @@ ac_cv_func_posix_madvise=no"
TERMUX_PKG_CONFFILES="etc/pulse/client.conf etc/pulse/daemon.conf etc/pulse/default.pa etc/pulse/system.pa"
termux_step_pre_configure () {
# Avoid aclocal-1.15 dependency:
NOCONFIGURE=1 ./bootstrap.sh
# Our aaudio sink module needs libaaudio.so from a later android api version:
local _NDK_ARCHNAME=$TERMUX_ARCH
if [ "$TERMUX_ARCH" = "aarch64" ]; then