1
0
forked from pool/breeze5-icons

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
This commit is contained in:
Wolfgang Bauer 2021-01-08 15:34:52 +00:00 committed by Git OBS Bridge
parent 2ba37a84ee
commit b9df9e62a2
2 changed files with 23 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jan 6 14:19:27 UTC 2021 - Fabian Vogt <fabian@ritter-vogt.de>
- Add subpackage with breeze-icons.rcc just for Kexi
-------------------------------------------------------------------
Tue Jan 5 22:54:47 UTC 2021 - Fabian Vogt <fabian@ritter-vogt.de>

View File

@ -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