Andrew Geissler | eff2747 | 2021-10-29 15:35:00 -0500 | [diff] [blame^] | 1 | # SPDX-FileCopyrightText: Huawei Inc. |
| 2 | # SPDX-License-Identifier: MIT |
| 3 | |
| 4 | src_org = "lvgl" |
| 5 | SRC_URI = "gitsm://github.com/${src_org}/lv_lib_png;destsuffix=${S};protocol=https;nobranch=1" |
| 6 | SRCREV = "bf1531afe07c9f861107559e29ab8a2d83e4715a" |
| 7 | |
| 8 | LICENSE = "MIT" |
| 9 | LIC_FILES_CHKSUM = "file://LICENSE;md5=d6fc0df890c5270ef045981b516bb8f2" |
| 10 | |
| 11 | HOMEPAGE = "https://docs.lvgl.io" |
| 12 | SUMMARY = "PNG decoder for LVGL" |
| 13 | DESCRIPTION = "Allow the use of PNG images in LVGL. This implementation uses lodepng" |
| 14 | |
| 15 | # because of lvgl dependency |
| 16 | REQUIRED_DISTRO_FEATURES = "wayland" |
| 17 | |
| 18 | DEPENDS += "lvgl" |
| 19 | |
| 20 | inherit cmake |
| 21 | inherit features_check |
| 22 | |
| 23 | TARGET_CFLAGS += "-DLV_CONF_INCLUDE_SIMPLE=1" |
| 24 | TARGET_CFLAGS += "-I${RECIPE_SYSROOT}/${includedir}/lvgl" |
| 25 | |
| 26 | FILES:${PN}-dev = "\ |
| 27 | ${includedir}/lvgl/lv_lib_png/ \ |
| 28 | " |
| 29 | |
| 30 | FILES:${PN}-staticdev = "${libdir}/" |