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