Skip to content
Snippets Groups Projects
Commit 6ef165bc authored by philippe coval's avatar philippe coval :speech_balloon: Committed by Zygmunt Krynicki
Browse files

lvgl: Lint recipe


Signed-off-by: default avatarPhilippe Coval <philippe.coval@huawei.com>
parent 5f7d8321
No related branches found
No related tags found
No related merge requests found
# -*- mode: bitbake; c-basic-offset: 4; indent-tabs-mode: nil -*-
# SPDX-FileCopyrightText: Huawei Inc. # SPDX-FileCopyrightText: Huawei Inc.
#
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# TODO: Pin upstream release (current is v8.0.3-dev-239-g7b7bed37d) HOMEPAGE = "https://lvgl.io/"
src_org = "lvgl" DESCRIPTION = "LVGL is an OSS graphics library to create embedded GUI"
SRC_URI = "gitsm://github.com/${src_org}/lvgl;destsuffix=${S};protocol=https;nobranch=1" SUMMARY = "Light and Versatile Graphics Library"
SRCREV = "7b7bed37d3e937c59ec99fccba58774fbf9f1930"
LICENSE = "MIT" LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENCE.txt;md5=bf1198c89ae87f043108cea62460b03a" LIC_FILES_CHKSUM = "file://LICENCE.txt;md5=bf1198c89ae87f043108cea62460b03a"
HOMEPAGE = "https://lvgl.io/" # TODO: Pin upstream release (current is v8.0.3-dev-239-g7b7bed37d)
SUMMARY = "Light and Versatile Graphics Library" SRC_URI = "gitsm://github.com/lvgl/lvgl;destsuffix=${S};protocol=https;nobranch=1"
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." SRCREV = "7b7bed37d3e937c59ec99fccba58774fbf9f1930"
REQUIRED_DISTRO_FEATURES = "wayland" REQUIRED_DISTRO_FEATURES = "wayland"
...@@ -24,17 +21,13 @@ S = "${WORKDIR}/${PN}-${PV}" ...@@ -24,17 +21,13 @@ S = "${WORKDIR}/${PN}-${PV}"
EXTRA_OECMAKE += "-Dinstall:BOOL=ON" EXTRA_OECMAKE += "-Dinstall:BOOL=ON"
do_configure:prepend() { do_configure:prepend() {
[ -r "${S}/lv_conf.h" ] \ [ -r "${S}/lv_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" \
< "${S}/lv_conf_template.h" > "${S}/lv_conf.h" < "${S}/lv_conf_template.h" > "${S}/lv_conf.h"
} }
FILES:${PN}-dev += "\
FILES:${PN}-dev = "\
${includedir}/${PN}/ \ ${includedir}/${PN}/ \
${includedir}/${PN}/lvgl/ \ ${includedir}/${PN}/lvgl/ \
" "
FILES:${PN}-staticdev = "${libdir}/"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment