libavif: add recipe

libavif is a needed dependency to add av1 support for the upcoming webkitgtk release

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Markus Volk 2023-03-07 03:05:08 +01:00 committed by Khem Raj
parent 48e9c23a3e
commit efc7e272c0

View File

@ -0,0 +1,16 @@
SUMMARY = "This library aims to be a friendly, portable C implementation of the AV1 Image File Format"
HOMEPAGE = "https://github.com/AOMediaCodec/libavif"
SECTION = "libs"
LICENSE = "BSD-2-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=c528b75b07425b5c1d2e34de98c397b5"
SRC_URI = "git://github.com/AOMediaCodec/libavif.git;protocol=https;branch=main"
S = "${WORKDIR}/git"
SRCREV = "6ab53189045e7a6fe0bd93d14977b2a4f8efa5e9"
DEPENDS = "dav1d"
inherit cmake
EXTRA_OECMAKE += "-DAVIF_CODEC_DAV1D=ON"