mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2025-02-28 23:51:22 +00:00
27 lines
867 B
Makefile
27 lines
867 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
PKG_NAME="aom"
|
|
PKG_VERSION="287164de79516c25c8c84fd544f67752c170082a" # 3.2.0
|
|
PKG_SHA256="2c644da19e5c9d70bc9425e0b23aaf37999822b2a0269e38f91bfb3d6362e528"
|
|
PKG_LICENSE="BSD"
|
|
PKG_SITE="https://www.webmproject.org"
|
|
PKG_URL="https://repo.or.cz/aom.git/snapshot/${PKG_VERSION}.tar.gz"
|
|
PKG_DEPENDS_TARGET="toolchain"
|
|
PKG_LONGDESC="AV1 Codec Library"
|
|
PKG_BUILD_FLAGS="+pic"
|
|
|
|
PKG_CMAKE_OPTS_TARGET="-DENABLE_CCACHE=1 \
|
|
-DENABLE_DOCS=0 \
|
|
-DENABLE_EXAMPLES=0 \
|
|
-DENABLE_TESTS=0 \
|
|
-DENABLE_TOOLS=0"
|
|
|
|
if [ "${TARGET_ARCH}" = "x86_64" ]; then
|
|
PKG_DEPENDS_TARGET+=" nasm:host"
|
|
fi
|
|
|
|
if ! target_has_feature neon; then
|
|
PKG_CMAKE_OPTS_TARGET+=" -DENABLE_NEON=0 -DENABLE_NEON_ASM=0"
|
|
fi
|