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"
|
2019-12-21 15:21:02 +01:00
|
|
|
TERMUX_PKG_VERSION=1.16.2
|
2016-08-24 12:40:03 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-${TERMUX_PKG_VERSION}.tar.xz
|
2019-12-21 15:21:02 +01:00
|
|
|
TERMUX_PKG_SHA256=f1cb7aa2389569a5343661aae473f0a940a90b872001824bc47fa8072a041e74
|
2019-05-05 16:45:07 +02:00
|
|
|
TERMUX_PKG_DEPENDS="gst-plugins-base, libbz2, libcurl, libiconv, libpng, librsvg, libssh2, libsndfile, libx264, libx265, littlecms, openal-soft, openjpeg"
|
2019-07-20 10:42:33 +02:00
|
|
|
TERMUX_PKG_BREAKS="gst-plugins-bad-dev"
|
|
|
|
TERMUX_PKG_REPLACES="gst-plugins-bad-dev"
|
2019-08-12 17:28:41 +02:00
|
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
2017-10-15 03:20:11 +02:00
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|
|
|
--disable-android_media
|
2018-09-14 20:57:02 +02:00
|
|
|
--disable-examples
|
2018-08-25 16:50:33 +02:00
|
|
|
--disable-rtmp
|
2018-09-14 20:57:02 +02:00
|
|
|
--disable-tests
|
|
|
|
--disable-zbar
|
|
|
|
--disable-webp
|
2019-12-21 16:01:21 +01:00
|
|
|
--disable-vulkan
|
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"
|
2019-05-06 12:18:19 +02:00
|
|
|
export GLIB_MKENUMS="/usr/bin/glib-mkenums"
|
2016-08-10 23:25:18 +02:00
|
|
|
}
|