1 |
# |
2 |
# Please do not update/rebuild/touch this package before asking first |
3 |
# to mikala and/or neoclust and/or daviddavid |
4 |
# This package is part of the KDE Stack. |
5 |
# |
6 |
|
7 |
%define rel 1 |
8 |
|
9 |
Name: xdg-desktop-portal-kde |
10 |
Summary: Back-end implementation for xdg-desktop-portal using Qt/KF5 |
11 |
Version: 5.26.90 |
12 |
Release: %mkrel %{rel} |
13 |
Group: Graphical desktop/KDE |
14 |
License: GPLv2+ |
15 |
URL: https://cgit.kde.org/%{name}.git |
16 |
Source0: https://download.kde.org/stable/plasma/%{version}/%{name}-%{version}.tar.xz |
17 |
|
18 |
BuildRequires: kf5-macros |
19 |
|
20 |
BuildRequires: cmake(Qt5Concurrent) |
21 |
BuildRequires: cmake(Qt5Core) |
22 |
BuildRequires: cmake(Qt5DBus) |
23 |
BuildRequires: cmake(Qt5Gui) |
24 |
BuildRequires: cmake(Qt5PrintSupport) |
25 |
BuildRequires: cmake(Qt5QuickWidgets) |
26 |
BuildRequires: cmake(Qt5Widgets) |
27 |
BuildRequires: cmake(KF5CoreAddons) |
28 |
BuildRequires: cmake(KF5I18n) |
29 |
BuildRequires: cmake(KF5Notifications) |
30 |
BuildRequires: cmake(KF5Wayland) |
31 |
BuildRequires: cmake(KF5WidgetsAddons) |
32 |
BuildRequires: cmake(KF5KIO) |
33 |
BuildRequires: cmake(KF5Declarative) |
34 |
BuildRequires: cmake(KF5Kirigami2) |
35 |
BuildRequires: cmake(KF5Plasma) |
36 |
|
37 |
BuildRequires: cmake(PlasmaWaylandProtocols) |
38 |
|
39 |
BuildRequires: cups-devel |
40 |
BuildRequires: pkgconfig(libpipewire-0.3) |
41 |
BuildRequires: pkgconfig(epoxy) |
42 |
BuildRequires: pkgconfig(gbm) |
43 |
|
44 |
Requires: xdg-desktop-portal |
45 |
Requires: flatpak |
46 |
Requires: kirigami2 |
47 |
Requires: kio-fuse |
48 |
|
49 |
# Use rich deps to pull in this package when flatpak and Qt5 are both installed |
50 |
Supplements: (flatpak and qtbase5-common) |
51 |
|
52 |
%description |
53 |
A back-end implementation for xdg-desktop-portal that is using Qt/KF5 |
54 |
and various pieces of KDE infrastructure. |
55 |
|
56 |
%files -f %{name}.lang |
57 |
%{_libexecdir}/%{name} |
58 |
%{_kf5_datadir}/dbus-1/services/org.freedesktop.impl.portal.desktop.kde.service |
59 |
%{_kf5_datadir}/xdg-desktop-portal/portals/kde.portal |
60 |
%{_kf5_applicationsdir}/org.freedesktop.impl.portal.desktop.kde.desktop |
61 |
%{_kf5_knotificationsdir}/xdg-desktop-portal-kde.notifyrc |
62 |
%{_userunitdir}/plasma-xdg-desktop-portal-kde.service |
63 |
|
64 |
#-------------------------------------------------------------------- |
65 |
|
66 |
%prep |
67 |
%autosetup -p1 |
68 |
|
69 |
%build |
70 |
%cmake_kf5 -Wno-dev |
71 |
|
72 |
%cmake_build |
73 |
|
74 |
%install |
75 |
%cmake_install |
76 |
|
77 |
%find_lang %{name} |