summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-graphics/lvgl
Commit message (Collapse)AuthorAgeFilesLines
* lvgl,lv-lib-png,lv-drivers: fix installed-vs-shipped QA issue with multilibMartin Jansa2023-04-073-10/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * with multilib BASELIB is just "lib" while baselib is "lib64" and libdir is "/usr/lib64". * fixes: ERROR: QA Issue: lvgl: Files/directories were installed but not shipped in any package: /usr/lib /usr/lib/liblvgl.a Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. lvgl: 2 installed and not shipped files. [installed-vs-shipped] * lowercase baselib should work for ppc64 as well (I hope) # $baselib [3 operations] # set oe-core/meta/conf/bitbake.conf:10 # "${BASELIB}" # set oe-core/meta/conf/bitbake.conf:11 # [vardepvalue] "${baselib}" # set oe-core/meta/conf/multilib.conf:2 # "${@d.getVar('BASE_LIB:tune-' + (d.getVar('DEFAULTTUNE') or 'INVALID')) or d.getVar('BASELIB')}" # pre-expansion value: # "${@d.getVar('BASE_LIB:tune-' + (d.getVar('DEFAULTTUNE') or 'INVALID')) or d.getVar('BASELIB')}" baselib="lib64" * simplify destsuffix/S setting * I was surprised that ${WORKDIR}/${PN}-${PV} works in multilib build but then I've noticed that it's because destsuffix is set to S which is a bit uncommon, so drop that and use default "git" * use ${STAGING_INCDIR} instead of ${RECIPE_SYSROOT}/${includedir} Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lvgl-demo-fb: Add recipeFabio Estevam2023-01-171-0/+17
| | | | | | | | | | Add a recipe for the LVGL framebuffer GUI demo. This allows to quickly test the LVGL framebuffer GUI demo application by running the "demo" binary. Signed-off-by: Fabio Estevam <festevam@denx.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lvgl: Add dialog-lvgl recipe as demo examplePhilippe Coval2022-09-061-0/+29
| | | | | | | | | | | 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>
* lvgl,lv-lib-png,lv-drivers: Pass libdir via LIB_INSTALL_DIR to cmakeKhem Raj2022-03-213-1/+4
| | | | | | Ensures it packages correclty on all platforms e.g. pp64 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lvgl: Update to 8.1.0Philippe Coval2021-11-221-4/+1
| | | | | | | | Forwarded: https://github.com/openembedded/meta-openembedded/pull/489 Origin: https://booting.oniroproject.org/rzr/oniro/-/tree/sandbox/rzr/devel/master Relate-to: https://github.com/lvgl/lvgl/issues/2534 Signed-off-by: Philippe Coval <philippe.coval@huawei.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lvgl: Support external wayland configPhilippe Coval2021-11-151-0/+5
| | | | | | | | | | This part should be reverted once xdg-shell is supported in lvgl Relate-to: https://github.com/lvgl/lvgl/issues/2534 Forwarded: https://github.com/openembedded/meta-openembedded/pull/483 Origin: https://git.ostc-eu.org/distro/oniro/-/merge_requests/355 Signed-off-by: Philippe Coval <philippe.coval@huawei.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lvgl: Add hints about using configuration variablesPhilippe Coval2021-11-112-0/+6
| | | | | | | Relate-to: https://github.com/lvgl/lvgl/issues/2534 Forwarded: https://github.com/openembedded/meta-openembedded/pull/479 Signed-off-by: Philippe Coval <philippe.coval@huawei.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lvgl: Introduce global variable for configurationPhilippe Coval2021-11-061-1/+4
| | | | | | | Relate-to: https://github.com/lvgl/lvgl/issues/2534 Forwarded: https://github.com/openembedded/meta-openembedded/pull/473 Signed-off-by: Philippe Coval <philippe.coval@huawei.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lv-lib-png: Lint recipePhilippe Coval2021-11-031-9/+6
| | | | | Signed-off-by: Philippe Coval <philippe.coval@huawei.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lv-drivers: Lint recipePhilippe Coval2021-11-011-16/+9
| | | | | Signed-off-by: Philippe Coval <philippe.coval@huawei.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lvgl: Lint recipePhilippe Coval2021-10-251-15/+8
| | | | | | | Forwarded: https://github.com/openembedded/meta-openembedded/pull/461 Relate-to: https://github.com/lvgl/lvgl/issues/2534 Signed-off-by: Philippe Coval <philippe.coval@huawei.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lv-lib-png: add wayland to REQUIRED_DISTRO_FEATURESMartin Jansa2021-10-201-0/+4
| | | | | | | | | | | | | | | | | * fixes: ERROR: Nothing PROVIDES 'lvgl' (but meta-oe/recipes-graphics/lvgl/lv-lib-png_8.0.2.bb DEPENDS on or otherwise requires it) lvgl was skipped: missing required distro feature 'wayland' (not in DISTRO_FEATURES) ERROR: Nothing RPROVIDES 'lv-lib-png-dev' (but meta-oe/recipes-graphics/lvgl/lv-lib-png_8.0.2.bb RDEPENDS on or otherwise requires it) No eligible RPROVIDERs exist for 'lv-lib-png-dev' NOTE: Runtime target 'lv-lib-png-dev' is unbuildable, removing... Missing or unbuildable dependency chain was: ['lv-lib-png-dev'] ERROR: Nothing RPROVIDES 'lv-lib-png' (but meta-oe/recipes-graphics/lvgl/lv-lib-png_8.0.2.bb RDEPENDS on or otherwise requires it) No eligible RPROVIDERs exist for 'lv-lib-png' NOTE: Runtime target 'lv-lib-png' is unbuildable, removing... Missing or unbuildable dependency chain was: ['lv-lib-png'] Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lv-lib-png: Add recipe for LVGL for handling PNG formatPhilippe Coval2021-10-191-0/+26
| | | | | | | | | | | | Note that this lib will be part of next lvgl release, meanwhile we build it without touching lvgl default config. Relate-to: https://git.ostc-eu.org/OSTC/planning/core-os/-/issues/233 Relate-to: https://github.com/lvgl/lvgl/issues/2534 Forwarded: https://github.com/openembedded/meta-openembedded/pull/454 Change-Id: I2e467caae8e70577e5c9a93f92efc6588cf3bfa2 Signed-off-by: Philippe Coval <philippe.coval@huawei.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lv-drivers: Add recipe for lvgl libPhilippe Coval2021-10-061-0/+45
| | | | | | | | | | Wayland driver is supported. Change-Id: If734c0f1037a1feeb08a2a67fa76e3142ae35af0 Forwarded: https://github.com/openembedded/meta-openembedded/pull/447 Origin: https://git.ostc-eu.org/OSTC/planning/core-os/-/issues/233 Relate-to: https://github.com/lvgl/lvgl/issues/2534 Signed-off-by: Philippe Coval <philippe.coval@huawei.com>
* lvgl: Add recipe for Lightweight Graphics LibraryPhilippe Coval2021-10-061-0/+40
Note, this requires lv-drivers for wayland rendering. Change-Id: I920679891d0c7b5079537af77ff4d21094178cce Forwarded: https://github.com/openembedded/meta-openembedded/pull/447 Relate-to: https://github.com/lvgl/lvgl/issues/2534 Origin: https://git.ostc-eu.org/OSTC/planning/core-os/-/issues/233 Signed-off-by: Philippe Coval <philippe.coval@huawei.com>