summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilippe Coval <philippe.coval@huawei.com>2021-10-18 15:44:38 +0200
committerKhem Raj <raj.khem@gmail.com>2021-11-01 05:45:17 -0700
commite86355f2a27ab155d0db241a99f099468868a685 (patch)
tree1207ccb65da2d8b5f80d06a986e32b5a565c69a0
parent070b92a3f64e2eee9388d64dc193aaa9d8c115d8 (diff)
downloadmeta-openembedded-e86355f2a27ab155d0db241a99f099468868a685.tar.gz
lv-drivers: Lint recipe
Signed-off-by: Philippe Coval <philippe.coval@huawei.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-graphics/lvgl/lv-drivers_7.11.0.bb25
1 files changed, 9 insertions, 16 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 a7478d4d5b..750312844a 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
@@ -1,21 +1,18 @@
1# SPDX-FileCopyrightText: Huawei Inc. 1# SPDX-FileCopyrightText: Huawei Inc.
2#
2# SPDX-License-Identifier: MIT 3# SPDX-License-Identifier: MIT
3 4
4# TODO: Pin upstream release (current v7.11.0-80-g419a757)
5src_org = "lvgl"
6SRC_URI = "gitsm://github.com/${src_org}/lv_drivers;destsuffix=${S};protocol=https;nobranch=1"
7SRCREV = "419a757c23aaa67c676fe3a2196d64808fcf2254"
8
9LICENSE = "MIT"
10LIC_FILES_CHKSUM = "file://LICENSE;md5=d6fc0df890c5270ef045981b516bb8f2"
11
12HOMEPAGE = "https://docs.lvgl.io/latest/en/html/porting/index.html" 5HOMEPAGE = "https://docs.lvgl.io/latest/en/html/porting/index.html"
13SUMMARY = "LVGL's Display and Touch pad drivers" 6SUMMARY = "LVGL's Display and Touch pad drivers"
14DESCRIPTION = "Collection of drivers: SDL, framebuffer, wayland and more..." 7DESCRIPTION = "Collection of drivers: SDL, framebuffer, wayland and more..."
8LICENSE = "MIT"
9LIC_FILES_CHKSUM = "file://LICENSE;md5=d6fc0df890c5270ef045981b516bb8f2"
10
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"
13SRCREV = "419a757c23aaa67c676fe3a2196d64808fcf2254"
15 14
16DEPENDS += "libxkbcommon" 15DEPENDS = "libxkbcommon lvgl wayland"
17DEPENDS += "lvgl"
18DEPENDS += "wayland"
19 16
20REQUIRED_DISTRO_FEATURES = "wayland" 17REQUIRED_DISTRO_FEATURES = "wayland"
21 18
@@ -29,7 +26,6 @@ EXTRA_OECMAKE += "-Dinstall:BOOL=ON"
29TARGET_CFLAGS += "-DLV_CONF_INCLUDE_SIMPLE=1" 26TARGET_CFLAGS += "-DLV_CONF_INCLUDE_SIMPLE=1"
30TARGET_CFLAGS += "-I${RECIPE_SYSROOT}/${includedir}/lvgl" 27TARGET_CFLAGS += "-I${RECIPE_SYSROOT}/${includedir}/lvgl"
31 28
32
33do_configure:append() { 29do_configure:append() {
34 [ -r "${S}/lv_drv_conf.h" ] \ 30 [ -r "${S}/lv_drv_conf.h" ] \
35 || sed -e "s|#if 0 .*Set it to \"1\" to enable the content.*|#if 1 // Enabled by ${PN}|g" \ 31 || sed -e "s|#if 0 .*Set it to \"1\" to enable the content.*|#if 1 // Enabled by ${PN}|g" \
@@ -37,9 +33,6 @@ do_configure:append() {
37 < "${S}/lv_drv_conf_template.h" > "${S}/lv_drv_conf.h" 33 < "${S}/lv_drv_conf_template.h" > "${S}/lv_drv_conf.h"
38} 34}
39 35
40 36FILES:${PN}-dev += "\
41FILES:${PN}-dev = "\
42 ${includedir}/lvgl/lv_drivers/ \ 37 ${includedir}/lvgl/lv_drivers/ \
43 " 38 "
44
45FILES:${PN}-staticdev = "${libdir}/"