mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-07 03:29:59 +00:00
lv-drivers: Lint recipe
Signed-off-by: Philippe Coval <philippe.coval@huawei.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -1,21 +1,18 @@
|
|||||||
# SPDX-FileCopyrightText: Huawei Inc.
|
# SPDX-FileCopyrightText: Huawei Inc.
|
||||||
|
#
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
# TODO: Pin upstream release (current v7.11.0-80-g419a757)
|
|
||||||
src_org = "lvgl"
|
|
||||||
SRC_URI = "gitsm://github.com/${src_org}/lv_drivers;destsuffix=${S};protocol=https;nobranch=1"
|
|
||||||
SRCREV = "419a757c23aaa67c676fe3a2196d64808fcf2254"
|
|
||||||
|
|
||||||
LICENSE = "MIT"
|
|
||||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=d6fc0df890c5270ef045981b516bb8f2"
|
|
||||||
|
|
||||||
HOMEPAGE = "https://docs.lvgl.io/latest/en/html/porting/index.html"
|
HOMEPAGE = "https://docs.lvgl.io/latest/en/html/porting/index.html"
|
||||||
SUMMARY = "LVGL's Display and Touch pad drivers"
|
SUMMARY = "LVGL's Display and Touch pad drivers"
|
||||||
DESCRIPTION = "Collection of drivers: SDL, framebuffer, wayland and more..."
|
DESCRIPTION = "Collection of drivers: SDL, framebuffer, wayland and more..."
|
||||||
|
LICENSE = "MIT"
|
||||||
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=d6fc0df890c5270ef045981b516bb8f2"
|
||||||
|
|
||||||
DEPENDS += "libxkbcommon"
|
# TODO: Pin upstream release (current v7.11.0-80-g419a757)
|
||||||
DEPENDS += "lvgl"
|
SRC_URI = "git://github.com/lvgl/lv_drivers;destsuffix=${S};protocol=https;nobranch=1"
|
||||||
DEPENDS += "wayland"
|
SRCREV = "419a757c23aaa67c676fe3a2196d64808fcf2254"
|
||||||
|
|
||||||
|
DEPENDS = "libxkbcommon lvgl wayland"
|
||||||
|
|
||||||
REQUIRED_DISTRO_FEATURES = "wayland"
|
REQUIRED_DISTRO_FEATURES = "wayland"
|
||||||
|
|
||||||
@@ -29,7 +26,6 @@ EXTRA_OECMAKE += "-Dinstall:BOOL=ON"
|
|||||||
TARGET_CFLAGS += "-DLV_CONF_INCLUDE_SIMPLE=1"
|
TARGET_CFLAGS += "-DLV_CONF_INCLUDE_SIMPLE=1"
|
||||||
TARGET_CFLAGS += "-I${RECIPE_SYSROOT}/${includedir}/lvgl"
|
TARGET_CFLAGS += "-I${RECIPE_SYSROOT}/${includedir}/lvgl"
|
||||||
|
|
||||||
|
|
||||||
do_configure:append() {
|
do_configure:append() {
|
||||||
[ -r "${S}/lv_drv_conf.h" ] \
|
[ -r "${S}/lv_drv_conf.h" ] \
|
||||||
|| sed -e "s|#if 0 .*Set it to \"1\" to enable the content.*|#if 1 // Enabled by ${PN}|g" \
|
|| 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() {
|
|||||||
< "${S}/lv_drv_conf_template.h" > "${S}/lv_drv_conf.h"
|
< "${S}/lv_drv_conf_template.h" > "${S}/lv_drv_conf.h"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
FILES:${PN}-dev += "\
|
||||||
FILES:${PN}-dev = "\
|
|
||||||
${includedir}/lvgl/lv_drivers/ \
|
${includedir}/lvgl/lv_drivers/ \
|
||||||
"
|
"
|
||||||
|
|
||||||
FILES:${PN}-staticdev = "${libdir}/"
|
|
||||||
|
|||||||
Reference in New Issue
Block a user