11# SPDX-FileCopyrightText: Huawei Inc.
2+ #
23# SPDX-License-Identifier: MIT
34
4- # TODO: Pin upstream release (current v7.11.0-80-g419a757)
5- src_org = "lvgl"
6- SRC_URI = "gitsm://github.com/${src_org} /lv_drivers;destsuffix=${S} ;protocol=https;nobranch=1"
7- SRCREV = "419a757c23aaa67c676fe3a2196d64808fcf2254"
8-
9- LICENSE = "MIT"
10- LIC_FILES_CHKSUM = "file://LICENSE;md5=d6fc0df890c5270ef045981b516bb8f2"
11-
125HOMEPAGE = "https://docs.lvgl.io/latest/en/html/porting/index.html"
136SUMMARY = "LVGL's Display and Touch pad drivers"
147DESCRIPTION = "Collection of drivers: SDL, framebuffer, wayland and more..."
8+ LICENSE = "MIT"
9+ LIC_FILES_CHKSUM = "file://LICENSE;md5=d6fc0df890c5270ef045981b516bb8f2"
10+
11+ # TODO: Pin upstream release (current v7.11.0-80-g419a757)
12+ SRC_URI = "git://github.com/lvgl/lv_drivers;destsuffix=${S} ;protocol=https;nobranch=1"
13+ SRCREV = "419a757c23aaa67c676fe3a2196d64808fcf2254"
1514
16- DEPENDS += "libxkbcommon"
17- DEPENDS += "lvgl"
18- DEPENDS += "wayland"
15+ DEPENDS = "libxkbcommon lvgl wayland"
1916
2017REQUIRED_DISTRO_FEATURES = "wayland"
2118
@@ -29,17 +26,13 @@ EXTRA_OECMAKE += "-Dinstall:BOOL=ON"
2926TARGET_CFLAGS += "-DLV_CONF_INCLUDE_SIMPLE=1"
3027TARGET_CFLAGS += "-I${RECIPE_SYSROOT} /${includedir} /lvgl"
3128
32-
3329do_configure :append () {
3430 [ -r "${S} /lv_drv_conf.h" ] \
3531 || sed -e "s|#if 0 .*Set it to \" 1\" to enable the content.*|#if 1 // Enabled by ${PN} |g" \
3632 -e "s|# define USE_WAYLAND 0|# define USE_WAYLAND 1|g" \
3733 < "${S} /lv_drv_conf_template.h" > "${S} /lv_drv_conf.h"
3834}
3935
40-
41- FILES :${PN} -dev = "\
36+ FILES :${PN} -dev += "\
4237 ${includedir} /lvgl/lv_drivers/ \
4338 "
44-
45- FILES :${PN} -staticdev = "${libdir} /"
0 commit comments