From a98daa4d1cfe308d16da3e2d1a14c89b4ad0c07e Mon Sep 17 00:00:00 2001 From: Butta Date: Wed, 9 Sep 2020 22:17:25 +0530 Subject: [PATCH] gst-plugins-{bad,good,ugly}: update to Meson build and remove unused flags --- packages/gst-plugins-bad/build.sh | 24 ++++++++---------------- packages/gst-plugins-good/build.sh | 1 - packages/gst-plugins-ugly/build.sh | 6 +----- 3 files changed, 9 insertions(+), 22 deletions(-) diff --git a/packages/gst-plugins-bad/build.sh b/packages/gst-plugins-bad/build.sh index a55c301dc..360f74df5 100644 --- a/packages/gst-plugins-bad/build.sh +++ b/packages/gst-plugins-bad/build.sh @@ -7,21 +7,13 @@ TERMUX_PKG_SHA256=f382ab1caddd64aaa7acb7c4787487f63fd39bd0fde9c757655cbaa457c118 TERMUX_PKG_DEPENDS="gst-plugins-base, libbz2, libcurl, libiconv, libpng, librsvg, libssh2, libsndfile, libx264, libx265, littlecms, openal-soft, openjpeg" TERMUX_PKG_BREAKS="gst-plugins-bad-dev" TERMUX_PKG_REPLACES="gst-plugins-bad-dev" -TERMUX_PKG_BUILD_IN_SRC=true TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" ---disable-android_media ---disable-examples ---disable-rtmp ---disable-tests ---disable-zbar ---disable-webp ---disable-vulkan ---with-hls-crypto=openssl +-Dandroidmedia=disabled +-Dexamples=disabled +-Drtmp=disabled +-Dtests=disabled +-Dzbar=disabled +-Dwebp=disabled +-Dvulkan=disabled +-Dhls-crypto=openssl " -TERMUX_PKG_RM_AFTER_INSTALL="share/gtk-doc/" - -termux_step_pre_configure() { - export GNUSTL_LIBS="-lc" - export GNUSTL_CFLAGS="-Oz" - export GLIB_MKENUMS="/usr/bin/glib-mkenums" -} diff --git a/packages/gst-plugins-good/build.sh b/packages/gst-plugins-good/build.sh index 49dc68bc2..b06a201ea 100644 --- a/packages/gst-plugins-good/build.sh +++ b/packages/gst-plugins-good/build.sh @@ -17,7 +17,6 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" -Dv4l2=disabled -Daalib=disabled " -TERMUX_PKG_RM_AFTER_INSTALL="share/gtk-doc/" termux_step_pre_configure() { LDFLAGS+=" -landroid-shmem" diff --git a/packages/gst-plugins-ugly/build.sh b/packages/gst-plugins-ugly/build.sh index 4a031cdca..03020caff 100644 --- a/packages/gst-plugins-ugly/build.sh +++ b/packages/gst-plugins-ugly/build.sh @@ -5,10 +5,6 @@ TERMUX_PKG_VERSION=1.18.0 TERMUX_PKG_SRCURL=https://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-${TERMUX_PKG_VERSION}.tar.xz TERMUX_PKG_SHA256=686644e45e08258ae240c4519376668ad8d34ea6d0f6ab556473c317bfb7e082 TERMUX_PKG_DEPENDS="gst-plugins-base, libx264" -TERMUX_PKG_BUILD_IN_SRC=true TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" ---disable-tests ---disable-examples ---disable-android_media +-Dtests=disabled " -TERMUX_PKG_RM_AFTER_INSTALL="share/gtk-doc/"