diff options
author | Philippe Coval <philippe.coval.ext@huawei.com> | 2022-09-06 11:37:54 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-09-06 08:43:34 -0700 |
commit | 8d75eff6af0fd6ccf8a45b5c98c4a0194e292a2f (patch) | |
tree | fb29f88bcb125c462a25591eefe0461b9fbb79d3 | |
parent | 5a02e200ff8b01df33d7cf1f56af54e8a90e49bc (diff) | |
download | meta-openembedded-8d75eff6af0fd6ccf8a45b5c98c4a0194e292a2f.tar.gz |
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/pull/601
Relate-to: https://git.ostc-eu.org/rzr/dialog-lvgl/-/issues/5
Relate-to: https://git.ostc-eu.org/rzr/dialog-lvgl/-/wikis/
Signed-off-by: Philippe Coval <philippe.coval.ext@huawei.com>
-rw-r--r-- | meta-oe/recipes-graphics/lvgl/dialog-lvgl_git.bb | 29 |
1 files changed, 29 insertions, 0 deletions
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 000000000..7e24c51f2 --- /dev/null +++ b/meta-oe/recipes-graphics/lvgl/dialog-lvgl_git.bb | |||
@@ -0,0 +1,29 @@ | |||
1 | # SPDX-FileCopyrightText: Huawei Inc. | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | |||
4 | SRC_URI = "gitsm://git.ostc-eu.org/rzr/dialog-lvgl;destsuffix=${S};protocol=https;nobranch=1" | ||
5 | SRCREV = "5d2121457a6988c97cacb0790594440693fc3d29" | ||
6 | |||
7 | LICENSE = "MIT" | ||
8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=8ce0a84e5276f01364119c873b712c4f" | ||
9 | AUTHOR = "Philippe Coval <philippe.coval.ext@huawei.com>" | ||
10 | |||
11 | DEPENDS += "lvgl" | ||
12 | DEPENDS += "lv-drivers" | ||
13 | |||
14 | SUMMARY = "Basic UI utility to be used in scripts" | ||
15 | DESCRIPTION = "Inspired by ncurses' dialog, implemented using LVGL" | ||
16 | HOMEPAGE = "https://git.ostc-eu.org/rzr/dialog-lvgl/-/wikis/" | ||
17 | |||
18 | REQUIRED_DISTRO_FEATURES = "wayland" | ||
19 | |||
20 | inherit pkgconfig | ||
21 | inherit features_check | ||
22 | |||
23 | EXTRA_OEMAKE += "sysroot=${RECIPE_SYSROOT}" | ||
24 | EXTRA_OEMAKE += "DESTDIR=${D}" | ||
25 | EXTRA_OEMAKE += "lvgl_driver=wayland" | ||
26 | |||
27 | do_install() { | ||
28 | oe_runmake install | ||
29 | } | ||