mirror of
https://codeberg.org/flk/meta-wayland.git
synced 2025-08-28 15:02:00 +02:00
breeze-icons: fix icons-dark build
use 'generate-symbolic-dark' provided by native recipe instead of running target built binary
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
From 7a59af580210d064316ac07e606cba06b9cab9fd Mon Sep 17 00:00:00 2001
|
||||
From: Markus Volk <f_l_k@t-online.de>
|
||||
Date: Wed, 27 Aug 2025 20:01:28 +0200
|
||||
Subject: [PATCH] icons-dark/CMakeLists.txt: dont use target binary
|
||||
|
||||
Signed-off-by: Markus Volk <f_l_k@t-online.de>
|
||||
|
||||
Upstream-Status: Inappropriate [oe-specific]
|
||||
---
|
||||
icons-dark/CMakeLists.txt | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/icons-dark/CMakeLists.txt b/icons-dark/CMakeLists.txt
|
||||
index 567a7b1c..d03f8453 100644
|
||||
--- a/icons-dark/CMakeLists.txt
|
||||
+++ b/icons-dark/CMakeLists.txt
|
||||
@@ -15,7 +15,7 @@ if(WITH_ICON_GENERATION)
|
||||
# No trainling slashes on dirs. It will break scripts.
|
||||
add_custom_target(breeze-generate-symbolic-dark ALL
|
||||
COMMENT "Generating symbolic dark icons"
|
||||
- COMMAND $<TARGET_FILE:generate-symbolic-dark> ${CMAKE_SOURCE_DIR}/icons ${ICON_GEN_DIR}
|
||||
+ COMMAND "generate-symbolic-dark" ${CMAKE_SOURCE_DIR}/icons ${ICON_GEN_DIR}
|
||||
)
|
||||
# Auto-generate 24px monochrome icons from 22px versions
|
||||
add_custom_target(breeze-generate-24px-versions-dark ALL
|
||||
--
|
||||
2.50.1
|
||||
|
@@ -4,6 +4,7 @@ LICENSE = "LGPL-2.1-only"
|
||||
LIC_FILES_CHKSUM += "file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1"
|
||||
|
||||
SRC_URI = "git://invent.kde.org/frameworks/breeze-icons.git;protocol=https;nobranch=1"
|
||||
SRC_URI += "file://0001-icons-dark-CMakeLists.txt-dont-use-target-binary.patch"
|
||||
SRCREV = "2a9b908671d4168fa94583f043c33f6b90aec3a7"
|
||||
|
||||
DEPENDS = " \
|
||||
@@ -18,9 +19,13 @@ DEPENDS = " \
|
||||
|
||||
inherit qt6-cmake pkgconfig
|
||||
|
||||
EXTRA_OECMAKE:class-native += "-DWITH_ICON_GENERATION=OFF"
|
||||
|
||||
do_install:class-native() {
|
||||
install -d ${D}${bindir}
|
||||
install -m 755 ${B}/bin/qrcAlias ${D}${bindir}
|
||||
for file in ${B}/bin/*; do
|
||||
install -m 755 $file ${D}${bindir}
|
||||
done
|
||||
}
|
||||
|
||||
FILES:${PN} += "${libdir}/qml ${datadir}/icons"
|
||||
|
Reference in New Issue
Block a user