provide correct desktoptheme metadata.json for openmamba themes [release 5.103.0-2mamba;Fri Mar 10 2023]

This commit is contained in:
Silvan Calarco 2024-01-06 10:11:57 +01:00
parent 8ebaacd640
commit e38adee35e
3 changed files with 46 additions and 4 deletions

View File

@ -0,0 +1,19 @@
{
"KPlugin": {
"Authors": [
{
"Email": "info@openmamba.org",
"Name": "Silvan Calarco"
}
],
"Category": "",
"Description": "openmamba Dark theme",
"EnabledByDefault": true,
"Id": "breeze-dark",
"License": "LGPL",
"Name": "openmamba Dark",
"Version": "1.0",
"Website": "https://openmamba.org"
},
"X-Plasma-API": "5.0"
}

View File

@ -0,0 +1,19 @@
{
"KPlugin": {
"Authors": [
{
"Email": "info@openmamba.org",
"Name": "Silvan Calarco"
}
],
"Category": "",
"Description": "openmamba Light theme",
"EnabledByDefault": true,
"Id": "default",
"License": "LGPL",
"Name": "openmamba Light",
"Version": "1.0",
"Website": "https://openmamba.org"
},
"X-Plasma-API": "5.0"
}

View File

@ -2,7 +2,7 @@
Name: plasma-framework
Version: 5.103.0
Release: 1mamba
Release: 2mamba
Summary: KDE Frameworks 5 foundations that can be used to build a primary user interface
Group: System/Libraries
Vendor: openmamba
@ -11,6 +11,8 @@ Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://kde.org/
Source: http://download.kde.org/stable/frameworks/%{majver}/plasma-framework-%{version}.tar.xz
Source1: openmamba.svgz
Source2: openmamba-light-metadata.json.cmake
Source3: openmamba-dark-metadata.json.cmake
Patch0: plasma-framework-5.55.0-arm-GLESv2.patch
License: GPL
## AUTOBUILDREQ-BEGIN
@ -102,10 +104,9 @@ Plasma desktop theme for openmamba.
#%endif
cp -a src/desktoptheme/{breeze-dark,openmamba-dark}
cp -a src/desktoptheme/{breeze-light,openmamba-light}
cp -a %{SOURCE2} src/desktoptheme/openmamba-light/metadata.json.cmake
cp -a %{SOURCE3} src/desktoptheme/openmamba-dark/metadata.json.cmake
sed -i "s|61,174,233|82,174,50|" src/desktoptheme/openmamba-{light,dark}/colors
sed -i "/Name\[/d" src/desktoptheme/openmamba-{light,dark}/metadata.json.cmake
sed -i "/Description\[/d" src/desktoptheme/openmamba-{light,dark}/metadata.json.cmake
sed -i "s|Breeze|openmamba|" src/desktoptheme/openmamba-{light,dark}/metadata.json.cmake
sed -i "s|defaultWallpaperTheme=.*|defaultWallpaperTheme=openmambaRandom|" src/desktoptheme/openmamba-{light,dark}/plasmarc
sed -i "s|desktoptheme/breeze|desktoptheme/openmamba|" src/desktoptheme/openmamba-{light,dark}/CMakeLists.txt
cat >> src/desktoptheme/CMakeLists.txt << _EOF
@ -230,6 +231,9 @@ done
%{_datadir}/plasma/desktoptheme/openmamba-light/*
%changelog
* Fri Mar 10 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 5.103.0-2mamba
- provide correct desktoptheme metadata.json for openmamba themes
* Mon Feb 13 2023 Automatic Build System <autodist@mambasoft.it> 5.103.0-1mamba
- automatic version update by autodist