File kf6-breeze-icons-generate-dark.patch of Package kf6-breeze-icons
From: Mykola Krachkovsky <w01dnick@gmail.com>
Date: 2024-06-14 20:11 UTC
Subject: Generate icons for dark theme
References: boo#1226207
diff --git a/icons/CMakeLists.txt b/icons/CMakeLists.txt
index fc883881..83924a4a 100644
--- a/icons/CMakeLists.txt
+++ b/icons/CMakeLists.txt
@@ -29,8 +29,11 @@ if(WITH_ICON_GENERATION)
else()
# create the target dir, we need it for resource creation
add_custom_target(breeze-generate-24px-versions ALL
- COMMENT "Generating 24px icons placeholder"
- )
+ COMMENT "Generating 24px icons placeholder")
+ 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}
+ )
endif()
if(NOT SKIP_INSTALL_ICONS)