sox: depends on opusfile and libsndfile

also removed some unnecessary stuff
This commit is contained in:
Tom Yan 2019-02-12 01:54:27 +08:00 committed by Fredrik Fornwall
parent a12ce301ee
commit 0be64ed2f9

View File

@ -6,13 +6,9 @@ TERMUX_PKG_REVISION=10
TERMUX_PKG_SRCURL=http://downloads.sourceforge.net/project/sox/sox/${TERMUX_PKG_VERSION}/sox-${TERMUX_PKG_VERSION}.tar.bz2
TERMUX_PKG_SHA256=81a6956d4330e75b5827316e44ae381e6f1e8928003c6aa45896da9041ea149c
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
--with-oggvorbis
--without-opus
--with-pulseaudio=dyn
--without-sndfile
"
# Depend on file for libmagic.so linking:
TERMUX_PKG_DEPENDS="libltdl, file, libpng, libmp3lame, libogg, libvorbis, libandroid-glob, libflac, libid3tag, libmad, libpulseaudio"
TERMUX_PKG_DEPENDS="libltdl, file, libpng, libmp3lame, libvorbis, libandroid-glob, libflac, libid3tag, libmad, libpulseaudio, opusfile, libsndfile"
termux_step_pre_configure() {
LDFLAGS+=" -landroid-glob"