summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-graphics/lvgl/lv-conf.inc12
-rw-r--r--meta-oe/recipes-graphics/lvgl/lvgl_9.2.2.bb25
-rw-r--r--meta-oe/recipes-graphics/lvgl/lvgl_9.4.0.bb20
3 files changed, 26 insertions, 31 deletions
diff --git a/meta-oe/recipes-graphics/lvgl/lv-conf.inc b/meta-oe/recipes-graphics/lvgl/lv-conf.inc
index 69e42af922..d341c8a6da 100644
--- a/meta-oe/recipes-graphics/lvgl/lv-conf.inc
+++ b/meta-oe/recipes-graphics/lvgl/lv-conf.inc
@@ -7,7 +7,11 @@ PACKAGECONFIG[thorvg] = ",,"
7PACKAGECONFIG[sdl] = ",,virtual/libsdl2 libsdl2-image" 7PACKAGECONFIG[sdl] = ",,virtual/libsdl2 libsdl2-image"
8 8
9# Add libdrm include if drm is selected in PACKAGECONFIG 9# Add libdrm include if drm is selected in PACKAGECONFIG
10TARGET_CFLAGS += "${@bb.utils.contains('PACKAGECONFIG', 'drm', '-I${STAGING_INCDIR}/libdrm', '', d)}" 10LVGL_FLAGS += " \
11 ${@bb.utils.contains('PACKAGECONFIG', 'drm', '-I${STAGING_INCDIR}/libdrm', '', d)} \
12"
13CFLAGS += "${LVGL_FLAGS}"
14CXXFLAGS += "${LVGL_FLAGS}"
11 15
12LVGL_CONFIG_USE_DRM = "${@bb.utils.contains('PACKAGECONFIG', 'drm', '1', '0', d)}" 16LVGL_CONFIG_USE_DRM = "${@bb.utils.contains('PACKAGECONFIG', 'drm', '1', '0', d)}"
13 17
@@ -45,11 +49,7 @@ LVGL_CONFIG_USE_FLOAT = "${@bb.utils.contains('PACKAGECONFIG', 'thorvg', '1', '0
45 49
46DEBUG_BUILD ??= "0" 50DEBUG_BUILD ??= "0"
47 51
48ALLOW_EMPTY:${PN} = "1" 52do_configure:prepend() {
49
50EXTRA_OECMAKE += "-Dinstall:BOOL=ON -DLIB_INSTALL_DIR=${baselib}"
51
52do_configure:append() {
53 # If there is a configuration template, start from that 53 # If there is a configuration template, start from that
54 [ -r "${S}/lv_conf_template.h" ] && cp -Lv "${S}/lv_conf_template.h" "${S}/lv_conf.h" 54 [ -r "${S}/lv_conf_template.h" ] && cp -Lv "${S}/lv_conf_template.h" "${S}/lv_conf.h"
55 55
diff --git a/meta-oe/recipes-graphics/lvgl/lvgl_9.2.2.bb b/meta-oe/recipes-graphics/lvgl/lvgl_9.2.2.bb
deleted file mode 100644
index 28306a1101..0000000000
--- a/meta-oe/recipes-graphics/lvgl/lvgl_9.2.2.bb
+++ /dev/null
@@ -1,25 +0,0 @@
1# SPDX-FileCopyrightText: Huawei Inc.
2#
3# SPDX-License-Identifier: MIT
4
5HOMEPAGE = "https://lvgl.io/"
6DESCRIPTION = "LVGL is an OSS graphics library to create embedded GUI"
7SUMMARY = "Light and Versatile Graphics Library"
8LICENSE = "MIT"
9LIC_FILES_CHKSUM = "file://LICENCE.txt;md5=bf1198c89ae87f043108cea62460b03a"
10
11SRC_URI = "\
12 git://github.com/lvgl/lvgl;protocol=https;branch=release/v9.2 \
13 file://0001-thorvg-fix-build-with-gcc-15.patch \
14 "
15SRCREV = "7f07a129e8d77f4984fff8e623fd5be18ff42e74"
16
17inherit cmake
18
19EXTRA_OECMAKE = "-DLIB_INSTALL_DIR=${baselib} -DBUILD_SHARED_LIBS=ON"
20
21require lv-conf.inc
22
23do_install:append() {
24 install -m 0644 "${S}/lv_conf.h" "${D}${includedir}/${BPN}/lv_conf.h"
25}
diff --git a/meta-oe/recipes-graphics/lvgl/lvgl_9.4.0.bb b/meta-oe/recipes-graphics/lvgl/lvgl_9.4.0.bb
new file mode 100644
index 0000000000..04ee34a61f
--- /dev/null
+++ b/meta-oe/recipes-graphics/lvgl/lvgl_9.4.0.bb
@@ -0,0 +1,20 @@
1# SPDX-FileCopyrightText: Huawei Inc.
2#
3# SPDX-License-Identifier: MIT
4
5SUMMARY = "Light and Versatile Graphics Library"
6DESCRIPTION = "LVGL is an OSS graphics library to create embedded GUIs."
7HOMEPAGE = "https://lvgl.io/"
8
9LICENSE = "MIT"
10LIC_FILES_CHKSUM = "file://LICENCE.txt;md5=4570b6241b4fced1d1d18eb691a0e083"
11
12SRC_URI = "git://github.com/lvgl/lvgl;protocol=https;branch=release/v9.4;tag=v9.4.0"
13
14SRCREV = "c016f72d4c125098287be5e83c0f1abed4706ee5"
15
16inherit cmake
17
18EXTRA_OECMAKE += "-DLIB_INSTALL_DIR=${baselib} -DBUILD_SHARED_LIBS=ON"
19
20require lv-conf.inc