hyprgraphics: update

This commit is contained in:
Markus Volk 2025-06-13 18:49:48 +02:00
parent 9ea36d5522
commit 4cfc159f7b
3 changed files with 2 additions and 51 deletions

View File

@ -1,18 +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"
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}"

View File

@ -1,30 +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>
Upstream-Status: Pending
---
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"
DEPENDS = "pixman cairo jpeg hyprutils libwebp libjxl libspng file"
DEPENDS = "pixman cairo jpeg hyprutils libwebp libjxl libpng file"
SRC_URI = "git://github.com/hyprwm/hyprgraphics.git;protocol=https;branch=main"
SRC_URI += "file://0001-hyprgraphics-fix-libspng-name.patch"
S = "${WORKDIR}/git"
SRCREV = "9d7f2687c84c729afbc3b13f7937655570f2978d"
SRCREV = "c7225d73755a6c4c7c72f4d4f3925ea426e325a8"
PV = "0.1.3"
inherit cmake pkgconfig