File kde-rounded-corners-x11.spec of Package kde-rounded-corners-x11

#
# spec file for package kwin-effects-rounded-corners#
#


Name:           kde-rounded-corners-x11
Version:        0.8.1
Release:        0
Summary:        Rounds the corners of your windows in KDE Plasma 6
License:        GPL-3.0
Group:          System/GUI/KDE
URL:            https://github.com/matinlotfali/KDE-Rounded-Corners/
Source0:        KDE-Rounded-Corners-%{version}.tar.gz
BuildRequires:  cmake >= 3.15
BuildRequires:  cmake(KF6ConfigWidgets) >= 6
BuildRequires:  cmake(KF6I18n) >= 6
BuildRequires:  cmake(KF6KCMUtils) >= 6
BuildRequires:  cmake(KWin)
BuildRequires:  pkgconfig(epoxy)
BuildRequires:  pkgconfig(xcb)
BuildRequires:  cmake(KWinDBusInterface)
BuildRequires:  cmake(Qt6Quick) >= 6.6.0
BuildRequires:  cmake(KF6WindowSystem) >= 6.2.0
BuildRequires:  kwin6-x11-devel
BuildRequires:  kwin6-devel
BuildRequires:  kf6-extra-cmake-modules
BuildRequires:  qt6-core-private-devel
Requires:       kwin6

%description
This effect rounds the corners of your windows and adds an outline around them without much affecting the performance of the KDE Plasma desktop.

%lang_package

%prep
%setup -n KDE-Rounded-Corners-%{version}

%build
%cmake_kf6 -DKWIN_X11=On
%kf6_build

%install
%kf6_install
%find_lang %{name} --all-name

%post   -p /sbin/ldconfig
%postun -p /sbin/ldconfig

%files
%defattr(-,root,root,-)
%dir %{_kf6_sharedir}/kwin-x11


%dir %{_kf6_sharedir}/kwin-x11/shaders
%{_kf6_sharedir}/kwin-x11/shaders/*.frag


%dir %{_kf6_plugindir}/kwin-x11
%dir %{_kf6_plugindir}/kwin-x11/effects
%dir %{_kf6_plugindir}/kwin-x11/effects/plugins

%{_kf6_plugindir}/kwin-x11/effects/plugins/*
%dir %{_kf6_plugindir}/kwin-x11/effects/configs
%{_kf6_plugindir}/kwin-x11/effects/configs/*

%files lang -f %{name}.lang

%changelog
*rebuild for plasma 6.4.4

openSUSE Build Service is sponsored by