summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-graphics
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-graphics')
-rw-r--r--meta-oe/recipes-graphics/lvgl/lv-drivers_7.11.0.bb8
-rw-r--r--meta-oe/recipes-graphics/lvgl/lv-lib-png_8.0.2.bb8
-rw-r--r--meta-oe/recipes-graphics/lvgl/lvgl_8.1.0.bb6
3 files changed, 12 insertions, 10 deletions
diff --git a/meta-oe/recipes-graphics/lvgl/lv-drivers_7.11.0.bb b/meta-oe/recipes-graphics/lvgl/lv-drivers_7.11.0.bb
index 1a9421583..cf33c6904 100644
--- a/meta-oe/recipes-graphics/lvgl/lv-drivers_7.11.0.bb
+++ b/meta-oe/recipes-graphics/lvgl/lv-drivers_7.11.0.bb
@@ -9,7 +9,7 @@ LICENSE = "MIT"
9LIC_FILES_CHKSUM = "file://LICENSE;md5=d6fc0df890c5270ef045981b516bb8f2" 9LIC_FILES_CHKSUM = "file://LICENSE;md5=d6fc0df890c5270ef045981b516bb8f2"
10 10
11# TODO: Pin upstream release (current v7.11.0-80-g419a757) 11# TODO: Pin upstream release (current v7.11.0-80-g419a757)
12SRC_URI = "git://github.com/lvgl/lv_drivers;destsuffix=${S};protocol=https;nobranch=1" 12SRC_URI = "git://github.com/lvgl/lv_drivers;protocol=https;nobranch=1"
13SRCREV = "419a757c23aaa67c676fe3a2196d64808fcf2254" 13SRCREV = "419a757c23aaa67c676fe3a2196d64808fcf2254"
14 14
15DEPENDS = "libxkbcommon lvgl wayland" 15DEPENDS = "libxkbcommon lvgl wayland"
@@ -19,15 +19,15 @@ REQUIRED_DISTRO_FEATURES = "wayland"
19inherit cmake 19inherit cmake
20inherit features_check 20inherit features_check
21 21
22S = "${WORKDIR}/${PN}-${PV}" 22S = "${WORKDIR}/git"
23 23
24LVGL_CONFIG_WAYLAND_HOR_RES ?= "480" 24LVGL_CONFIG_WAYLAND_HOR_RES ?= "480"
25LVGL_CONFIG_WAYLAND_VER_RES ?= "320" 25LVGL_CONFIG_WAYLAND_VER_RES ?= "320"
26 26
27EXTRA_OECMAKE += "-Dinstall:BOOL=ON -DLIB_INSTALL_DIR=${BASELIB}" 27EXTRA_OECMAKE += "-Dinstall:BOOL=ON -DLIB_INSTALL_DIR=${baselib}"
28 28
29TARGET_CFLAGS += "-DLV_CONF_INCLUDE_SIMPLE=1" 29TARGET_CFLAGS += "-DLV_CONF_INCLUDE_SIMPLE=1"
30TARGET_CFLAGS += "-I${RECIPE_SYSROOT}/${includedir}/lvgl" 30TARGET_CFLAGS += "-I${STAGING_INCDIR}/lvgl"
31 31
32# Upstream does not support a default configuration 32# Upstream does not support a default configuration
33# but propose a default "disabled" template, which is used as reference 33# but propose a default "disabled" template, which is used as reference
diff --git a/meta-oe/recipes-graphics/lvgl/lv-lib-png_8.0.2.bb b/meta-oe/recipes-graphics/lvgl/lv-lib-png_8.0.2.bb
index 032e85f52..22b482640 100644
--- a/meta-oe/recipes-graphics/lvgl/lv-lib-png_8.0.2.bb
+++ b/meta-oe/recipes-graphics/lvgl/lv-lib-png_8.0.2.bb
@@ -8,21 +8,23 @@ DESCRIPTION = "Allow the use of PNG images in LVGL. This implementation uses lod
8LICENSE = "MIT" 8LICENSE = "MIT"
9LIC_FILES_CHKSUM = "file://LICENSE;md5=d6fc0df890c5270ef045981b516bb8f2" 9LIC_FILES_CHKSUM = "file://LICENSE;md5=d6fc0df890c5270ef045981b516bb8f2"
10 10
11SRC_URI = "git://github.com/lvgl/lv_lib_png;destsuffix=${S};protocol=https;nobranch=1" 11SRC_URI = "git://github.com/lvgl/lv_lib_png;;protocol=https;nobranch=1"
12SRCREV = "bf1531afe07c9f861107559e29ab8a2d83e4715a" 12SRCREV = "bf1531afe07c9f861107559e29ab8a2d83e4715a"
13 13
14S = "${WORKDIR}/git"
15
14# because of lvgl dependency 16# because of lvgl dependency
15REQUIRED_DISTRO_FEATURES = "wayland" 17REQUIRED_DISTRO_FEATURES = "wayland"
16 18
17DEPENDS += "lvgl" 19DEPENDS += "lvgl"
18 20
19EXTRA_OECMAKE += "-DLIB_INSTALL_DIR=${BASELIB}" 21EXTRA_OECMAKE += "-DLIB_INSTALL_DIR=${baselib}"
20 22
21inherit cmake 23inherit cmake
22inherit features_check 24inherit features_check
23 25
24TARGET_CFLAGS += "-DLV_CONF_INCLUDE_SIMPLE=1" 26TARGET_CFLAGS += "-DLV_CONF_INCLUDE_SIMPLE=1"
25TARGET_CFLAGS += "-I${RECIPE_SYSROOT}/${includedir}/lvgl" 27TARGET_CFLAGS += "-I${STAGING_INCDIR}/lvgl"
26 28
27FILES:${PN}-dev = "\ 29FILES:${PN}-dev = "\
28 ${includedir}/lvgl/lv_lib_png/ \ 30 ${includedir}/lvgl/lv_lib_png/ \
diff --git a/meta-oe/recipes-graphics/lvgl/lvgl_8.1.0.bb b/meta-oe/recipes-graphics/lvgl/lvgl_8.1.0.bb
index 2005afa2f..ea74c5918 100644
--- a/meta-oe/recipes-graphics/lvgl/lvgl_8.1.0.bb
+++ b/meta-oe/recipes-graphics/lvgl/lvgl_8.1.0.bb
@@ -8,7 +8,7 @@ SUMMARY = "Light and Versatile Graphics Library"
8LICENSE = "MIT" 8LICENSE = "MIT"
9LIC_FILES_CHKSUM = "file://LICENCE.txt;md5=bf1198c89ae87f043108cea62460b03a" 9LIC_FILES_CHKSUM = "file://LICENCE.txt;md5=bf1198c89ae87f043108cea62460b03a"
10 10
11SRC_URI = "gitsm://github.com/lvgl/lvgl;destsuffix=${S};protocol=https;nobranch=1" 11SRC_URI = "gitsm://github.com/lvgl/lvgl;protocol=https;nobranch=1"
12SRCREV = "d38eb1e689fa5a64c25e677275172d9c8a4ab2f0" 12SRCREV = "d38eb1e689fa5a64c25e677275172d9c8a4ab2f0"
13 13
14REQUIRED_DISTRO_FEATURES = "wayland" 14REQUIRED_DISTRO_FEATURES = "wayland"
@@ -16,8 +16,8 @@ REQUIRED_DISTRO_FEATURES = "wayland"
16inherit cmake 16inherit cmake
17inherit features_check 17inherit features_check
18 18
19EXTRA_OECMAKE = "-DLIB_INSTALL_DIR=${BASELIB}" 19EXTRA_OECMAKE = "-DLIB_INSTALL_DIR=${baselib}"
20S = "${WORKDIR}/${PN}-${PV}" 20S = "${WORKDIR}/git"
21 21
22LVGL_CONFIG_LV_MEM_CUSTOM ?= "0" 22LVGL_CONFIG_LV_MEM_CUSTOM ?= "0"
23 23