diff options
Diffstat (limited to 'meta-oe/recipes-graphics')
-rw-r--r-- | meta-oe/recipes-graphics/lvgl/lv-drivers_7.11.0.bb | 8 | ||||
-rw-r--r-- | meta-oe/recipes-graphics/lvgl/lv-lib-png_8.0.2.bb | 8 | ||||
-rw-r--r-- | meta-oe/recipes-graphics/lvgl/lvgl_8.1.0.bb | 6 |
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" | |||
9 | LIC_FILES_CHKSUM = "file://LICENSE;md5=d6fc0df890c5270ef045981b516bb8f2" | 9 | LIC_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) |
12 | SRC_URI = "git://github.com/lvgl/lv_drivers;destsuffix=${S};protocol=https;nobranch=1" | 12 | SRC_URI = "git://github.com/lvgl/lv_drivers;protocol=https;nobranch=1" |
13 | SRCREV = "419a757c23aaa67c676fe3a2196d64808fcf2254" | 13 | SRCREV = "419a757c23aaa67c676fe3a2196d64808fcf2254" |
14 | 14 | ||
15 | DEPENDS = "libxkbcommon lvgl wayland" | 15 | DEPENDS = "libxkbcommon lvgl wayland" |
@@ -19,15 +19,15 @@ REQUIRED_DISTRO_FEATURES = "wayland" | |||
19 | inherit cmake | 19 | inherit cmake |
20 | inherit features_check | 20 | inherit features_check |
21 | 21 | ||
22 | S = "${WORKDIR}/${PN}-${PV}" | 22 | S = "${WORKDIR}/git" |
23 | 23 | ||
24 | LVGL_CONFIG_WAYLAND_HOR_RES ?= "480" | 24 | LVGL_CONFIG_WAYLAND_HOR_RES ?= "480" |
25 | LVGL_CONFIG_WAYLAND_VER_RES ?= "320" | 25 | LVGL_CONFIG_WAYLAND_VER_RES ?= "320" |
26 | 26 | ||
27 | EXTRA_OECMAKE += "-Dinstall:BOOL=ON -DLIB_INSTALL_DIR=${BASELIB}" | 27 | EXTRA_OECMAKE += "-Dinstall:BOOL=ON -DLIB_INSTALL_DIR=${baselib}" |
28 | 28 | ||
29 | TARGET_CFLAGS += "-DLV_CONF_INCLUDE_SIMPLE=1" | 29 | TARGET_CFLAGS += "-DLV_CONF_INCLUDE_SIMPLE=1" |
30 | TARGET_CFLAGS += "-I${RECIPE_SYSROOT}/${includedir}/lvgl" | 30 | TARGET_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 | |||
8 | LICENSE = "MIT" | 8 | LICENSE = "MIT" |
9 | LIC_FILES_CHKSUM = "file://LICENSE;md5=d6fc0df890c5270ef045981b516bb8f2" | 9 | LIC_FILES_CHKSUM = "file://LICENSE;md5=d6fc0df890c5270ef045981b516bb8f2" |
10 | 10 | ||
11 | SRC_URI = "git://github.com/lvgl/lv_lib_png;destsuffix=${S};protocol=https;nobranch=1" | 11 | SRC_URI = "git://github.com/lvgl/lv_lib_png;;protocol=https;nobranch=1" |
12 | SRCREV = "bf1531afe07c9f861107559e29ab8a2d83e4715a" | 12 | SRCREV = "bf1531afe07c9f861107559e29ab8a2d83e4715a" |
13 | 13 | ||
14 | S = "${WORKDIR}/git" | ||
15 | |||
14 | # because of lvgl dependency | 16 | # because of lvgl dependency |
15 | REQUIRED_DISTRO_FEATURES = "wayland" | 17 | REQUIRED_DISTRO_FEATURES = "wayland" |
16 | 18 | ||
17 | DEPENDS += "lvgl" | 19 | DEPENDS += "lvgl" |
18 | 20 | ||
19 | EXTRA_OECMAKE += "-DLIB_INSTALL_DIR=${BASELIB}" | 21 | EXTRA_OECMAKE += "-DLIB_INSTALL_DIR=${baselib}" |
20 | 22 | ||
21 | inherit cmake | 23 | inherit cmake |
22 | inherit features_check | 24 | inherit features_check |
23 | 25 | ||
24 | TARGET_CFLAGS += "-DLV_CONF_INCLUDE_SIMPLE=1" | 26 | TARGET_CFLAGS += "-DLV_CONF_INCLUDE_SIMPLE=1" |
25 | TARGET_CFLAGS += "-I${RECIPE_SYSROOT}/${includedir}/lvgl" | 27 | TARGET_CFLAGS += "-I${STAGING_INCDIR}/lvgl" |
26 | 28 | ||
27 | FILES:${PN}-dev = "\ | 29 | FILES:${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" | |||
8 | LICENSE = "MIT" | 8 | LICENSE = "MIT" |
9 | LIC_FILES_CHKSUM = "file://LICENCE.txt;md5=bf1198c89ae87f043108cea62460b03a" | 9 | LIC_FILES_CHKSUM = "file://LICENCE.txt;md5=bf1198c89ae87f043108cea62460b03a" |
10 | 10 | ||
11 | SRC_URI = "gitsm://github.com/lvgl/lvgl;destsuffix=${S};protocol=https;nobranch=1" | 11 | SRC_URI = "gitsm://github.com/lvgl/lvgl;protocol=https;nobranch=1" |
12 | SRCREV = "d38eb1e689fa5a64c25e677275172d9c8a4ab2f0" | 12 | SRCREV = "d38eb1e689fa5a64c25e677275172d9c8a4ab2f0" |
13 | 13 | ||
14 | REQUIRED_DISTRO_FEATURES = "wayland" | 14 | REQUIRED_DISTRO_FEATURES = "wayland" |
@@ -16,8 +16,8 @@ REQUIRED_DISTRO_FEATURES = "wayland" | |||
16 | inherit cmake | 16 | inherit cmake |
17 | inherit features_check | 17 | inherit features_check |
18 | 18 | ||
19 | EXTRA_OECMAKE = "-DLIB_INSTALL_DIR=${BASELIB}" | 19 | EXTRA_OECMAKE = "-DLIB_INSTALL_DIR=${baselib}" |
20 | S = "${WORKDIR}/${PN}-${PV}" | 20 | S = "${WORKDIR}/git" |
21 | 21 | ||
22 | LVGL_CONFIG_LV_MEM_CUSTOM ?= "0" | 22 | LVGL_CONFIG_LV_MEM_CUSTOM ?= "0" |
23 | 23 | ||