]> git.pld-linux.org Git - packages/kp5-kwayland-integration.git/commitdiff
- updated to 5.24.4 auto/th/kp5-kwayland-integration-5.24.4-1
authorWitold Filipczyk <witekfl@poczta.onet.pl>
Wed, 30 Mar 2022 13:43:40 +0000 (15:43 +0200)
committerWitold Filipczyk <witekfl@poczta.onet.pl>
Wed, 30 Mar 2022 13:43:40 +0000 (15:43 +0200)
- added bcond_with tests

kp5-kwayland-integration.spec

index 9707838dd037bfa76e46a3f094fe7fa5433e7cf8..7e3638a4bdb51644894ba8ed280babc1fc662707 100644 (file)
@@ -1,15 +1,18 @@
-%define                kdeplasmaver    5.24.3
+#
+# Conditional build:
+%bcond_with    tests           # build with tests
+%define                kdeplasmaver    5.24.4
 %define                qtver           5.15.2
 %define                kpname          kwayland-integration
 
 Summary:       Provides integration plugins for various KDE frameworks for the wayland windowing system
 Name:          kp5-%{kpname}
-Version:       5.24.3
+Version:       5.24.4
 Release:       1
 License:       LGPL v2.1+
 Group:         X11/Libraries
 Source0:       http://download.kde.org/stable/plasma/%{kdeplasmaver}/%{kpname}-%{version}.tar.xz
-# Source0-md5: 028c89154e55e2cc974824ab5ae2901d
+# Source0-md5: 21935e1a654bd80f135d80cd5b4488ec
 URL:           http://www.kde.org/
 BuildRequires: Qt5Core-devel >= %{qtver}
 BuildRequires: Qt5WaylandClient-devel >= %{qtver}
@@ -35,11 +38,16 @@ wayland windowing system.
 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
This page took 0.356781 seconds and 4 git commands to generate.