termux-packages/packages/gst-plugins-bad/build.sh
rnauber 480caaa501 gstreamer: fix and enable the package (#1622)
* gstreamer: make it work with opensles and libcaca, update and enable the packages

* gstreamer: fix build in presence of libunwind and clean up

* minor stuff

* put in preload ffmpeg libs like mpv has
2017-10-15 01:02:21 +02:00

15 lines
611 B
Bash

TERMUX_PKG_HOMEPAGE=https://gstreamer.freedesktop.org/
TERMUX_PKG_DESCRIPTION="GStreamer Bad Plug-ins"
TERMUX_PKG_VERSION=1.12.3
TERMUX_PKG_SRCURL=https://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_PKG_SHA256=36d059761852bed0f1a7fcd3ef64a8aeecab95d2bca53cd6aa0f08054b1cbfec
termux_step_pre_configure() {
export GNUSTL_LIBS="-lc"
export GNUSTL_CFLAGS="-Os"
}