blob: 9cd6f7a9e996deee5b6f46ab1a6620388eac40e0 [file] [log] [blame]
Patrick Williams92b42cb2022-09-03 06:53:57 -05001SUMMARY = "Alliance for Open Media - AV1 Codec Library"
2DESCRIPTION = "Alliance for Open Media AV1 codec library"
3
4LICENSE = "BSD-2-Clause & AOM-Patent-License-1.0"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=6ea91368c1bbdf877159435572b931f5 \
6 file://PATENTS;md5=e69ad12202bd20da3c76a5d3648cfa83 \
7 "
8
Andrew Geissler87f5cff2022-09-30 13:13:31 -05009SRC_URI = "git://aomedia.googlesource.com/aom;protocol=https;branch=main \
10 file://0001-subpel_variance_neon-Provide-prototypes-for-missing-.patch \
11 "
Patrick Williams92b42cb2022-09-03 06:53:57 -050012
13SRCREV = "fd0c9275d36930a6eea6d3c35972e7cf9c512944"
14
15S = "${WORKDIR}/git"
16
17inherit cmake pkgconfig
18DEPENDS = " yasm-native"
19
20EXTRA_OECMAKE = " -DBUILD_SHARED_LIBS=1 -DENABLE_TESTS=0 \
21 -DPERL_EXECUTABLE=${HOSTTOOLS_DIR}/perl \
22 "
23
24CFLAGS:append:libc-musl = " -D_GNU_SOURCE"
25EXTRA_OECMAKE:append:arm = " ${@bb.utils.contains("TUNE_FEATURES","neon","-DENABLE_NEON=ON","-DENABLE_NEON=OFF",d)}"