Skip to content

Commit

Permalink
enhance(main/svt-av1): disable COMPILE_C_ONLY (#18857)
Browse files Browse the repository at this point in the history
  • Loading branch information
termux-pacman-bot committed Dec 30, 2023
1 parent 85ef203 commit 2e28360
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions packages/svt-av1/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit 2e28360

Please sign in to comment.