diff options
| -rw-r--r-- | meta-oe/recipes-graphics/lvgl/lvgl_8.0.3.bb | 23 |
1 files changed, 8 insertions, 15 deletions
diff --git a/meta-oe/recipes-graphics/lvgl/lvgl_8.0.3.bb b/meta-oe/recipes-graphics/lvgl/lvgl_8.0.3.bb index 5f37efda79..2ca7f60e85 100644 --- a/meta-oe/recipes-graphics/lvgl/lvgl_8.0.3.bb +++ b/meta-oe/recipes-graphics/lvgl/lvgl_8.0.3.bb | |||
| @@ -1,19 +1,16 @@ | |||
| 1 | # -*- mode: bitbake; c-basic-offset: 4; indent-tabs-mode: nil -*- | ||
| 2 | |||
| 3 | # SPDX-FileCopyrightText: Huawei Inc. | 1 | # SPDX-FileCopyrightText: Huawei Inc. |
| 2 | # | ||
| 4 | # SPDX-License-Identifier: MIT | 3 | # SPDX-License-Identifier: MIT |
| 5 | 4 | ||
| 6 | # TODO: Pin upstream release (current is v8.0.3-dev-239-g7b7bed37d) | 5 | HOMEPAGE = "https://lvgl.io/" |
| 7 | src_org = "lvgl" | 6 | DESCRIPTION = "LVGL is an OSS graphics library to create embedded GUI" |
| 8 | SRC_URI = "gitsm://github.com/${src_org}/lvgl;destsuffix=${S};protocol=https;nobranch=1" | 7 | SUMMARY = "Light and Versatile Graphics Library" |
| 9 | SRCREV = "7b7bed37d3e937c59ec99fccba58774fbf9f1930" | ||
| 10 | |||
| 11 | LICENSE = "MIT" | 8 | LICENSE = "MIT" |
| 12 | LIC_FILES_CHKSUM = "file://LICENCE.txt;md5=bf1198c89ae87f043108cea62460b03a" | 9 | LIC_FILES_CHKSUM = "file://LICENCE.txt;md5=bf1198c89ae87f043108cea62460b03a" |
| 13 | 10 | ||
| 14 | HOMEPAGE = "https://lvgl.io/" | 11 | # TODO: Pin upstream release (current is v8.0.3-dev-239-g7b7bed37d) |
| 15 | SUMMARY = "Light and Versatile Graphics Library" | 12 | SRC_URI = "gitsm://github.com/lvgl/lvgl;destsuffix=${S};protocol=https;nobranch=1" |
| 16 | DESCRIPTION = "LVGL is an open-source graphics library providing everything you need to create embedded GUI with easy-to-use graphical elements, beautiful visual effects and low memory footprint." | 13 | SRCREV = "7b7bed37d3e937c59ec99fccba58774fbf9f1930" |
| 17 | 14 | ||
| 18 | REQUIRED_DISTRO_FEATURES = "wayland" | 15 | REQUIRED_DISTRO_FEATURES = "wayland" |
| 19 | 16 | ||
| @@ -24,17 +21,13 @@ S = "${WORKDIR}/${PN}-${PV}" | |||
| 24 | 21 | ||
| 25 | EXTRA_OECMAKE += "-Dinstall:BOOL=ON" | 22 | EXTRA_OECMAKE += "-Dinstall:BOOL=ON" |
| 26 | 23 | ||
| 27 | |||
| 28 | do_configure:prepend() { | 24 | do_configure:prepend() { |
| 29 | [ -r "${S}/lv_conf.h" ] \ | 25 | [ -r "${S}/lv_conf.h" ] \ |
| 30 | || sed -e "s|#if 0 /*Set it to \"1\" to enable the content*/|#if 1 // Enabled by ${PN}|g" \ | 26 | || sed -e "s|#if 0 /*Set it to \"1\" to enable the content*/|#if 1 // Enabled by ${PN}|g" \ |
| 31 | < "${S}/lv_conf_template.h" > "${S}/lv_conf.h" | 27 | < "${S}/lv_conf_template.h" > "${S}/lv_conf.h" |
| 32 | } | 28 | } |
| 33 | 29 | ||
| 34 | 30 | FILES:${PN}-dev += "\ | |
| 35 | FILES:${PN}-dev = "\ | ||
| 36 | ${includedir}/${PN}/ \ | 31 | ${includedir}/${PN}/ \ |
| 37 | ${includedir}/${PN}/lvgl/ \ | 32 | ${includedir}/${PN}/lvgl/ \ |
| 38 | " | 33 | " |
| 39 | |||
| 40 | FILES:${PN}-staticdev = "${libdir}/" | ||
