]> git.pld-linux.org Git - packages/kp5-xdg-desktop-portal-kde.git/blobdiff - kp5-xdg-desktop-portal-kde.spec
- updated to 5.27.2
[packages/kp5-xdg-desktop-portal-kde.git] / kp5-xdg-desktop-portal-kde.spec
index 57297a1e74bf93266a3d578efad3f5da56e05b37..a850b949110c669037948b490b6160fd2723c211 100644 (file)
@@ -1,18 +1,22 @@
-%define                kdeplasmaver    5.23.2
-%define                qtver           5.9.0
+#
+# Conditional build:
+%bcond_with    tests           # build with tests
+%define                kdeplasmaver    5.27.2
+%define                qtver           5.15.2
 %define                kpname          xdg-desktop-portal-kde
 
 Summary:       KDE XDG Desktop Portal
 Name:          kp5-%{kpname}
-Version:       5.23.2
+Version:       5.27.2
 Release:       1
 License:       LGPL v2.1+
 Group:         X11/Libraries
-Source0:       http://download.kde.org/stable/plasma/%{kdeplasmaver}/%{kpname}-%{version}.tar.xz
-# Source0-md5: 24701aa25371dac38dddcdc17e791518
+Source0:       https://download.kde.org/stable/plasma/%{kdeplasmaver}/%{kpname}-%{version}.tar.xz
+# Source0-md5: 44ed284e7ae8d8d3dfbc727a0612cd16
 URL:           http://www.kde.org/
 BuildRequires: Qt5Core-devel >= %{qtver}
 BuildRequires: cmake >= 2.8.12
+BuildRequires: cups-devel
 BuildRequires: fontconfig-devel
 BuildRequires: kf5-attica-devel
 BuildRequires: kf5-kactivities-stats-devel
@@ -52,11 +56,16 @@ containment frameworks.
 install -d build
 cd build
 %cmake -G Ninja \
+       %{!?with_tests:-DBUILD_TESTING=OFF} \
        -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
        -DHTML_INSTALL_DIR=%{_kdedocdir} \
        ../
 %ninja_build
 
+%if %{with tests}
+ctest
+%endif
+
 %install
 rm -rf $RPM_BUILD_ROOT
 %ninja_install -C build
@@ -73,7 +82,5 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/xdg-desktop-portal/portals/kde.portal
 %{_desktopdir}/org.freedesktop.impl.portal.desktop.kde.desktop
 %{_datadir}/knotifications5/xdg-desktop-portal-kde.notifyrc
-%dir %{_datadir}/xdg-desktop-portal-kde
-%dir %{_datadir}/xdg-desktop-portal-kde/qml
-%{_datadir}/xdg-desktop-portal-kde/qml/AppChooserDialog.qml
-%{_datadir}/xdg-desktop-portal-kde/qml/UserInfoDialog.qml
+%{systemduserunitdir}/plasma-xdg-desktop-portal-kde.service
+%{_datadir}/qlogging-categories5/xdp-kde.categories
This page took 0.0539809999999999 seconds and 4 git commands to generate.