rebuilt with -DBUILD_DESKTOPTHEMES=OFF for framework 6 coinstallability [release 5.115.0-2mamba;Thu Mar 07 2024]

This commit is contained in:
Silvan Calarco 2024-03-29 19:17:37 +01:00
parent 1bebc57602
commit 0065ec851f
5 changed files with 9 additions and 117 deletions

View File

@ -1,19 +0,0 @@
{
"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

@ -1,19 +0,0 @@
{
"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"
}

Binary file not shown.

View File

@ -1,11 +0,0 @@
--- plasma-framework-5.55.0/src/declarativeimports/core/CMakeLists.txt.orig 2019-02-26 11:42:17.278238636 +0100
+++ plasma-framework-5.55.0/src/declarativeimports/core/CMakeLists.txt 2019-02-26 11:42:28.987445459 +0100
@@ -60,7 +60,7 @@
endif()
if (${Qt5Gui_OPENGL_IMPLEMENTATION} STREQUAL "GLESv2")
- target_link_libraries(corebindingsplugin Qt5::Gui_GLESv2)
+ target_link_libraries(corebindingsplugin /usr/lib/libGLESv2.so)
endif()
install(TARGETS corebindingsplugin DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/plasma/core)

View File

@ -2,7 +2,7 @@
Name: plasma-framework
Version: 5.115.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
@ -10,10 +10,6 @@ Distribution: openmamba
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
BuildRequires: glibc-devel
@ -44,7 +40,7 @@ BuildRequires: libkjobwidgets-devel
BuildRequires: libknotifications-devel
BuildRequires: libkpackage-devel
BuildRequires: libkservice-devel
BuildRequires: libkwayland-devel
BuildRequires: libkwayland5-devel
BuildRequires: libkwidgetsaddons-devel
BuildRequires: libkwindowsystem-devel
BuildRequires: libkxmlgui-devel
@ -79,67 +75,32 @@ Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%package desktopthemes
Group: Graphical Desktop/Look 'n' feel
Summary: Additional Plasma desktop themes
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description desktopthemes
Additional Plasma desktop themes.
%package -n plasma-desktoptheme-openmamba
Group: Graphical Desktop/Look 'n' feel
Summary: Plasma desktop theme for openmamba
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n plasma-desktoptheme-openmamba
Plasma desktop theme for openmamba.
%debug_package
%prep
%setup -q
#%ifarch arm
#%patch0 -p1
#%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 "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
add_subdirectory( openmamba-dark )
add_subdirectory( openmamba-light )
_EOF
%build
%cmake_kde5 -d build
%cmake_kde5 -d build \
-DBUILD_DESKTOPTHEMES=OFF
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
# Replace desktop menu icon (start.svgz) with openmamba icon
for d in %{buildroot}%{_datadir}/plasma/desktoptheme/*; do
[ -e ${d}/icons/start.svgz ] && install -m0644 %{SOURCE1} ${d}/icons/start.svgz
done
%find_lang %{name}5_qt --with-qt --all-name || touch %{name}5_qt.lang
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files -f %{name}5_qt.lang
%defattr(-,root,root)
%{_bindir}/plasmapkg2
#%{_datadir}/kservices5/plasma-scriptengine-applet-declarative.desktop
%{_kde5_servicetypesdir}/plasma-applet.desktop
%{_kde5_servicetypesdir}/plasma-containment.desktop
%{_kde5_servicetypesdir}/plasma-containmentactions.desktop
@ -153,29 +114,13 @@ done
%{_kde5_servicetypesdir}/plasma-wallpaper.desktop
%{_datadir}/qlogging-categories5/plasma-framework.*categories
%dir %{_datadir}/plasma
%dir %{_datadir}/plasma/desktoptheme
%dir %{_datadir}/plasma/desktoptheme/default
%{_datadir}/plasma/desktoptheme/default/*
%{_datadir}/plasma/services/dataengineservice.operations
%{_datadir}/plasma/services/plasmoidservice.operations
%{_datadir}/plasma/services/storage.operations
%{_datadir}/kdevappwizard/templates/*
#%{_datadir}/locale/lt/LC_SCRIPTS/libplasma5/libplasma5.js
#%{_datadir}/locale/lt/LC_SCRIPTS/libplasma5/plasmoids.js
%{_mandir}/man1/plasmapkg2.1*
%{_mandir}/*/man1/plasmapkg2.1*
%files desktopthemes
%defattr(-,root,root)
%dir %{_datadir}/plasma/desktoptheme/air
%{_datadir}/plasma/desktoptheme/air/*
%dir %{_datadir}/plasma/desktoptheme/breeze-light
%{_datadir}/plasma/desktoptheme/breeze-light/*
%dir %{_datadir}/plasma/desktoptheme/breeze-dark
%{_datadir}/plasma/desktoptheme/breeze-dark/*
%dir %{_datadir}/plasma/desktoptheme/oxygen
%{_datadir}/plasma/desktoptheme/oxygen/*
%files -n lib%{name}
%defattr(-,root,root)
%{_kde5_libdir}/libKF5Plasma.so.*
@ -204,7 +149,7 @@ done
%{_libdir}/qt5/qml/org/kde/plasma/platformcomponents/plugins.qmltypes
%{_libdir}/qt5/qml/org/kde/plasma/platformcomponents/libplatformcomponentsplugin.so
%{_libdir}/qt5/qml/org/kde/plasma/platformcomponents/qmldir
%doc LICENSES
#%doc LICENSES
%files -n lib%{name}-devel
%defattr(-,root,root)
@ -223,14 +168,10 @@ done
%{_kde5_libdir}/libKF5Plasma.so
%{_kde5_libdir}/libKF5PlasmaQuick.so
%files -n plasma-desktoptheme-openmamba
%defattr(-,root,root)
%dir %{_datadir}/plasma/desktoptheme/openmamba-dark
%{_datadir}/plasma/desktoptheme/openmamba-dark/*
%dir %{_datadir}/plasma/desktoptheme/openmamba-light
%{_datadir}/plasma/desktoptheme/openmamba-light/*
%changelog
* Thu Mar 07 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 5.115.0-2mamba
- rebuilt with -DBUILD_DESKTOPTHEMES=OFF for framework 6 coinstallability
* Mon Feb 12 2024 Automatic Build System <autodist@openmamba.org> 5.115.0-1mamba
- automatic version update by autodist