libpulseaudio: add api level build hack for aaudio
This commit is contained in:
parent
6b1d24adf0
commit
6f5cbc2154
|
@ -17,8 +17,10 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-neon-opt
|
|||
--disable-memfd
|
||||
--disable-gsettings
|
||||
--bindir=$TERMUX_PREFIX/libexec
|
||||
ax_cv_PTHREAD_PRIO_INHERIT=no"
|
||||
ax_cv_PTHREAD_PRIO_INHERIT=no
|
||||
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_PKG_API_LEVEL=26
|
||||
|
||||
termux_step_pre_configure () {
|
||||
mkdir $TERMUX_PKG_SRCDIR/src/modules/sles
|
||||
|
@ -26,6 +28,7 @@ termux_step_pre_configure () {
|
|||
mkdir $TERMUX_PKG_SRCDIR/src/modules/aaudio
|
||||
cp $TERMUX_PKG_BUILDER_DIR/module-aaudio-sink.c $TERMUX_PKG_SRCDIR/src/modules/aaudio
|
||||
intltoolize --automake --copy --force
|
||||
CFLAGS+=" -D__ANDROID_API__=21"
|
||||
LDFLAGS+=" -llog -landroid-glob"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue