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

kp5-plasma-integration.spec

index 194b554dd721a39563e53ca18a55b088a751a8be..e0249e46c6432c1a4072e4ba275ff4bd1397bb8b 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.15.2
 %define                kpname          plasma-integration
 
 Summary:       KDE Plasma Integration
 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: 5cbfc4b8d729e0334e6c13a98f6017ed
+# Source0-md5: edf1f5488788670935335797a21e53ce
 URL:           http://www.kde.org/
 BuildRequires: Qt5Core-devel >= %{qtver}
 BuildRequires: Qt5Quick-controls2-devel >= %{qtver}
@@ -69,10 +72,15 @@ 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 \
        ../
 %ninja_build
 
+%if %{with tests}
+ctest
+%endif
+
 %install
 rm -rf $RPM_BUILD_ROOT
 %ninja_install -C build
This page took 0.166662 seconds and 4 git commands to generate.