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

kp5-plasma-desktop.spec

index fb48ea88c8ef7ec53b68a6e990015aa9dd9b1918..51c76e7c1044fc6440ec183fdabdb18c297d8428 100644 (file)
@@ -1,18 +1,21 @@
+#
+# Conditional build:
+%bcond_with    tests           # build with tests
 # TODO:
 # PackageKit qt5
 #
-%define                kdeplasmaver    5.24.3
+%define                kdeplasmaver    5.24.4
 %define                qtver           5.9.0
 %define                kpname          plasma-desktop
 
 Summary:       KDE Plasma Desktop
 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: 08797e0f46a7107c2f77934ad6671c43
+# Source0-md5: 58322fa88fc659aa37a090c49c616e83
 URL:           https://www.kde.org/
 BuildRequires: AppStream-qt-devel
 BuildRequires: Qt5Concurrent-devel >= %{qtver}
@@ -97,11 +100,16 @@ install -d build
 rm -rf po/id
 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.365652 seconds and 4 git commands to generate.