termux-packages/packages/gst-plugins-bad/build.sh

21 lines
762 B
Bash
Raw Normal View History

2016-08-10 23:25:18 +02:00
TERMUX_PKG_HOMEPAGE=https://gstreamer.freedesktop.org/
TERMUX_PKG_DESCRIPTION="GStreamer Bad Plug-ins"
TERMUX_PKG_VERSION=1.12.4
TERMUX_PKG_SHA256=0c7857be16686d5c1ba6e34bd338664d3d4599d32714a8eca5c8a41a101e2d08
TERMUX_PKG_SRCURL=https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-${TERMUX_PKG_VERSION}.tar.xz
2016-08-10 23:25:18 +02:00
TERMUX_PKG_BUILD_IN_SRC=yes
2017-10-15 03:20:11 +02:00
TERMUX_PKG_DEPENDS="gst-plugins-base, libmp3lame, libx264, libbz2, libpng, librsvg, libcurl, libx265, libsndfile, openjpeg, openal-soft"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
--disable-tests
--disable-examples
--disable-android_media
--disable-zbar
--with-hls-crypto=openssl
"
TERMUX_PKG_RM_AFTER_INSTALL="share/gtk-doc/"
2016-08-10 23:25:18 +02:00
2017-01-03 19:44:31 +01:00
termux_step_pre_configure() {
export GNUSTL_LIBS="-lc"
2017-10-15 03:20:11 +02:00
export GNUSTL_CFLAGS="-Oz"
2016-08-10 23:25:18 +02:00
}