From 2f34a4f9062dd77fe188a73c0fbb316007331dae Mon Sep 17 00:00:00 2001 From: termux-pacman-bot Date: Mon, 16 Dec 2024 07:37:33 +0000 Subject: [PATCH] fix(main/waypipe): disable and remove unused dependency on ffmpeg --- packages/waypipe/build.sh | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/packages/waypipe/build.sh b/packages/waypipe/build.sh index f657d93f32..2b0edb0550 100644 --- a/packages/waypipe/build.sh +++ b/packages/waypipe/build.sh @@ -3,16 +3,20 @@ TERMUX_PKG_DESCRIPTION="A proxy for Wayland clients" TERMUX_PKG_LICENSE="MIT" TERMUX_PKG_MAINTAINER="@termux" TERMUX_PKG_VERSION="0.9.2" -TERMUX_PKG_REVISION=1 +TERMUX_PKG_REVISION=2 TERMUX_PKG_SRCURL=https://gitlab.freedesktop.org/mstoeckl/waypipe/-/archive/v${TERMUX_PKG_VERSION}/waypipe-v${TERMUX_PKG_VERSION}.tar.bz2 TERMUX_PKG_SHA256=ef0783ba95abb950cb0e876e1d186de77905759ed7406ec23973f46cab96b5ee TERMUX_PKG_AUTO_UPDATE=true TERMUX_PKG_DEPENDS="libandroid-spawn, liblz4, libwayland, zstd" -TERMUX_PKG_BUILD_DEPENDS="ffmpeg, libwayland-protocols, scdoc" +TERMUX_PKG_BUILD_DEPENDS="libwayland-protocols, scdoc" +# confusing preprocessor feature matrix in waypipe: +# https://gitlab.freedesktop.org/mstoeckl/waypipe/-/blob/a04f6e3573f19ec7d7a7ef74b3fd1ee52400a2f7/src/video.c#L28-L77 +# -Dwith_dmabuf=disabled appears to cause -Dwith_video=enabled to have no effect, +# preventing the compilation of any calls to FFmpeg API. TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" -Dman-pages=enabled -Dwerror=false --Dwith_video=enabled +-Dwith_video=disabled -Dwith_dmabuf=disabled -Dwith_lz4=enabled -Dwith_zstd=enabled