From b9df9e62a2e577154e0134a30be014836fffd3ffb62b0da776af32dc82c62659 Mon Sep 17 00:00:00 2001 From: Wolfgang Bauer Date: Fri, 8 Jan 2021 15:34:52 +0000 Subject: [PATCH] Accepting request 860754 from home:Vogtinator:branches:KDE:Frameworks5 - Add subpackage with breeze-icons.rcc just for Kexi OBS-URL: https://build.opensuse.org/request/show/860754 OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/breeze5-icons?expand=0&rev=172 --- breeze5-icons.changes | 5 +++++ breeze5-icons.spec | 19 ++++++++++++++++++- 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/breeze5-icons.changes b/breeze5-icons.changes index 82cf6a4..9992506 100644 --- a/breeze5-icons.changes +++ b/breeze5-icons.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jan 6 14:19:27 UTC 2021 - Fabian Vogt + +- Add subpackage with breeze-icons.rcc just for Kexi + ------------------------------------------------------------------- Tue Jan 5 22:54:47 UTC 2021 - Fabian Vogt diff --git a/breeze5-icons.spec b/breeze5-icons.spec index e637363..ed3c50d 100644 --- a/breeze5-icons.spec +++ b/breeze5-icons.spec @@ -48,11 +48,21 @@ BuildArch: noarch %description Breeze-icons is a freedesktop.org compatible icon theme. +%package rcc +Summary: Breeze icon theme - rcc file +Group: System/GUI/KDE + +%description rcc +Breeze-icons is a freedesktop.org compatible icon theme. +This contains the Breeze (non-dark) icons in a QResource file, used by Kexi. + %prep %autosetup -p1 -n breeze-icons-%{version} %build - %cmake_kf5 -d build -- -DBINARY_ICONS_RESOURCE=OFF + # For some reason Kexi only wants to use breeze-icons.rcc and not the icons directory, + # so build it just for that. + %cmake_kf5 -d build -- -DBINARY_ICONS_RESOURCE=ON %cmake_build %install @@ -75,7 +85,14 @@ Breeze-icons is a freedesktop.org compatible icon theme. %license COPYING* %ghost %{_kf5_iconsdir}/breeze/icon-theme.cache %ghost %{_kf5_iconsdir}/breeze-dark/icon-theme.cache +%exclude %{_kf5_iconsdir}/breeze/breeze-icons.rcc +%exclude %{_kf5_iconsdir}/breeze-dark/breeze-icons-dark.rcc %{_kf5_iconsdir}/breeze/ %{_kf5_iconsdir}/breeze-dark/ +%files rcc +%dir %{_kf5_iconsdir}/breeze +# Kexi does not need the -dark variant. +%{_kf5_iconsdir}/breeze/breeze-icons.rcc + %changelog