termux-packages/packages/sox/build.sh
Quasic cd3ce11c2c Sox: add pulseaudio as a dependency (#4331)
* Sox: add pulseaudio as a dependency

As in #3364, Sox seems to require pulseaudio as well as libpulseaudio (a dependency of pulseaudio) to play audio. If pulseaudio is not installed, I get errors, instead.
2019-09-23 22:25:30 +03:00

16 lines
739 B
Bash

TERMUX_PKG_HOMEPAGE=http://sox.sourceforge.net/
TERMUX_PKG_DESCRIPTION="Command line utility for converting between and applying effects to various audio files formats"
TERMUX_PKG_LICENSE="LGPL-2.1"
TERMUX_PKG_VERSION=14.4.2
TERMUX_PKG_REVISION=14
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_DEPENDS="file, libpng, libmp3lame, libvorbis, libandroid-glob, libflac, libid3tag, libmad, pulseaudio, opusfile, libsndfile, zlib"
TERMUX_PKG_BREAKS="sox-dev"
TERMUX_PKG_REPLACES="sox-dev"
termux_step_pre_configure() {
LDFLAGS+=" -landroid-glob"
CPPFLAGS+=" -D_FSTDIO"
}