termux-packages/packages/sox/build.sh

20 lines
792 B
Bash
Raw Normal View History

2015-06-13 01:03:31 +02:00
TERMUX_PKG_HOMEPAGE=http://sox.sourceforge.net/
TERMUX_PKG_DESCRIPTION="Command line utility for converting between and applying effects to various audio files formats"
2017-03-27 03:29:43 +02:00
TERMUX_PKG_VERSION=14.4.2
2018-07-15 17:58:22 +02:00
TERMUX_PKG_REVISION=9
2015-06-13 01:03:31 +02:00
TERMUX_PKG_SRCURL=http://downloads.sourceforge.net/project/sox/sox/${TERMUX_PKG_VERSION}/sox-${TERMUX_PKG_VERSION}.tar.bz2
2017-03-27 03:29:43 +02:00
TERMUX_PKG_SHA256=81a6956d4330e75b5827316e44ae381e6f1e8928003c6aa45896da9041ea149c
2017-10-15 02:06:35 +02:00
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
--with-oggvorbis
--without-opus
--with-pulseaudio=dyn
2017-10-15 02:06:35 +02:00
--without-sndfile
"
2015-06-13 01:03:31 +02:00
# Depend on file for libmagic.so linking:
TERMUX_PKG_DEPENDS="libltdl, file, libpng, libmp3lame, libogg, libvorbis, libandroid-glob, libflac, libid3tag, libmad, libpulseaudio"
2015-06-13 01:03:31 +02:00
2016-09-04 00:45:08 +02:00
termux_step_pre_configure() {
LDFLAGS+=" -landroid-glob"
2017-06-29 12:51:38 +02:00
CPPFLAGS+=" -D_FSTDIO"
2016-09-04 00:45:08 +02:00
}