Christophe Marin 2024-10-16 07:41:28 +00:00 committed by Git OBS Bridge
commit b21a85f4d3
15 changed files with 468 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

BIN
plasma.keyring Normal file

Binary file not shown.

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:824cfe7b065785be7f802a812692d509b8213d64a984d97e830448f70aa13cc6
size 172240

View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE4KPrIC+OV1KOE+cv11dEg7tXsY0FAmaWVV4ACgkQ11dEg7tX
sY0Ifw/+MmtYbW+qXveQhY79aohkIL97Q/TokltZnUWdxT1kqYnzhkIBP/Lgs3Pn
Iy89BFi846mKB/QgrjWTDW5Gjl5WgtrGrgwpIt9cfk4BY0avejgpuciyMiqU7jIF
1fWQr6JLGwIhmtRpCk3+uUhNy7hNTG4SokeN/fZgeos56C2Zpic9eSDOmuz2bVi4
HMp2vKER2/8h/j0wwdhHmSdALenzAnVa78f0Ns/uLs8tjCKmEsSfy7ms7pYoV5Zt
aJglV9Z1dzDG8OxKYJ3HlQZcqb0rC9YPDjz8Okuq3A5TA25vnEb9VdE6ExvzfVP+
cL3obM81DmcFBXmcR+iIoP8SdIp/0AgndTbUyiYu8DBbco6lQcCkv4Q5DGBTMwtI
iJphCdTRtF9QLL0bhvQnEHta/+27/FYQZwzhFmAnXnPsuI/9dfymN4nFrvQh6qsW
PjfA3EofaW3K1hKZeueaDu3SbdCjwmzHPSSlTver1gV4cLcc9L2TK9J0yVVHnF4y
E9WZri8ENFy+dC5e5EVjHR1JSfqdIxiFqCOvk6ILiyIzI6XzSN57+MMjXxb5mdh6
Npw2rIfhcwrUImoVj49Ln7BAt9CL4MRbu/S6cCtE5fKGU3aiqBCGE12Vpcy5gMMc
j09kio7Oz0U+TQyaeCvYuc8yU3b7GURwhNhlEwphh5b0Z30o144=
=7rAb
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:38ca15fd86d5fef2cc79ac98f56b4cd3d93cefd32e82d3b2246bb77402dca7b2
size 172404

View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE4KPrIC+OV1KOE+cv11dEg7tXsY0FAmayGOYACgkQ11dEg7tX
sY2SBg/9Gjl2bLmLVM4rzct9L/3KfxX/3nAEmDvHqHxNU7XdnVlJKe5CLrBWEMDw
Hv1Ge+NJuoJfro+Is8B8uVSFTKj07hKqw3rHxl2SiDk65K7G1eLuR8Ue92mj8l1l
bGy915Ep0bGt9hPMgBVOetbGvfQFM8mOlydlfLXAK+ehirnCZjdGG5rZYilqCkjG
Ok1MCouxlYcvu9WhWwMdJoryRiMvKDcqUayrNcI4qvzamB1vRcOjkmuikPIWLGPq
iubXmmKsssV1zmIns8FUm7tPTPkxMvbD8Cr0nur+JVTM52rChEKRgLCvdakroFOz
gDPIeqiMDuD5P8RmCTAojoKgHKFqiRNPRNcS082z6fF/dbOTJKj9KNZCGOU5LqpC
xddLEkkxuh6OMv+e5Q8jeyk0u2O4Foy9RQ5ekzKPNwXmWceOFB2u4Xnj92ubZ5js
8iU77Qw2LALJoEaweh0K8v6yy16RBoqwVQ2muceNXWOES98cKjZjuYgQC6e2HST/
IBfQ4GuPrwguQxrkq3JInKHIz3uukGdjT+4cxBhIoiHSan0xrBGDR2YzrVcKICSs
KRX4CmxDKQkIrmlisn/5QTteXABzOdGUd4A5MZZwJbT6Wycna3x9cvz+V5NcrMld
CktA7vIVZfb2zIW3SENPRPvzMbGvdaqsHN8EZwfaGQO0bzTqAAs=
=e70V
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:09d13c0c06fddc083249d1f5be907e271ea39f01f577d37d26743b01df5a6978
size 172860

