From 948212ba8a0b52c9867c3ee53626feabee94adec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Mart=C3=ADnez?= Date: Sat, 26 Mar 2016 23:31:26 +0100 Subject: [PATCH] Added mp3splt, libmp3splt, libmad and libid3tag packages --- packages/libid3tag/build.sh | 5 +++++ packages/libmad/build.sh | 10 ++++++++++ packages/libmp3splt/build.sh | 7 +++++++ packages/mp3splt/build.sh | 13 +++++++++++++ 4 files changed, 35 insertions(+) create mode 100644 packages/libid3tag/build.sh create mode 100644 packages/libmad/build.sh create mode 100644 packages/libmp3splt/build.sh create mode 100644 packages/mp3splt/build.sh diff --git a/packages/libid3tag/build.sh b/packages/libid3tag/build.sh new file mode 100644 index 000000000..e889951ef --- /dev/null +++ b/packages/libid3tag/build.sh @@ -0,0 +1,5 @@ +TERMUX_PKG_HOMEPAGE=http://www.underbit.com/products/mad/ +TERMUX_PKG_DESCRIPTION="MAD ID3 tag manipulation library" +TERMUX_PKG_VERSION=0.15.1b +TERMUX_PKG_BUILD_REVISION=1 +TERMUX_PKG_SRCURL=ftp://ftp.mars.org/pub/mpeg/libid3tag-${TERMUX_PKG_VERSION}.tar.gz diff --git a/packages/libmad/build.sh b/packages/libmad/build.sh new file mode 100644 index 000000000..c86738fbf --- /dev/null +++ b/packages/libmad/build.sh @@ -0,0 +1,10 @@ +TERMUX_PKG_HOMEPAGE=http://www.underbit.com/products/mad/ +TERMUX_PKG_DESCRIPTION="MAD is a high-quality MPEG audio decoder" +TERMUX_PKG_VERSION=0.15.1b +TERMUX_PKG_BUILD_REVISION=1 +TERMUX_PKG_SRCURL=ftp://ftp.mars.org/pub/mpeg/libmad-${TERMUX_PKG_VERSION}.tar.gz + +termux_post_configure() { + cd $TERMUX_PKG_SRCDIR + sed -i -e 's/-force-mem//g' Makefile +} diff --git a/packages/libmp3splt/build.sh b/packages/libmp3splt/build.sh new file mode 100644 index 000000000..e733ed2d0 --- /dev/null +++ b/packages/libmp3splt/build.sh @@ -0,0 +1,7 @@ +TERMUX_PKG_HOMEPAGE=http://mp3splt.sourceforge.net +TERMUX_PKG_DESCRIPTION="Mp3Splt-project is a utility to split mp3, ogg vorbis and native FLAC files selecting a begin and an end time position, without decoding" +TERMUX_PKG_VERSION=0.9.2 +TERMUX_PKG_BUILD_REVISION=1 +TERMUX_PKG_SRCURL=http://prdownloads.sourceforge.net/mp3splt/libmp3splt-${TERMUX_PKG_VERSION}.tar.gz +TERMUX_PKG_DEPENDS="libmad, libid3tag, pcre" +TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-flac --disable-ogg --disable-cutter" diff --git a/packages/mp3splt/build.sh b/packages/mp3splt/build.sh new file mode 100644 index 000000000..09e868039 --- /dev/null +++ b/packages/mp3splt/build.sh @@ -0,0 +1,13 @@ +TERMUX_PKG_HOMEPAGE=http://mp3splt.sourceforge.net +TERMUX_PKG_DESCRIPTION="Mp3Splt-project is a utility to split mp3, ogg vorbis and native FLAC files selecting a begin and an end time position, without decoding" +TERMUX_PKG_VERSION=2.6.2 +TERMUX_PKG_BUILD_REVISION=1 +TERMUX_PKG_SRCURL=http://prdownloads.sourceforge.net/mp3splt/mp3splt-${TERMUX_PKG_VERSION}.tar.gz +TERMUX_PKG_DEPENDS="libmp3splt" +TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--mandir=$TERMUX_PREFIX/share/man" + +termux_step_post_configure() { + cd $TERMUX_PKG_SRCDIR/src + sed -i -e 's/BEOS/ANDROID/g' freedb.c + touch langinfo.h +}