From 28aec087a195c7c890e0026ddea7a32ec5f57b0a Mon Sep 17 00:00:00 2001 From: its-pointless Date: Sat, 14 Dec 2019 10:58:17 +1100 Subject: [PATCH] fix openal not linking openSLES --- packages/openal-soft/build.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/packages/openal-soft/build.sh b/packages/openal-soft/build.sh index 6ec49d46c..3be9bdc8b 100644 --- a/packages/openal-soft/build.sh +++ b/packages/openal-soft/build.sh @@ -2,12 +2,17 @@ TERMUX_PKG_HOMEPAGE=https://openal-soft.org/ TERMUX_PKG_DESCRIPTION="Software implementation of the OpenAL API" TERMUX_PKG_LICENSE="LGPL-2.0" TERMUX_PKG_VERSION=1.20.0 +TERMUX_PKG_REVISION=1 TERMUX_PKG_SRCURL=https://github.com/kcat/openal-soft/archive/openal-soft-$TERMUX_PKG_VERSION.tar.gz TERMUX_PKG_SHA256=ea1582337ce0344754cc6742b9a5da248fb971fb6fbcc592f843f765423d9265 TERMUX_PKG_BREAKS="openal-soft-dev" TERMUX_PKG_REPLACES="openal-soft-dev" TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" --DALSOFT_UTILS=OFF --DALSOFT_EXAMPLES=OFF +-DALSOFT_UTILS=ON +-DALSOFT_EXAMPLES=ON -DALSOFT_TESTS=OFF +-DALSOFT_REQUIRE_OPENSL=ON " +termux_step_pre_configure() { + TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" -DOPENSL_LIBRARY=$TERMUX_STANDALONE_TOOLCHAIN/sysroot/usr/lib/$TERMUX_HOST_PLATFORM/$TERMUX_PKG_API_LEVEL/libOpenSLES.so" +}