mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-12-15 05:09:55 +00:00
25 lines
837 B
Makefile
25 lines
837 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
PKG_NAME="aom"
|
|
PKG_VERSION="3.9.1"
|
|
PKG_SHA256="dba99fc1c28aaade28dda59821166b2fa91c06162d1bc99fde0ddaad7cecc50e"
|
|
PKG_LICENSE="BSD"
|
|
PKG_SITE="https://www.webmproject.org"
|
|
PKG_URL="https://storage.googleapis.com/aom-releases/libaom-${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"
|
|
elif ! target_has_feature neon; then
|
|
PKG_CMAKE_OPTS_TARGET+=" -DENABLE_NEON=0 -DENABLE_NEON_ASM=0"
|
|
fi
|