View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE4KPrIC+OV1KOE+cv11dEg7tXsY0FAmbgCSgACgkQ11dEg7tX
sY3yhw/+P20znNpWXcsbAJTRzrZeDCTOaTMoz4uKtE7XPOgtX4xLRfgoJw6/4nQH
ygcYQ+9W8oIkjtGdiwpvqIbpRJnXbrX2jg2r6Tk/+gX4eLX1iq0++gIgfwR3mU7y
lzaQJ4Sn67xuxPojcsOIi7aOJhSjp++4QcukD4Q7hndQ86gZQFANISLD1FMUxHi0
Vq+YQoAg3g68a3GfusuwEbpMlHsGvBRcJ1PMpaULymWxFzcj/901SLKdlN7E2hl0
T9/JUG8ZGBRUwZgMb3fWO5qy7OP9ra4bwqhF9nqDsRXmIjfX11GPtMF8MXrla8eP
K8XSDV3BkbLgnBtUb66qgjotLVwSY6qNm4YpJ2sCKSlun6i1M1r0uC4vF9oNov/u
7EVfuvoE4S8HHNefXU4OCTm/BoxyMAJQ9ydZ9mRSQVIjbZgljeufiefqAgqgz4Or
wTsJQ75ojJOw7YmJYecB87vbV5U7agSj2lZVuPugj7cYDMKe1Mbc+HMEYuyIcUJZ
iQaAGxk3sz/X83LTEi43eGq4UqeLWrB97iQyBEmhTHMbv+K5Nb/55fC3CM9w0NdA
1WfbevNJRRCn19P6MGfrl8geboUCkBTpew4CdUTK6QkizMwmTgPIW8Rb6xMiXbrQ
jedmBTyzQSWzkwUjsiZQgCMX2+7kKhSox2c5csQnvNXCnQqdcAo=
=TCqF
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:800684c5bbcdbd41dbc8bfcba8eda9a27a0db9f0f72099d18246fb7940764ffc
size 178796

View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE4KPrIC+OV1KOE+cv11dEg7tXsY0FAmb+kLwACgkQ11dEg7tX
sY3f2Q//U+Rd4Q9DvedEmwycvfnxMlp6j5gD5WtHWrqRPpFj7GXhVxm/lByDHgeU
z+BjCGjxgCuTssRH0CVcCoIwyQepRLEY5dQluWokxyh+SkFWFvxBEnAfmH6CV7HQ
+t3DyQPdGIBuCCte94tmfZi9kzthULNZsngY8afdR4Etsr6fJanIEWmiuUokjOIl
3UOmUVUbDzBcunND75TpVvo7wvu0YgrO8o/xCqVTg2FQzYvz2vWL+22CM/NkN9ym
RYxAMpIuO/NcyS9vAz+Pd98VM9Uip6Ddqcjcct0grri2K11Hwky0aSI+w0W/70E6
vUnOS8nl04KV58ZwUJsY7PlHVDo2dVklAduwq6wVUXL9ld4l5aWNNAF0fLDhRmVC
TaINPvGqsQ3fhPBIwumzvfEyWon+bnLRso4QtoLDTw5A4XVApUp1xeuxaQ9Sq6fV
rfp3Khp2xua/QkEndeq8DCAFLyFE+hbKmpGgT1dPYY75EYzXtXlps8jiPKtO4oEB
1SxW0ma55xqa6Bqgbr6x9J5NZjsGhZi1O4DV8FffXER+FkfGmKxXkDxJRjx9srwE
8xmNJJAyRR1rQZiv+8kVkECN2MZ+zhzQ7G9kE/+XpmQfSy6egEV6GfvwGvFKks1J
fRWvWu05jiL8CyIivcclU149vxWsRR6b1Iuro5MVkeRHKEvTXCw=
=1nJy
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8434fd2916a9388d9e3e8aca8f2b16d0cad52689ec3e6b9ba1163d5f35663f6f
size 179580

