From 2e28360e072a447d378523d5d07a4c0a9b9b6ec7 Mon Sep 17 00:00:00 2001 From: termux-pacman-bot Date: Sat, 30 Dec 2023 10:08:27 +0000 Subject: [PATCH] enhance(main/svt-av1): disable COMPILE_C_ONLY (#18857) --- packages/svt-av1/build.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/svt-av1/build.sh b/packages/svt-av1/build.sh index 89538c442d..950e533c05 100644 --- a/packages/svt-av1/build.sh +++ b/packages/svt-av1/build.sh @@ -4,15 +4,18 @@ TERMUX_PKG_LICENSE="custom" TERMUX_PKG_LICENSE_FILE="LICENSE.md, PATENTS.md" TERMUX_PKG_MAINTAINER="@termux" TERMUX_PKG_VERSION="1.8.0" +TERMUX_PKG_REVISION=1 TERMUX_PKG_SRCURL=https://gitlab.com/AOMediaCodec/SVT-AV1/-/archive/v${TERMUX_PKG_VERSION}/SVT-AV1-v${TERMUX_PKG_VERSION}.tar.gz -TERMUX_PKG_SHA256=6b1f8a92f8f2767bf19144d5a2f42a0fcd90433a49311ad314f7e75bbb71dcb2 +TERMUX_PKG_SHA256=5be046efd5d5a5012e919249ee9e5791c9957f79f9d006d697882f02ad014f56 TERMUX_PKG_AUTO_UPDATE=true TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" -DBUILD_TESTING=OFF -DCMAKE_OUTPUT_DIRECTORY=$TERMUX_PKG_BUILDDIR --DCOMPILE_C_ONLY=ON " termux_step_pre_configure() { LDFLAGS+=" -lm" + case "${TERMUX_ARCH}" in + x86_64) LDFLAGS+=" -llog" ;; + esac }