mirror of
https://codeberg.org/flk/meta-wayland.git
synced 2025-04-08 18:06:47 +02:00
Compare commits
2 Commits
c4dff5a197
...
61eccc4701
Author | SHA1 | Date | |
---|---|---|---|
|
61eccc4701 | ||
|
e100201324 |
18
recipes-devtools/libspng/libspng_git.bb
Normal file
18
recipes-devtools/libspng/libspng_git.bb
Normal file
@ -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}"
|
@ -0,0 +1,28 @@
|
|||||||
|
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
|
||||||
|
|
@ -4,11 +4,12 @@ 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 file"
|
DEPENDS = "pixman cairo jpeg hyprutils libwebp libjxl libspng 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 = "52202272d89da32a9f866c0d10305a5e3d954c50"
|
SRCREV = "12cd7034e441a5ebfdef1a090c0788413b4a635b"
|
||||||
PV = "0.1.1"
|
PV = "0.1.1"
|
||||||
inherit cmake pkgconfig
|
inherit cmake pkgconfig
|
||||||
|
Loading…
x
Reference in New Issue
Block a user