0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-08-29 17:23:19 +00:00
Files
termux-packages/packages/libdav1d/build.sh
Biswapriyo Nath 843362c296 bump(main/libdav1d): 1.5.1
Also enable building dav1d program.
2025-01-20 07:46:55 +00:00

20 lines
715 B
Bash

TERMUX_PKG_HOMEPAGE=https://code.videolan.org/videolan/dav1d/
TERMUX_PKG_DESCRIPTION="AV1 cross-platform decoder focused on speed and correctness"
TERMUX_PKG_LICENSE="BSD 2-Clause"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="1.5.1"
TERMUX_PKG_SRCURL=https://code.videolan.org/videolan/dav1d/-/archive/${TERMUX_PKG_VERSION}/dav1d-${TERMUX_PKG_VERSION}.tar.bz2
TERMUX_PKG_SHA256=4eddffd108f098e307b93c9da57b6125224dc5877b1b3d157b31be6ae8f1f093
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
-Denable_tools=true
-Denable_tests=false
"
termux_step_pre_configure() {
if [ "$TERMUX_ARCH" = "i686" ]; then
# Avoid text relocations.
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" -Denable_asm=false"
fi
}