From 61eccc47012b6889e60ea4cd8bed7a6c2360d82b Mon Sep 17 00:00:00 2001 From: Markus Volk Date: Wed, 29 Jan 2025 07:08:15 +0100 Subject: [PATCH] hyprgraphics: update --- .../0001-hyprgraphics-fix-libspng-name.patch | 28 +++++++++++++++++++ .../hyprland/hyprgraphics/hyprgraphics_git.bb | 5 ++-- 2 files changed, 31 insertions(+), 2 deletions(-) create mode 100644 recipes-support/hyprland/hyprgraphics/hyprgraphics/0001-hyprgraphics-fix-libspng-name.patch diff --git a/recipes-support/hyprland/hyprgraphics/hyprgraphics/0001-hyprgraphics-fix-libspng-name.patch b/recipes-support/hyprland/hyprgraphics/hyprgraphics/0001-hyprgraphics-fix-libspng-name.patch new file mode 100644 index 0000000..43e0b53 --- /dev/null +++ b/recipes-support/hyprland/hyprgraphics/hyprgraphics/0001-hyprgraphics-fix-libspng-name.patch @@ -0,0 +1,28 @@ +From 58a1279bf67e818ebe6a1a86d48a5a2f4a5679ee Mon Sep 17 00:00:00 2001 +From: Markus Volk +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 +--- + 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 + diff --git a/recipes-support/hyprland/hyprgraphics/hyprgraphics_git.bb b/recipes-support/hyprland/hyprgraphics/hyprgraphics_git.bb index 5097ea4..9e8e825 100644 --- a/recipes-support/hyprland/hyprgraphics/hyprgraphics_git.bb +++ b/recipes-support/hyprland/hyprgraphics/hyprgraphics_git.bb @@ -4,11 +4,12 @@ LICENSE = "BSD-3-Clause" 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 += "file://0001-hyprgraphics-fix-libspng-name.patch" S = "${WORKDIR}/git" -SRCREV = "52202272d89da32a9f866c0d10305a5e3d954c50" +SRCREV = "12cd7034e441a5ebfdef1a090c0788413b4a635b" PV = "0.1.1" inherit cmake pkgconfig