new package: portaudio

This commit is contained in:
Tee KOBAYASHI 2022-05-01 12:57:40 +09:00 committed by xtkoba
parent b643c5519d
commit 3308c31bb4
2 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1,20 @@
TERMUX_PKG_HOMEPAGE=http://www.portaudio.com/
TERMUX_PKG_DESCRIPTION="A portable audio I/O library"
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_LICENSE_FILE="LICENSE.txt"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=19.07.00
_DATE=20210406
TERMUX_PKG_SRCURL=http://files.portaudio.com/archives/pa_stable_v${TERMUX_PKG_VERSION//./}_${_DATE}.tgz
TERMUX_PKG_SHA256=47efbf42c77c19a05d22e627d42873e991ec0c1357219c0d74ce6a2948cb2def
TERMUX_PKG_DEPENDS="libc++"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
--enable-cxx
--without-alsa
--without-jack
--without-oss
--without-asihpi
ac_cv_lib_pthread_pthread_create=yes
ac_cv_lib_rt_clock_gettime=yes
"
TERMUX_MAKE_PROCESSES=1

View File

@ -0,0 +1,22 @@
--- a/configure
+++ b/configure
@@ -15774,7 +15774,7 @@
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
$as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then :
- rt_libs=" -lrt"
+ rt_libs=""
fi
LIBS="${LIBS}${rt_libs}"
@@ -16210,8 +16210,8 @@
fi
- DLL_LIBS="$DLL_LIBS -lm -lpthread"
- LIBS="$LIBS -lm -lpthread"
+ DLL_LIBS="$DLL_LIBS -lm"
+ LIBS="$LIBS -lm"
PADLL="libportaudio.so"
## support sun cc compiler flags