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

26 lines
907 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"
2019-01-21 13:53:58 +01:00
TERMUX_PKG_LICENSE="LGPL-2.0"
TERMUX_PKG_VERSION=1.14.4
TERMUX_PKG_REVISION=3
TERMUX_PKG_SHA256=910b4e0e2e897e8b6d06767af1779d70057c309f67292f485ff988d087aa0de5
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
TERMUX_PKG_DEPENDS="gst-plugins-base, libbz2, libcurl, libiconv, libpng, librsvg, libssh2, libsndfile, libx264, libx265, littlecms, openal-soft, openjpeg"
2017-10-15 03:20:11 +02:00
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
--disable-android_media
--disable-examples
--disable-rtmp
--disable-tests
--disable-zbar
--disable-webp
2017-10-15 03:20:11 +02:00
--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"
export GLIB_MKENUMS="/usr/bin/glib-mkenums"
2016-08-10 23:25:18 +02:00
}