Name: kwin-effects-better-blur-dx %global forgeurl https://github.com/xarblu/%{name} %global commit 9a5f6b164867cf91efb6bdc888e229ef9e2f946c %global date 20260218 %forgemeta Version: 2.2.0 Release: 2%{?dist} Summary: Blur any window on Wayland and X11 License: GPL-3.0 URL: %{forgeurl} Source: %{forgesource} BuildRequires: gcc-c++ BuildRequires: cmake BuildRequires: extra-cmake-modules BuildRequires: kf6-rpm-macros BuildRequires: cmake(Qt6Core) BuildRequires: cmake(Qt6DBus) BuildRequires: cmake(Qt6Gui) BuildRequires: cmake(Qt6Network) BuildRequires: cmake(Qt6OpenGL) BuildRequires: cmake(Qt6UiTools) BuildRequires: cmake(Qt6Widgets) BuildRequires: cmake(Qt6Xml) BuildRequires: cmake(KF6Config) BuildRequires: cmake(KF6ConfigWidgets) BuildRequires: cmake(KF6CoreAddons) BuildRequires: cmake(KF6Crash) BuildRequires: cmake(KF6GlobalAccel) BuildRequires: cmake(KF6GuiAddons) BuildRequires: cmake(KF6I18n) BuildRequires: cmake(KF6KCMUtils) BuildRequires: cmake(KF6KIO) BuildRequires: cmake(KF6Notifications) BuildRequires: cmake(KF6Service) BuildRequires: cmake(KF6WidgetsAddons) BuildRequires: cmake(KF6WindowSystem) BuildRequires: cmake(KWin) BuildRequires: cmake(KDecoration3) %if 0%{?fedora} BuildRequires: cmake(KWinX11) %endif BuildRequires: pkgconfig(epoxy) BuildRequires: pkgconfig(libdrm) BuildRequires: pkgconfig(wayland-server) BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xcb) Requires: kwin Obsoletes: kwin-effects-forceblur < 2.0.0 Provides: kwin-effects-forceblur = 2.2.0 %if 0%{?fedora} Requires: (kwin-effects-better-blur-dx-x11 if kwin-x11) %endif %description Better Blur DX is a loose continuation of Better Blur - a fork of the Plasma 6 blur effect with additional features and bug fixes. Features - Force blur - Adjustable blur brightness, contrast and saturation - Adjustable corner radius - Refraction You may notice these are less features than the original Better Blur. Notably "Static Blur" is currently missing because it wasn't trivially portable to the Plasma 6.5 blur and needs to be reimplemented. %files %license LICENSE %doc README.md %{_kf6_qtplugindir}/kwin/effects/configs/kwin_better_blur_dx_config.so %{_kf6_qtplugindir}/kwin/effects/plugins/better_blur_dx.so %if 0%{?fedora} #------------------------------------------------------------------ %package x11 Summary: Blur any window on X11 Requires: kwin-effects-better-blur-dx Requires: kwin-x11 Obsoletes: kwin-effects-forceblur-x11 < 2.0.0 Provides: kwin-effects-forceblur-x11 = 2.2.0 %description x11 Better Blur DX is a loose continuation of Better Blur - a fork of the Plasma 6 blur effect with additional features and bug fixes. Features - Force blur - Adjustable blur brightness, contrast and saturation - Adjustable corner radius - Refraction You may notice these are less features than the original Better Blur. Notably "Static Blur" is currently missing because it wasn't trivially portable to the Plasma 6.5 blur and needs to be reimplemented. This package contains the effect for KDE's x11 session. %files x11 %{_kf6_qtplugindir}/kwin-x11/effects/configs/kwin_better_blur_dx_config.so %{_kf6_qtplugindir}/kwin-x11/effects/plugins/better_blur_dx.so #------------------------------------------------------------------ %endif %prep %forgeautosetup -p1 %build %cmake_kf6 -B build-wayland -S . cmake --build build-wayland --verbose -- -j%{?_smp_build_ncpus} %if 0%{?fedora} %cmake_kf6 -B build-x11 -S . -DBETTERBLUR_X11=ON cmake --build build-x11 --verbose -- -j%{?_smp_build_ncpus} %endif %install DESTDIR=%{buildroot} cmake --install build-wayland %if 0%{?fedora} DESTDIR=%{buildroot} cmake --install build-x11 %endif %changelog * Wed Feb 18 2026 Track - 2.2.0-1.git - Initial build for KWin 6.6 * Mon Mar 02 2026 Track - 2.2.0-2.git - Build for KWin 6.6.1