[packages/kp6-xdg-desktop-portal-kde] - updated to 6.0.0
witekfl
witekfl at pld-linux.org
Sun Mar 3 21:11:33 CET 2024
commit bc1f38a52099572c70c7be0009c3a21d5b747b2c
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date: Sun Mar 3 20:58:58 2024 +0100
- updated to 6.0.0
kp6-xdg-desktop-portal-kde.spec | 83 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 83 insertions(+)
---
diff --git a/kp6-xdg-desktop-portal-kde.spec b/kp6-xdg-desktop-portal-kde.spec
new file mode 100644
index 0000000..1a6299e
--- /dev/null
+++ b/kp6-xdg-desktop-portal-kde.spec
@@ -0,0 +1,83 @@
+#
+# Conditional build:
+%bcond_with tests # build with tests
+%define kdeplasmaver 6.0.0
+%define qtver 5.15.2
+%define kpname xdg-desktop-portal-kde
+
+Summary: KDE XDG Desktop Portal
+Name: kp6-%{kpname}
+Version: 6.0.0
+Release: 1
+License: LGPL v2.1+
+Group: X11/Libraries
+Source0: https://download.kde.org/stable/plasma/%{kdeplasmaver}/%{kpname}-%{version}.tar.xz
+# Source0-md5: b0a1e9952e09e35f90d8131faed98882
+URL: http://www.kde.org/
+BuildRequires: Qt6Core-devel >= %{qtver}
+BuildRequires: cmake >= 3.16.0
+BuildRequires: cups-devel
+BuildRequires: fontconfig-devel
+BuildRequires: kf6-attica-devel
+BuildRequires: kf6-kauth-devel
+BuildRequires: kf6-kcmutils-devel
+BuildRequires: kf6-kdbusaddons-devel
+BuildRequires: kf6-kdeclarative-devel
+BuildRequires: kf6-kdoctools-devel
+BuildRequires: kf6-kglobalaccel-devel
+BuildRequires: kf6-ki18n-devel
+BuildRequires: kf6-knewstuff-devel
+BuildRequires: kf6-knotifications-devel
+BuildRequires: kf6-knotifyconfig-devel
+BuildRequires: kf6-kpeople-devel
+BuildRequires: kf6-krunner-devel
+BuildRequires: kf6-kwallet-devel
+BuildRequires: kp6-plasma-activities-stats-devel
+BuildRequires: ninja
+BuildRequires: rpmbuild(macros) >= 1.164
+BuildRequires: xorg-driver-input-evdev-devel
+BuildRequires: xorg-driver-input-synaptics-devel
+BuildRequires: xorg-lib-libXft-devel
+BuildRequires: xz
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define qt6dir %{_libdir}/qt6
+
+%description
+A portal frontend service for Flatpak and possibly other desktop
+containment frameworks.
+
+%prep
+%setup -q -n %{kpname}-%{version}
+
+%build
+%cmake -B build \
+ -G Ninja \
+ %{!?with_tests:-DBUILD_TESTING=OFF} \
+ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+ -DKDE_INSTALL_DOCBUNDLEDIR=%{_kdedocdir}
+%ninja_build -C build
+
+%if %{with tests}
+ctest
+%endif
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%ninja_install -C build
+
+%find_lang %{kpname} --all-name --with-kde
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f %{kpname}.lang
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libexecdir}/xdg-desktop-portal-kde
+%{_datadir}/dbus-1/services/org.freedesktop.impl.portal.desktop.kde.service
+%{_datadir}/xdg-desktop-portal/portals/kde.portal
+%{_datadir}/xdg-desktop-portal/kde-portals.conf
+%{_desktopdir}/org.freedesktop.impl.portal.desktop.kde.desktop
+%{_datadir}/knotifications6/xdg-desktop-portal-kde.notifyrc
+%{systemduserunitdir}/plasma-xdg-desktop-portal-kde.service
+%{_datadir}/qlogging-categories6/xdp-kde.categories
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/kp6-xdg-desktop-portal-kde.git/commitdiff/bc1f38a52099572c70c7be0009c3a21d5b747b2c
More information about the pld-cvs-commit
mailing list