termux-packages/disabled-packages/gst-plugins-bad/build.sh
2016-08-10 17:25:18 -04:00

15 lines
690 B
Bash

TERMUX_PKG_HOMEPAGE=https://gstreamer.freedesktop.org/
TERMUX_PKG_DESCRIPTION="GStreamer Bad Plug-ins"
TERMUX_PKG_VERSION=1.8.2
TERMUX_PKG_SRCURL=http://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_BUILD_IN_SRC=yes
TERMUX_PKG_DEPENDS="gst-plugins-base"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-tests --disable-examples"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --disable-android_media"
termux_step_pre_configure () {
# Missing file - bug in the the source distribution?
termux_download https://raw.githubusercontent.com/GStreamer/gst-plugins-bad/master/sys/opensles/opensles.h \
$TERMUX_PKG_SRCDIR/sys/opensles/opensles.h
}