[packages/kp5-plasma-desktop] - updated to 5.24.4 - added bcond_with tests
witekfl
witekfl at pld-linux.org
Wed Mar 30 15:44:04 CEST 2022
commit 4fd69d014f1c743471ca8e52c7f9e8003c715dbd
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date: Wed Mar 30 15:44:01 2022 +0200
- updated to 5.24.4
- added bcond_with tests
kp5-plasma-desktop.spec | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
---
diff --git a/kp5-plasma-desktop.spec b/kp5-plasma-desktop.spec
index fb48ea8..51c76e7 100644
--- a/kp5-plasma-desktop.spec
+++ b/kp5-plasma-desktop.spec
@@ -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
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/kp5-plasma-desktop.git/commitdiff/4fd69d014f1c743471ca8e52c7f9e8003c715dbd
More information about the pld-cvs-commit
mailing list