From e100201324b667a4e0c3baa4c8fd2e6772782fc6 Mon Sep 17 00:00:00 2001 From: Markus Volk Date: Wed, 29 Jan 2025 07:07:42 +0100 Subject: [PATCH] libspng: add recipe --- recipes-devtools/libspng/libspng_git.bb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 recipes-devtools/libspng/libspng_git.bb diff --git a/recipes-devtools/libspng/libspng_git.bb b/recipes-devtools/libspng/libspng_git.bb new file mode 100644 index 0000000..7433a44 --- /dev/null +++ b/recipes-devtools/libspng/libspng_git.bb @@ -0,0 +1,18 @@ +SUMMARY = "libspng is a C library for reading and writing PNG format files with a focus on security and ease of use" +HOMEPAGE = "https://github.com/randy408/libspng" +LICENSE = "BSD-2-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=29809adc19b040d93257a61c5bff614b" + +SRC_URI = "git://github.com/randy408/libspng.git;protocol=https;branch=master" +SRCREV = "fb768002d4288590083a476af628e51c3f1d47cd" +S = "${WORKDIR}/git" +PV = "0.7.4" + +DEPENDS = "libdeflate" + +inherit cmake + +EXTRA_OECMAKE += "-DSPNG_STATIC=OFF -DBUILD_EXAMPLES=OFF" + +FILES:${PN} = "${libdir}/libspng.so" +FILES:${PN}-dev = "${libdir}/cmake ${libdir}/pkgconfig ${includedir}"