diff options
Diffstat (limited to 'meta-openembedded/meta-oe/recipes-graphics/lvgl/lvgl_8.0.3.bb')
-rw-r--r-- | meta-openembedded/meta-oe/recipes-graphics/lvgl/lvgl_8.0.3.bb | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/meta-openembedded/meta-oe/recipes-graphics/lvgl/lvgl_8.0.3.bb b/meta-openembedded/meta-oe/recipes-graphics/lvgl/lvgl_8.0.3.bb new file mode 100644 index 0000000000..2ca7f60e85 --- /dev/null +++ b/meta-openembedded/meta-oe/recipes-graphics/lvgl/lvgl_8.0.3.bb @@ -0,0 +1,33 @@ +# SPDX-FileCopyrightText: Huawei Inc. +# +# SPDX-License-Identifier: MIT + +HOMEPAGE = "https://lvgl.io/" +DESCRIPTION = "LVGL is an OSS graphics library to create embedded GUI" +SUMMARY = "Light and Versatile Graphics Library" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENCE.txt;md5=bf1198c89ae87f043108cea62460b03a" + +# TODO: Pin upstream release (current is v8.0.3-dev-239-g7b7bed37d) +SRC_URI = "gitsm://github.com/lvgl/lvgl;destsuffix=${S};protocol=https;nobranch=1" +SRCREV = "7b7bed37d3e937c59ec99fccba58774fbf9f1930" + +REQUIRED_DISTRO_FEATURES = "wayland" + +inherit cmake +inherit features_check + +S = "${WORKDIR}/${PN}-${PV}" + +EXTRA_OECMAKE += "-Dinstall:BOOL=ON" + +do_configure:prepend() { + [ -r "${S}/lv_conf.h" ] \ + || sed -e "s|#if 0 /*Set it to \"1\" to enable the content*/|#if 1 // Enabled by ${PN}|g" \ + < "${S}/lv_conf_template.h" > "${S}/lv_conf.h" +} + +FILES:${PN}-dev += "\ + ${includedir}/${PN}/ \ + ${includedir}/${PN}/lvgl/ \ + " |