File layer-shell-qt6.spec of Package layer-shell-qt6
#
# spec file for package layer-shell-qt6
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2021 Fabian Vogt
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define kf6_version 6.10.0
%define qt6_version 6.7.0
# Full Plasma 6 version (e.g. 6.0.0)
%{!?_plasma6_bugfix: %define _plasma6_bugfix %{version}}
# Latest ABI-stable Plasma (e.g. 6.0 in KF6, but 6.0.80 in KUF)
%{!?_plasma6_version: %define _plasma6_version %(echo %{_plasma6_bugfix} | awk -F. '{print $1"."$2}')}
%define rname layer-shell-qt
%bcond_without released
Name: layer-shell-qt6
Version: 6.3.5
Release: kf.51.1
Summary: wlr-layer-shell integration for Qt
License: LGPL-3.0-or-later
URL: https://www.kde.org
Source: https://download.kde.org/stable/plasma/%{version}/%{rname}-%{version}.tar.xz
%if %{with released}
Source1: https://download.kde.org/stable/plasma/%{version}/%{rname}-%{version}.tar.xz.sig
Source2: plasma.keyring
%endif
BuildRequires: kf6-extra-cmake-modules >= %{kf6_version}
BuildRequires: pkgconfig
BuildRequires: qt6-wayland-private-devel >= %{qt6_version}
BuildRequires: cmake(Qt6Gui) >= %{qt6_version}
BuildRequires: cmake(Qt6Qml) >= %{qt6_version}
BuildRequires: cmake(Qt6WaylandClient) >= %{qt6_version}
BuildRequires: pkgconfig(wayland-client) >= 1.3.0
BuildRequires: pkgconfig(wayland-protocols)
BuildRequires: pkgconfig(wayland-server) >= 1.3.0
BuildRequires: pkgconfig(xkbcommon)
%description
This allows integration of Qt applications with wlr-layer-shell.
%package -n libLayerShellQtInterface6
Summary: wlr-layer-shell integration for Qt 6 - library
Requires: layer-shell-qt6 = %{version}
%description -n libLayerShellQtInterface6
This allows integration of Qt applications with wlr-layer-shell.
%package imports
Summary: wlr-layer-shell integration for Qt 6 - QtQuick support
Requires: layer-shell-qt6 = %{version}
Requires: libLayerShellQtInterface6 = %{version}
%description imports
This package provides a QML plugin and QtQuick components for
layer-shell-qt6, a library for integration of Qt applications with
wlr-layer-shell.
%package -n layer-shell-qt6-devel
Summary: wlr-layer-shell integration for Qt 6 - development files
Requires: libLayerShellQtInterface6 = %{version}
Conflicts: layer-shell-qt5-devel
%description -n layer-shell-qt6-devel
This allows integration of Qt applications with wlr-layer-shell.
%prep
%autosetup -p1 -n %{rname}-%{version}
%build
%cmake_kf6
%kf6_build
%install
%kf6_install
%ldconfig_scriptlets -n libLayerShellQtInterface6
%files
%{_kf6_plugindir}/wayland-shell-integration/liblayer-shell.so
%files -n libLayerShellQtInterface6
%license LICENSES/*
%doc README.md
%{_kf6_libdir}/libLayerShellQtInterface.so.6
%{_kf6_libdir}/libLayerShellQtInterface.so.*
%files imports
%{_kf6_qmldir}/org/kde/layershell/
%files -n layer-shell-qt6-devel
%{_includedir}/LayerShellQt/
%{_kf6_cmakedir}/LayerShellQt/
%{_kf6_libdir}/libLayerShellQtInterface.so
%changelog
* Tue May 6 2025 Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.3.5:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.3.5
- Changes since 6.3.4:
* update version for new release
* Wed Apr 2 2025 Christophe Marin <christophe@krop.fr>
- Update to 6.3.4
* New bugfix release
* For more details please see:
* https://kde.org/announcements/plasma/6/6.3.4
- Changes since 6.3.3:
* update version for new release
* Tue Mar 11 2025 Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.3.3:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.3.3
- Changes since 6.3.2:
* update version for new release
* Tue Feb 25 2025 Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.3.2:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.3.2
- Changes since 6.3.1:
* update version for new release
* Tue Feb 18 2025 Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.3.1:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.3.1
- Changes since 6.3.0:
* update version for new release
* Thu Feb 6 2025 Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.3.0:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.3.0
- Changes since 6.2.91:
* update version for new release
* Thu Jan 23 2025 Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.2.91:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.2.91
- Changes since 6.2.90:
* update version for new release
* Sat Jan 11 2025 Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.2.90:
* New feature release
* For more details see https://kde.org/announcements/plasma/6/6.2.90
- Changes since 6.2.5:
* update version for new release
* It compiles without deprecated methods
* update version for new release
* Tue Dec 31 2024 Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.2.5:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.2.5
- Changes since 6.2.4:
* update version for new release
* Tue Nov 26 2024 Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.2.4:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.2.4
- Changes since 6.2.3:
* update version for new release
* Tue Nov 5 2024 Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.2.3:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.2.3
- Changes since 6.2.2:
* update version for new release
* Tue Oct 22 2024 Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.2.2:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.2.2
- Changes since 6.2.1:
* update version for new release
* Tue Oct 15 2024 Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.2.1:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.2.1
- Changes since 6.2.0:
* update version for new release
* Sat Oct 5 2024 Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.2.0:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.2.0
- Changes since 6.1.90:
* update version for new release
* Tue Sep 17 2024 Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.1.90:
* New feature release
* For more details see https://kde.org/announcements/plasma/6/6.1.90
- Changes since 6.1.5:
* update version for new release
* Reformat CMake code for better readability
* Generate wayland code with PRIVATE_CODE
* Port to QWaylandWindow::updateExposure()
* Port to QWaylandShellSurface::setWindowSize()
* update version for new release
* Tue Sep 10 2024 Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.1.5:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.1.5
- Changes since 6.1.4:
* update version for new release
* Tue Aug 6 2024 Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.1.4:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.1.4
- Changes since 6.1.3:
* update version for new release
* Tue Jul 16 2024 Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.1.3:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.1.3
- Changes since 6.1.2:
* update version for new release
* Tue Jul 2 2024 Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.1.2:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.1.2
- Changes since 6.1.1:
* update version for new release
* Tue Jun 25 2024 Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.1.1:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.1.1
- Changes since 6.1.0:
* update version for new release
* Thu Jun 13 2024 Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.1.0:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.1.0
- Changes since 6.0.90:
* update version for new release
* Sat May 25 2024 Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.0.90:
* New feature release
* For more details see https://kde.org/announcements/plasma/6/6.0.90
- Changes since 6.0.5:
* update version for new release
* declarative: Add a QML extension object for accessing the margins property
* Enforce passing tests on all platforms
* Add clang-format commit hook
* Run clang-format
* Drop now defunct code to sync resizes
* Use QWaylandWindow::windowContentGeometry() to set the initial preferred size
* Update the desired size when the anchors change (kde#484990)
* Guard against calling set_size while applying a configure event more explicitly
* Port to asynchronous roundtrip
* Synchronise client driven resizing
* Align layershell-qt with the rest of KDE frameworks at a licence level
* Fix build with Qt 6.7
* Add a new setExclusiveEdge call in the protocol
* Wed May 22 2024 Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.0.5:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.0.5
- Changes since 6.0.4:
* update version for new release
* Wed Apr 17 2024 Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.0.4:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.0.4
- Changes since 6.0.3:
* Use QWaylandWindow::windowContentGeometry() to set the initial preferred size
* Update the desired size when the anchors change (kde#484990)
* Guard against calling set_size while applying a configure event more explicitly
* update version for new release
* Tue Mar 26 2024 Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.0.3:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.0.3
- Changes since 6.0.2:
* update version for new release
* Wed Mar 13 2024 Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.0.2:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.0.2
- Changes since 6.0.1:
* update version for new release
* Wed Mar 6 2024 Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.0.1:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.0.1
- Changes since 6.0.0:
* update version for new release
* Wed Feb 21 2024 Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.0.0:
* New bugfix release
* Release announcement not available yet
- Changes since 5.93.0:
* Port to asynchronous roundtrip
* Synchronise client driven resizing
* Fix build with Qt 6.7
* update version for new release
* Wed Jan 31 2024 Fabian Vogt <fabian@ritter-vogt.de>
- Update to 5.93.0 (6.0 RC 2):
* New bugfix release
* See https://kde.org/announcements/megarelease/6/rc2/ for details
- Changes since 5.92.0:
* Add a new setExclusiveEdge call in the protocol
* Mon Jan 15 2024 Fabian Vogt <fabian@ritter-vogt.de>
- Update to 5.92.0 (6.0 RC 1)
* For more details please see:
https://kde.org/announcements/megarelease/6/rc1/
* Mon Nov 13 2023 Fabian Vogt <fabian@ritter-vogt.de>
- Move the conflict to the -devel package only
* Mon Jun 5 2023 Christophe Marin <christophe@krop.fr>
- Init layer-shell-qt6