Patrick Williams | e760df8 | 2023-05-26 11:10:49 -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=a111d47497d3bb49e04eef71377eb8ba \ |
| 7 | " |
| 8 | SRCREV = "7ade96172b95adc91a5d85bf80c90989cd543ee8" |
| 9 | SRC_URI = "git://aomedia.googlesource.com/aom;protocol=https;branch=main \ |
| 10 | file://0001-subpel_variance_neon-Provide-prototypes-for-missing-.patch" |
| 11 | |
| 12 | S = "${WORKDIR}/git" |
| 13 | |
| 14 | inherit cmake pkgconfig |
| 15 | |
| 16 | DEPENDS = " nasm-native" |
| 17 | |
| 18 | EXTRA_OECMAKE = "-DBUILD_SHARED_LIBS=1 -DENABLE_TESTS=0 \ |
| 19 | -DPERL_EXECUTABLE=${HOSTTOOLS_DIR}/perl \ |
| 20 | " |
| 21 | CMAKE_VERBOSE = "VERBOSE=1" |
| 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)}" |
| 24 | |
| 25 | do_generate_toolchain_file:append() { |
| 26 | echo "set(AOM_AS_FLAGS --debug-prefix-map ${S}=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR})" >> ${WORKDIR}/toolchain.cmake |
| 27 | } |