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

kp5-plasma-workspace.spec

index a276fecdb193aba4443b05bdec6ce7ddfd043eb2..cfd03a76a6b8e9b4fbc7bd467e89fd5b9c714f31 100644 (file)
@@ -1,18 +1,21 @@
+#
+# Conditional build:
+%bcond_with    tests           # build with tests
 # TODO:
 #  * dbusmenu-qt5 , Support for notification area menus via the DBusMenu protocol , <https://launchpad.net/libdbusmenu-qt>
 #
-%define                kdeplasmaver    5.24.3
+%define                kdeplasmaver    5.24.4
 %define                qtver           5.9.0
 %define                kpname          plasma-workspace
 
 Summary:       KDE Plasma Workspace
 Name:          kp5-%{kpname}
-Version:       5.24.3
+Version:       5.24.4
 Release:       1
 License:       LGPL v2.1+
 Group:         X11/Libraries
 Source0:       https://download.kde.org/stable/plasma/%{kdeplasmaver}/%{kpname}-%{version}.tar.xz
-# Source0-md5: f81d7263eb900d64685f7cade816e78f
+# Source0-md5: 318d41c127cbdefee055babd426ae159
 Source1:       kde.pam
 Patch0:                kp5-plasma-workspace-absolute-path.patch
 Patch1:                kp5-plasma-workspace-scripts.patch
@@ -96,11 +99,16 @@ Pliki nagłówkowe dla programistów używających %{kpname}.
 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.075335 seconds and 4 git commands to generate.