sox: Avoid accidental linkage
[termux-packages] / packages / sox / build.sh
1 TERMUX_PKG_HOMEPAGE=http://sox.sourceforge.net/
2 TERMUX_PKG_DESCRIPTION="Command line utility for converting between and applying effects to various audio files formats"
3 TERMUX_PKG_VERSION=14.4.2
4 TERMUX_PKG_REVISION=3
5 TERMUX_PKG_SRCURL=http://downloads.sourceforge.net/project/sox/sox/${TERMUX_PKG_VERSION}/sox-${TERMUX_PKG_VERSION}.tar.bz2
6 TERMUX_PKG_SHA256=81a6956d4330e75b5827316e44ae381e6f1e8928003c6aa45896da9041ea149c
7 TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
8 --with-oggvorbis
9 --without-libltdl
10 --without-opus
11 --without-pulseaudio
12 --without-sndfile
13 "
14 TERMUX_PKG_RM_AFTER_INSTALL="bin/play bin/rec share/man/man1/play.1 share/man/man1/rec.1"
15 # Depend on file for libmagic.so linking:
16 TERMUX_PKG_DEPENDS="file, libpng, libmp3lame, libogg, libvorbis, libandroid-glob, libflac, libid3tag, libmad"
17
18 termux_step_pre_configure() {
19 LDFLAGS+=" -landroid-glob"
20 CPPFLAGS+=" -D_FSTDIO"
21 }