%global _enable_debug_package 0 %global debug_package %{nil} %global __requires_exclude ^(libSPIRV.so.*|^libglslang.so.*)$ Name: wallpaper-engine-kde-plugin-qt6 Version: 20240920 Release: 1%{?dist} Summary: A KDE wallpaper plugin integrating wallpaper engine License: GPLv2 URL: https://github.com/catsout/wallpaper-engine-kde-plugin Source0: wallpaper-engine-kde-plugin.tar.xz BuildRequires: mpv-devel vulkan-headers plasma-workspace-devel libplasma-devel lz4-devel qt6-qtbase-private-devel qt6-qtbase-devel cmake cmake-data qt6-qtwebsockets-devel qt6-qtmultimedia-devel extra-cmake-modules kf6-kpackage-devel qt6-qtwebchannel-devel Requires: plasma-workspace gstreamer1-libav mpv-libs lz4 python3-websockets qt6-qtmultimedia kf6-kdeclarative libplasma plasma5support qt6-qtwebsockets qt6-qt5compat qt6-qtdeclarative qt6-qtwebchannel qt6-qtwebengine qt6-qtbase qt6-qtwebsockets kf6-kpackage qt6-qtwebsockets-devel Conflicts: wallpaper-engine-kde-plugin %description A wallpaper plugin integrating wallpaper engine into KDE wallpaper setting. Qt6 Version. %prep %setup -q -n wallpaper-engine-kde-plugin %build cmake -B build -S . \ -DCMAKE_BUILD_TYPE=None \ -DQT_MAJOR_VERSION=6 \ -DUSE_PLASMAPKG=OFF \ -DCMAKE_INSTALL_PREFIX=/usr \ -DSPIRV_REFLECT_STATIC_LIB=ON \ -DBUILD_QML=ON cmake --build build %install DESTDIR=%{buildroot} cmake --install build %clean #rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %dir %{_libdir}/qt6/qml/com/github/catsout/wallpaperEngineKde/ %{_libdir}/qt6/qml/com/github/catsout/wallpaperEngineKde/* %dir %{_datadir}/plasma/wallpapers/com.github.catsout.wallpaperEngineKde/ %{_datadir}/plasma/wallpapers/com.github.catsout.wallpaperEngineKde/* %{_datadir}/metainfo/com.github.catsout.wallpaperEngineKde.appdata.xml %changelog