commit 29fe2c00707cd9d76d0ca31701b6700610767224
Author: Witold Filipczyk <[email protected]>
Date:   Wed Mar 30 15:43:40 2022 +0200

    - updated to 5.24.4
    - added bcond_with tests

 kp5-kwayland-integration.spec | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)
---
diff --git a/kp5-kwayland-integration.spec b/kp5-kwayland-integration.spec
index 9707838..7e3638a 100644
--- a/kp5-kwayland-integration.spec
+++ b/kp5-kwayland-integration.spec
@@ -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
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kp5-kwayland-integration.git/commitdiff/29fe2c00707cd9d76d0ca31701b6700610767224

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to