View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE4KPrIC+OV1KOE+cv11dEg7tXsY0FAmcOa2AACgkQ11dEg7tX
sY0MRxAAtrNk3E+vYJbb5mlq9X2oDkHFtIOKgXdKhmW02TbkvklhYYtpk6K1L8j3
zSaHi+Leuz4aHrye+yZDGiX6WcGapxH6BXhbcUKY9oU5BNMh7Wyb1nyIotsqwnhM
eDYOAz1t0yivBM2VH62emyswObkI1xluzhXAla0EtsYsDzZWKcxiTBsHAtGyoHg4
REnAJDUlYJ6Jene/LIpqkedm4H65PyQk8sDUwX2Nr0zFEmJ9tv4FUWVut55ZFKkE
syvESUUZVgsFk1tkuducDz1b5q1jwA1CACcScgQaJHPGUle938hqltK1Fasrkglk
TTVxnHtpOHlzJMTc5XH+1QI/RgtZ6z76AJRlnKZcQmtDRJac+1fgTZHGFOjoefgh
C906KK2YXNP3Y1MQ7dLwHQp+gQN9RFNI50H5FcYvAkBhD8To3Gp4gdUmiZn//zzo
P/OPRqjYWCNQXulBzw+1tang0tbfXAq8V1lBFcoSAH4Dw5gfmfK7BbCXNborGILx
XSTI7l8LIl5oODgmkbRatiSlG7IwrB658J40/8SrrOQH8AQ62D9OA6pJj8MPuiWE
WuYc/754Kh+uQIHxa1Ttzu4uroxfd/VmSuIUZ8gSE9cc/8CyiMvx2N+eloHsuMMv
8+4brFlXLNz1DWtTG/7DS///nY5/fwJxN4y82oqU6jAwpGhWfB4=
=/Hmf
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,222 @@
-------------------------------------------------------------------
Tue Oct 15 16:53:59 UTC 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 10:44:42 UTC 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
* AppChooserDialog: allow accepting terminal commands (kde#493150)
-------------------------------------------------------------------
Tue Sep 17 14:55:05 UTC 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
* appchooser: Send activation token when selecting an app
* Generate wayland code with PRIVATE_CODE
* Set up crash handling
* Fix inputcapture signal string connection typo
* Set up translation for FileDialog
* Set timeout on DBus calls to KWin
* Inhibit: Forward the correct inhibition flags to PolicyAgent (kde#486506)
* Remove kde-portals.conf which moves to plasma-workspace
* remotedesktop: Only show the restore checkbox if the app wants to persist
* appchooser: bring private interface to feature parity with kopenwithdialog
* InputCapture: Fix retrieving of cursor position out of QVariantMap
* InputCapture: activation_id needs to be unsigned
* Fix remote desktop restoring (kde#480235)
* Fixed wrong input passed to y1
* Initialize input capture state properly
* Make the file chooser dialog consistent with plasma-integration
* Send error replys not the original messages
* Fix screencast window restoration check (kde#485697)
* colorschemetest: Test just built binary instead of host installed one
* update version for new release
-------------------------------------------------------------------
Tue Sep 10 14:55:38 UTC 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
* appchooser: Send activation token when selecting an app
* Fix inputcapture signal string connection typo
* update version for new release
-------------------------------------------------------------------
Tue Aug 6 13:29:21 UTC 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
* Set up translation for FileDialog
* Set timeout on DBus calls to KWin
* Inhibit: Forward the correct inhibition flags to PolicyAgent (kde#486506)
* remotedesktop: Only show the restore checkbox if the app wants to persist
-------------------------------------------------------------------
Tue Jul 16 13:25:52 UTC 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 17:34:36 UTC 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 17:16:03 UTC 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
* InputCapture: Fix retrieving of cursor position out of QVariantMap
* InputCapture: activation_id needs to be unsigned
* update version for new release
-------------------------------------------------------------------
Thu Jun 13 10:59:04 UTC 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
* Fix remote desktop restoring (kde#480235)
* Fixed wrong input passed to y1
* update version for new release
* Initialize input capture state properly
* Make the file chooser dialog consistent with plasma-integration
* Send error replys not the original messages
* Fix screencast window restoration check (kde#485697)
-------------------------------------------------------------------
Sat May 25 11:20:22 UTC 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
- Too many changes to list here
-------------------------------------------------------------------
Wed May 22 07:43:24 UTC 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 08:14:03 UTC 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:
* update version for new release
-------------------------------------------------------------------
Tue Mar 26 18:07:04 UTC 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
* AppChooserDialog: Reload model when Sycoca database changes
-------------------------------------------------------------------
Wed Mar 13 09:10:44 UTC 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
* GlobalShortcuts: Fix shortcut register on session load
* GlobalShortcuts: Load existing shortcuts at session creation
* GlobalShortcuts: Set shortcuts in BindShortcuts (kde#474741)
* update version for new release
-------------------------------------------------------------------
Wed Mar 6 08:40:35 UTC 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
-------------------------------------------------------------------
Mon Mar 4 18:52:34 UTC 2024 - Christophe Marin <christophe@krop.fr>
- Add Provides/Obsoletes to replace Plasma 5
-------------------------------------------------------------------
Wed Feb 21 18:36:42 UTC 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:
* update version for new release
* RegionSelectOverlay: Adapt to FloatingTextBox property change
* Format better human readable output descriptions (kde#473338)
* Fix connector type detection
* Create fake input device on demand
* update version for new release
-------------------------------------------------------------------
Wed Jan 31 17:38:34 UTC 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:
* RC 1 version dep
* add a version for dependencies so it does not break CI https://invent.kde.org/plasma/bluedevil/-/merge_requests/156
* RemoteDesktop: Include clipboard_enabled and the restore data even when no screens are requested
* ScreenChooserDialog: doubleclick to select&confirm (kde#470211)
* Fix ScreenChooserDialog Layout (kde#479304)
* Don't call toggled twice
* qml cleanup: removed duplicate toggled signal
-------------------------------------------------------------------
Mon Jan 15 21:09:22 UTC 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/
-------------------------------------------------------------------
Sat Jul 15 10:39:02 UTC 2023 - Christophe Marin <christophe@krop.fr>
- Init xdg-desktop-portal-kde6

View File

@ -0,0 +1,127 @@
#
# spec file for package xdg-desktop-portal-kde6
#
# Copyright (c) 2024 SUSE LLC
#
# 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/
#
# Internal QML import
%global __requires_exclude qt6qmlimport\\(org\\.kde\\.xdgdesktopportal.*
%define kf6_version 6.5.0
%define qt6_version 6.7.0
%define rname xdg-desktop-portal-kde
# Full Plasma 6 version (e.g. 6.0.0)
%{!?_plasma6_bugfix: %global _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}')}
%bcond_without released
Name: xdg-desktop-portal-kde6
Version: 6.2.1
Release: 0
Summary: QT/KF6 backend for xdg-desktop-portal
License: LGPL-2.1-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-gui-private-devel >= %{qt6_version}
BuildRequires: qt6-printsupport-private-devel >= %{qt6_version}
BuildRequires: cmake(KF6Config) >= %{kf6_version}
BuildRequires: cmake(KF6CoreAddons) >= %{kf6_version}
BuildRequires: cmake(KF6Crash) >= %{kf6_version}
BuildRequires: cmake(KF6GlobalAccel) >= %{kf6_version}
BuildRequires: cmake(KF6GuiAddons) >= %{kf6_version}
BuildRequires: cmake(KF6I18n) >= %{kf6_version}
BuildRequires: cmake(KF6IconThemes) >= %{kf6_version}
BuildRequires: cmake(KF6KIO) >= %{kf6_version}
BuildRequires: cmake(KF6KirigamiPlatform) >= %{kf6_version}
BuildRequires: cmake(KF6Notifications) >= %{kf6_version}
BuildRequires: cmake(KF6StatusNotifierItem) >= %{kf6_version}
BuildRequires: cmake(KF6WidgetsAddons) >= %{kf6_version}
BuildRequires: cmake(KF6WindowSystem) >= %{kf6_version}
BuildRequires: cmake(KWayland) >= %{_plasma6_bugfix}
BuildRequires: cmake(PlasmaWaylandProtocols) >= 1.7.0
BuildRequires: cmake(Qt6Concurrent) >= %{qt6_version}
BuildRequires: cmake(Qt6Core) >= %{qt6_version}
BuildRequires: cmake(Qt6DBus) >= %{qt6_version}
BuildRequires: cmake(Qt6PrintSupport) >= %{qt6_version}
BuildRequires: cmake(Qt6Qml) >= %{qt6_version}
BuildRequires: cmake(Qt6Quick) >= %{qt6_version}
BuildRequires: cmake(Qt6QuickControls2) >= %{qt6_version}
BuildRequires: cmake(Qt6QuickWidgets) >= %{qt6_version}
BuildRequires: cmake(Qt6Test) >= %{qt6_version}
BuildRequires: cmake(Qt6WaylandClient) >= %{qt6_version}
BuildRequires: cmake(Qt6Widgets) >= %{qt6_version}
BuildRequires: pkgconfig(wayland-client) >= 1.15
BuildRequires: pkgconfig(wayland-protocols) >= 1.25
BuildRequires: pkgconfig(xkbcommon)
Requires: kf6-kiconthemes-imports >= %{kf6_version}
Requires: kpipewire6-imports >= %{_plasma6_bugfix}
# For org.kde.plasma.workspace.dialogs.1 import
Requires: plasma6-workspace >= %{_plasma6_bugfix}
Requires: xdg-desktop-portal
Supplements: (xdg-desktop-portal and plasma6-desktop)
Provides: xdg-desktop-portal-kde = %{version}
Obsoletes: xdg-desktop-portal-kde < %{version}
Obsoletes: xdg-desktop-portal-kde-lang < %{version}
%description
A Qt/KF backend implementation for xdg-desktop-portal
%lang_package
%prep
%autosetup -p1 -n %{rname}-%{version}
%build
%cmake_kf6
%kf6_build
%install
%kf6_install
%find_lang xdg-desktop-portal-kde --with-man --all-name
%post
%{systemd_user_post plasma-xdg-desktop-portal-kde.service}
%preun
%{systemd_user_preun plasma-xdg-desktop-portal-kde.service}
%postun
%{systemd_user_postun plasma-xdg-desktop-portal-kde.service}
%files
%license LICENSES/*
%{_kf6_applicationsdir}/org.freedesktop.impl.portal.desktop.kde.desktop
%{_kf6_debugdir}/xdp-kde.categories
%{_kf6_notificationsdir}/xdg-desktop-portal-kde.notifyrc
%{_kf6_sharedir}/dbus-1/services/org.freedesktop.impl.portal.desktop.kde.service
%dir %{_kf6_sharedir}/xdg-desktop-portal/
%dir %{_kf6_sharedir}/xdg-desktop-portal/portals
%{_kf6_sharedir}/xdg-desktop-portal/portals/kde.portal
%{_libexecdir}/xdg-desktop-portal-kde
%{_userunitdir}/plasma-xdg-desktop-portal-kde.service
%files lang -f xdg-desktop-portal-kde.lang
%changelog