termux-packages/packages/libdav1d/build.sh

20 lines
706 B
Bash
Raw Normal View History

2019-10-12 00:35:19 +02:00
TERMUX_PKG_HOMEPAGE=https://code.videolan.org/videolan/dav1d/
TERMUX_PKG_DESCRIPTION="AV1 cross-platform decoder focused on speed and correctness"
2021-09-05 00:05:07 +02:00
TERMUX_PKG_LICENSE="BSD 2-Clause"
TERMUX_PKG_MAINTAINER="@termux"
2021-09-05 00:05:07 +02:00
TERMUX_PKG_VERSION=0.9.2
TERMUX_PKG_REVISION=1
2019-10-12 00:35:19 +02:00
TERMUX_PKG_SRCURL=https://downloads.videolan.org/pub/videolan/dav1d/${TERMUX_PKG_VERSION}/dav1d-${TERMUX_PKG_VERSION}.tar.xz
2021-09-05 00:05:07 +02:00
TERMUX_PKG_SHA256=e3235ab6c43c0135b0db1d131e1923fad4c84db9d85683e30b91b33a52d61c71
2019-10-12 00:35:19 +02:00
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
-Denable_tools=false
-Denable_tests=false
"
termux_step_pre_configure() {
if [ "$TERMUX_ARCH" = "i686" ]; then
# Avoid text relocations.
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" -Denable_asm=false"
fi
}