From 1f906beb80f7f80e6a54b76e7f1ef05b84a89b40 Mon Sep 17 00:00:00 2001 From: Henrik Grimler Date: Sat, 16 Feb 2019 14:32:53 +0100 Subject: [PATCH 1/3] gstreamer: make sure glib-mkenums and glib-genmarshal are found --- packages/gstreamer/build.sh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/packages/gstreamer/build.sh b/packages/gstreamer/build.sh index fcb497e5e..9854af999 100644 --- a/packages/gstreamer/build.sh +++ b/packages/gstreamer/build.sh @@ -6,7 +6,16 @@ TERMUX_PKG_SHA256=f94f6696c5f05a3b3a9183e39c5f5c0b779f75a04c0efa497e7920afa985ff TERMUX_PKG_SRCURL=https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-${TERMUX_PKG_VERSION}.tar.xz TERMUX_PKG_DEPENDS="glib" TERMUX_PKG_DEVPACKAGE_DEPENDS="glib-dev" -TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-check --disable-tests --disable-examples --disable-benchmarks --with-unwind=no --with-dw=no" +TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" +--disable-check +--disable-tests +--disable-examples +--disable-benchmarks +--with-unwind=no +--with-dw=no +GLIB_GENMARSHAL=/usr/bin/glib-genmarshal +GLIB_MKENUMS=/usr/bin/glib-mkenums +" termux_step_post_make_install() { for BINARY in gst-inspect-1.0 gst-stats-1.0 gst-typefind-1.0 gst-launch-1.0 From 7f376d2601cb78b64d8d1683d2f148291fa5c65a Mon Sep 17 00:00:00 2001 From: Henrik Grimler Date: Sat, 16 Feb 2019 14:34:56 +0100 Subject: [PATCH 2/3] gst-plugins-good: disable aalib Picks up aalib from host if it is installed, which causes build to fail --- packages/gst-plugins-good/build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/gst-plugins-good/build.sh b/packages/gst-plugins-good/build.sh index 63ea8be70..9311d93fa 100644 --- a/packages/gst-plugins-good/build.sh +++ b/packages/gst-plugins-good/build.sh @@ -16,5 +16,6 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" --disable-oss4 --disable-tests --disable-gst_v4l2 +--disable-aalib " TERMUX_PKG_RM_AFTER_INSTALL="share/gtk-doc/" From 68ce37926b80ea8dbf9f3184d64fe450ee54a0bf Mon Sep 17 00:00:00 2001 From: Henrik Grimler Date: Sat, 16 Feb 2019 16:28:52 +0100 Subject: [PATCH 3/3] gst-plugin-good: add missing dependencies Build succeeded but with two missing libraries without them --- packages/gst-plugins-good/build.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/gst-plugins-good/build.sh b/packages/gst-plugins-good/build.sh index 9311d93fa..3efd1e128 100644 --- a/packages/gst-plugins-good/build.sh +++ b/packages/gst-plugins-good/build.sh @@ -6,7 +6,9 @@ TERMUX_PKG_REVISION=1 TERMUX_PKG_SHA256=5f8b553260cb0aac56890053d8511db1528d53cae10f0287cfce2cb2acc70979 TERMUX_PKG_SRCURL=https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-${TERMUX_PKG_VERSION}.tar.xz TERMUX_PKG_BUILD_IN_SRC=yes -TERMUX_PKG_DEPENDS="gst-plugins-base,libcaca,libsoup,libjpeg-turbo,libpng,libflac,libbz2,libvpx,libpulseaudio,libmp3lame" +TERMUX_PKG_DEPENDS="gst-plugins-base, libcaca, libsoup, libjpeg-turbo, libpng, libflac, libbz2, libvpx, libpulseaudio, libmp3lame, gstreamer, libogg" +# pcre needed by glib. libxml2 needed by libsoup +TERMUX_PKG_BUILD_DEPENDS="glib, pcre, libxml2" TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" --disable-android_media --disable-cairo