Compare commits

..

No commits in common. "c4dff5a1978782ff46b891f0074cda59f8f614e5" and "0056f80d991445e6e95b9ef490b57a8813bca8b9" have entirely different histories.

3 changed files with 2 additions and 50 deletions

View File

@ -1,19 +0,0 @@
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"
DEPENDS = "libdeflate"
inherit cmake pkgconfig
EXTRA_OECMAKE += "-DSPNG_STATIC=OFF -DBUILD_EXAMPLES=OFF"
FILES:${PN} = "${libdir}/libspng.so"
FILES:${PN}-dev = "${libdir}/cmake ${libdir}/pkgconfig ${includedir}"
BBCLASSEXTEND = "native"

View File

@ -1,28 +0,0 @@
From 58a1279bf67e818ebe6a1a86d48a5a2f4a5679ee Mon Sep 17 00:00:00 2001
From: Markus Volk <f_l_k@t-online.de>
Date: Wed, 29 Jan 2025 07:04:37 +0100
Subject: [PATCH] hyprgraphics: fix libspng name
It cant be found by pkgconfig otherwise
Signed-off-by: Markus Volk <f_l_k@t-online.de>
---
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 492db50..c666915 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -48,7 +48,7 @@ pkg_check_modules(
libjpeg
libwebp
libmagic
- spng)
+ libspng)
pkg_check_modules(
JXL
--
2.47.1

View File

@ -4,12 +4,11 @@ LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=778ddc598b3f2a2da3657dda514da983" LIC_FILES_CHKSUM = "file://LICENSE;md5=778ddc598b3f2a2da3657dda514da983"
DEPENDS = "pixman cairo jpeg hyprutils libwebp libjxl libspng file" DEPENDS = "pixman cairo jpeg hyprutils libwebp libjxl file"
SRC_URI = "git://github.com/hyprwm/hyprgraphics.git;protocol=https;branch=main" SRC_URI = "git://github.com/hyprwm/hyprgraphics.git;protocol=https;branch=main"
SRC_URI += "file://0001-hyprgraphics-fix-libspng-name.patch"
S = "${WORKDIR}/git" S = "${WORKDIR}/git"
SRCREV = "12cd7034e441a5ebfdef1a090c0788413b4a635b" SRCREV = "52202272d89da32a9f866c0d10305a5e3d954c50"
PV = "0.1.1" PV = "0.1.1"
inherit cmake pkgconfig inherit cmake pkgconfig