From b6738f86f3dd1d5208abdb455d10f9d16e198dd2 Mon Sep 17 00:00:00 2001 From: Philippe Coval Date: Thu, 18 Nov 2021 17:51:07 +0100 Subject: lvgl: Update to 8.1.0 Forwarded: https://github.com/openembedded/meta-openembedded/pull/489 Origin: https://booting.oniroproject.org/rzr/oniro/-/tree/sandbox/rzr/devel/master Relate-to: https://github.com/lvgl/lvgl/issues/2534 Signed-off-by: Philippe Coval Signed-off-by: Khem Raj --- meta-oe/recipes-graphics/lvgl/lvgl_8.0.3.bb | 39 ----------------------------- meta-oe/recipes-graphics/lvgl/lvgl_8.1.0.bb | 36 ++++++++++++++++++++++++++ 2 files changed, 36 insertions(+), 39 deletions(-) delete mode 100644 meta-oe/recipes-graphics/lvgl/lvgl_8.0.3.bb create mode 100644 meta-oe/recipes-graphics/lvgl/lvgl_8.1.0.bb diff --git a/meta-oe/recipes-graphics/lvgl/lvgl_8.0.3.bb b/meta-oe/recipes-graphics/lvgl/lvgl_8.0.3.bb deleted file mode 100644 index 0e0bd69420..0000000000 --- a/meta-oe/recipes-graphics/lvgl/lvgl_8.0.3.bb +++ /dev/null @@ -1,39 +0,0 @@ -# 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" - -LVGL_CONFIG_LV_MEM_CUSTOM ?= "0" - -# Upstream does not support a default configuration -# but propose a default "disabled" template, which is used as reference -# More configuration can be done using external configuration variables -do_configure:prepend() { - [ -r "${S}/lv_conf.h" ] \ - || sed -e 's|#if 0 .*Set it to "1" to enable .*|#if 1 // Enabled|g' \ - -e "s|\(#define LV_MEM_CUSTOM .*\)0|\1${LVGL_CONFIG_LV_MEM_CUSTOM}|g" \ - < "${S}/lv_conf_template.h" > "${S}/lv_conf.h" -} - -FILES:${PN}-dev += "\ - ${includedir}/${PN}/ \ - ${includedir}/${PN}/lvgl/ \ - " diff --git a/meta-oe/recipes-graphics/lvgl/lvgl_8.1.0.bb b/meta-oe/recipes-graphics/lvgl/lvgl_8.1.0.bb new file mode 100644 index 0000000000..958639b046 --- /dev/null +++ b/meta-oe/recipes-graphics/lvgl/lvgl_8.1.0.bb @@ -0,0 +1,36 @@ +# 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" + +SRC_URI = "gitsm://github.com/lvgl/lvgl;destsuffix=${S};protocol=https;nobranch=1" +SRCREV = "d38eb1e689fa5a64c25e677275172d9c8a4ab2f0" + +REQUIRED_DISTRO_FEATURES = "wayland" + +inherit cmake +inherit features_check + +S = "${WORKDIR}/${PN}-${PV}" + +LVGL_CONFIG_LV_MEM_CUSTOM ?= "0" + +# Upstream does not support a default configuration +# but propose a default "disabled" template, which is used as reference +# More configuration can be done using external configuration variables +do_configure:prepend() { + [ -r "${S}/lv_conf.h" ] \ + || sed -e 's|#if 0 .*Set it to "1" to enable .*|#if 1 // Enabled|g' \ + -e "s|\(#define LV_MEM_CUSTOM .*\)0|\1${LVGL_CONFIG_LV_MEM_CUSTOM}|g" \ + < "${S}/lv_conf_template.h" > "${S}/lv_conf.h" +} + +FILES:${PN}-dev += "\ + ${includedir}/${PN}/ \ + ${includedir}/${PN}/lvgl/ \ + " -- cgit v1.2.3-54-g00ecf