2019-05-15 01:45:43 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://openal-soft.org/
|
2016-08-27 00:50:08 +02:00
|
|
|
TERMUX_PKG_DESCRIPTION="Software implementation of the OpenAL API"
|
2019-01-21 13:53:58 +01:00
|
|
|
TERMUX_PKG_LICENSE="LGPL-2.0"
|
2020-12-20 14:16:34 +01:00
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
2020-11-06 23:19:39 +01:00
|
|
|
TERMUX_PKG_VERSION=1.21.0
|
2019-04-27 22:53:40 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://github.com/kcat/openal-soft/archive/openal-soft-$TERMUX_PKG_VERSION.tar.gz
|
2020-11-06 23:19:39 +01:00
|
|
|
TERMUX_PKG_SHA256=cd3650530866f3906058225f4bfbe0052be19e0a29dcc6df185a460f9948feec
|
2019-07-20 10:42:33 +02:00
|
|
|
TERMUX_PKG_BREAKS="openal-soft-dev"
|
|
|
|
TERMUX_PKG_REPLACES="openal-soft-dev"
|
2017-08-20 12:24:23 +02:00
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
2019-12-14 00:58:17 +01:00
|
|
|
-DALSOFT_UTILS=ON
|
|
|
|
-DALSOFT_EXAMPLES=ON
|
2017-08-20 12:24:23 +02:00
|
|
|
-DALSOFT_TESTS=OFF
|
2019-12-14 00:58:17 +01:00
|
|
|
-DALSOFT_REQUIRE_OPENSL=ON
|
2017-08-20 12:24:23 +02:00
|
|
|
"
|
2019-12-14 00:58:17 +01:00
|
|
|
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"
|
|
|
|
}
|