diff --git a/openmamba-dark-metadata.json.cmake b/openmamba-dark-metadata.json.cmake new file mode 100644 index 0000000..5e0afa9 --- /dev/null +++ b/openmamba-dark-metadata.json.cmake @@ -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" +} diff --git a/openmamba-light-metadata.json.cmake b/openmamba-light-metadata.json.cmake new file mode 100644 index 0000000..f1799be --- /dev/null +++ b/openmamba-light-metadata.json.cmake @@ -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" +} diff --git a/plasma-framework.spec b/plasma-framework.spec index 4bd1fe4..fd177ed 100644 --- a/plasma-framework.spec +++ b/plasma-framework.spec @@ -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 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 5.103.0-2mamba +- provide correct desktoptheme metadata.json for openmamba themes + * Mon Feb 13 2023 Automatic Build System 5.103.0-1mamba - automatic version update by autodist