mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-27 20:07:25 +00:00
0523715128
* with multilib lib32-lvgl installs all headers except lv_conf.h into:
${includedir}/lvgl only lv_conf.h ends in ${includedir}/lib32-lvgl/
which is wrong and not included in any includepaths:
$ cat lib32-lvgl/9.1.0/image/usr/lib32/pkgconfig/lvgl.pc
prefix="/usr"
includedir="${prefix}/include/lvgl"
libdir=${prefix}/lib
Name: lvgl
Description: Light and Versatile Graphics Library
URL: https://lvgl.io/
Version: 9.1.0
Cflags: -I${includedir}
Libs: -L${libdir} -llvgl
Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
29 lines
873 B
BlitzBasic
29 lines
873 B
BlitzBasic
# SPDX-FileCopyrightText: Huawei Inc.
|
|
#
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
HOMEPAGE = "https://lvgl.io/"
|
|
DESCRIPTION = "LVGL is an OSS graphics library to create embedded GUI"
|
|
SUMMARY = "Light and Versatile Graphics Library"
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://LICENCE.txt;md5=bf1198c89ae87f043108cea62460b03a"
|
|
|
|
SRC_URI = "\
|
|
git://github.com/lvgl/lvgl;protocol=https;branch=master \
|
|
file://0002-fix-sdl-handle-both-LV_IMAGE_SRC_FILE-and-LV_IMAGE_S.patch \
|
|
file://0007-fix-cmake-generate-versioned-shared-libraries.patch \
|
|
file://0008-fix-fbdev-set-resolution-prior-to-buffer.patch \
|
|
"
|
|
SRCREV = "e1c0b21b2723d391b885de4b2ee5cc997eccca91"
|
|
|
|
inherit cmake
|
|
|
|
EXTRA_OECMAKE = "-DLIB_INSTALL_DIR=${baselib} -DBUILD_SHARED_LIBS=ON"
|
|
S = "${WORKDIR}/git"
|
|
|
|
require lv-conf.inc
|
|
|
|
do_install:append() {
|
|
install -m 0644 "${S}/lv_conf.h" "${D}${includedir}/${BPN}/lv_conf.h"
|
|
}
|