remove pre-configure hacks
This commit is contained in:
parent
bc4f381fd1
commit
4a1892f616
|
@ -24,9 +24,6 @@ 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_CONFFILES="etc/pulse/client.conf etc/pulse/daemon.conf etc/pulse/default.pa etc/pulse/system.pa"
|
||||||
|
|
||||||
termux_step_pre_configure() {
|
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:
|
# Our aaudio sink module needs libaaudio.so from a later android api version:
|
||||||
local _NDK_ARCHNAME=$TERMUX_ARCH
|
local _NDK_ARCHNAME=$TERMUX_ARCH
|
||||||
if [ "$TERMUX_ARCH" = "aarch64" ]; then
|
if [ "$TERMUX_ARCH" = "aarch64" ]; then
|
||||||
|
@ -45,9 +42,7 @@ termux_step_pre_configure() {
|
||||||
mkdir $TERMUX_PKG_SRCDIR/src/modules/aaudio
|
mkdir $TERMUX_PKG_SRCDIR/src/modules/aaudio
|
||||||
cp $TERMUX_PKG_BUILDER_DIR/module-aaudio-sink.c $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
|
export LIBS="-llog -landroid-glob"
|
||||||
|
|
||||||
LDFLAGS+=" -llog -landroid-glob"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
termux_step_post_make_install() {
|
termux_step_post_make_install() {
|
||||||
|
|
Loading…
Reference in New Issue