Name: kwin-effects-better-blur-dx %global forgeurl https://github.com/xarblu/%{name} %global commit e8475d0a7045e1ef035d54cff9cf2c0b02f0aff0 %global date 20260624 %forgemeta Version: 2.5.1 Release: 4%{?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 * Mon Mar 22 2026 Track - 2.3.0-1.git - New version * Mon Apr 13 2026 Track - 2.3.0-2.git - Build for KWin 6.6.4 * Mon Jun 18 2026 Track - 2.4.1-2.git - Build for KWin 6.7.0