From 4b4672bba3ea837c0ae1e52b61bae6f2a43fd899 Mon Sep 17 00:00:00 2001 From: Philippe Coval Date: Tue, 6 Sep 2022 11:37:54 +0200 Subject: [PATCH] lvgl: Add dialog-lvgl recipe as demo example This example was written just to validate lvgl on wayland, Feel free to get inspiration from. Origin: https://github.com/astrolabe-coop/meta-openembedded Forwarded: https://github.com/openembedded/meta-openembedded/pulls?q=author%3Arzr Signed-off-by: Philippe Coval --- .../recipes-graphics/lvgl/dialog-lvgl_git.bb | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 meta-oe/recipes-graphics/lvgl/dialog-lvgl_git.bb diff --git a/meta-oe/recipes-graphics/lvgl/dialog-lvgl_git.bb b/meta-oe/recipes-graphics/lvgl/dialog-lvgl_git.bb new file mode 100644 index 00000000000..7e24c51f280 --- /dev/null +++ b/meta-oe/recipes-graphics/lvgl/dialog-lvgl_git.bb @@ -0,0 +1,29 @@ +# SPDX-FileCopyrightText: Huawei Inc. +# SPDX-License-Identifier: MIT + +SRC_URI = "gitsm://git.ostc-eu.org/rzr/dialog-lvgl;destsuffix=${S};protocol=https;nobranch=1" +SRCREV = "5d2121457a6988c97cacb0790594440693fc3d29" + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=8ce0a84e5276f01364119c873b712c4f" +AUTHOR = "Philippe Coval " + +DEPENDS += "lvgl" +DEPENDS += "lv-drivers" + +SUMMARY = "Basic UI utility to be used in scripts" +DESCRIPTION = "Inspired by ncurses' dialog, implemented using LVGL" +HOMEPAGE = "https://git.ostc-eu.org/rzr/dialog-lvgl/-/wikis/" + +REQUIRED_DISTRO_FEATURES = "wayland" + +inherit pkgconfig +inherit features_check + +EXTRA_OEMAKE += "sysroot=${RECIPE_SYSROOT}" +EXTRA_OEMAKE += "DESTDIR=${D}" +EXTRA_OEMAKE += "lvgl_driver=wayland" + +do_install() { + oe_runmake install +}