0
0
mirror of https://github.com/termux-pacman/glibc-packages.git synced 2024-11-23 13:36:24 +00:00
glibc-packages/gpkg/libaom/build.sh
Ivan Max 3245feebde
update pkgs (#282)
gpkg/apr
gpkg/assimp
gpkg/binutils-libs
gpkg/cmake
gpkg/libaom
gpkg/libdrm
gpkg/libnghttp2
gpkg/vulkan-headers
gpkg/vulkan-icd-loader
gpkg/vulkan-tools
2024-09-03 15:11:31 +03:00

20 lines
630 B
Bash

TERMUX_PKG_HOMEPAGE=https://aomedia.org/
TERMUX_PKG_DESCRIPTION="AV1 Video Codec Library"
TERMUX_PKG_LICENSE="BSD 2-Clause"
TERMUX_PKG_LICENSE_FILE="LICENSE, PATENTS"
TERMUX_PKG_MAINTAINER="@termux-pacman"
TERMUX_PKG_VERSION=3.10.0
TERMUX_PKG_SRCURL=https://storage.googleapis.com/aom-releases/libaom-$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=55ccb6816fb4b7d508d96a95b6e9cc3d2c0ae047f9f947dbba03720b56d89631
TERMUX_PKG_DEPENDS="glibc"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
-DCMAKE_BUILD_TYPE=None
-DBUILD_SHARED_LIBS=1
-DENABLE_TESTS=0
"
termux_step_pre_configure() {
CFLAGS="${CFLAGS/-O2/-O3}"
CXXFLAGS="${CXXFLAGS/-O2/-O3}"
}