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

kp5-kwin.spec

index 5a95c9a415a528d3059a3430403306c9eefc8f0f..f5f16dc1820d5700d7db2cd204921a4c3320e9cc 100644 (file)
@@ -1,7 +1,10 @@
 # TODO:
 # - libhybris
 #
-%define                kdeplasmaver    5.24.3
+#
+# Conditional build:
+%bcond_with    tests           # build with tests
+%define                kdeplasmaver    5.24.4
 %define                kf_ver          5.78
 %define                qt_ver          5.15.0
 %define                kpname          kwin
 Summary:       KDE Window manager
 Summary(pl.UTF-8):     ZarzÄ…dca okien KDE
 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: 3c5cc20903ff9c6ef458806644cf7429
+# Source0-md5: a5ede2005132371714de359be4cf9fb3
 Patch0:                kp5-kwin-absolute-path.patch
 URL:           http://www.kde.org/
 BuildRequires: EGL-devel
@@ -178,11 +181,16 @@ 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.145763 seconds and 4 git commands to generate.