[packages/ka5-ksnakeduel] - updated to 23.08.0; cmake -B build

witekfl witekfl at pld-linux.org
Thu Aug 24 18:26:59 CEST 2023


commit 2dd0e621017b5b8109cf5da0d026fde49630913c
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date:   Thu Aug 24 17:58:00 2023 +0200

    - updated to 23.08.0; cmake -B build

 ka5-ksnakeduel.spec | 16 +++++++---------
 1 file changed, 7 insertions(+), 9 deletions(-)
---
diff --git a/ka5-ksnakeduel.spec b/ka5-ksnakeduel.spec
index ae87956..1803cd3 100644
--- a/ka5-ksnakeduel.spec
+++ b/ka5-ksnakeduel.spec
@@ -1,18 +1,18 @@
 #
 # Conditional build:
 %bcond_with	tests		# build with tests
-%define		kdeappsver	23.04.3
+%define		kdeappsver	23.08.0
 %define		kframever	5.94.0
 %define		qtver		5.15.2
 %define		kaname		ksnakeduel
 Summary:	ksnakeduel
 Name:		ka5-%{kaname}
-Version:	23.04.3
+Version:	23.08.0
 Release:	1
 License:	GPL v2+/LGPL v2.1+
 Group:		X11/Applications/Games
 Source0:	https://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
-# Source0-md5:	0481a25cef8aa006e2c1fb67d3194c0f
+# Source0-md5:	53417e85967a4e3f78d7c8eabdf22c44
 URL:		http://www.kde.org/
 BuildRequires:	Qt5Core-devel >= %{qtver}
 BuildRequires:	Qt5Gui-devel >= 5.11.1
@@ -58,18 +58,16 @@ jak i ogona oponenta.
 %setup -q -n %{kaname}-%{version}
 
 %build
-install -d build
-cd build
 %cmake \
+	-B build \
 	-G Ninja \
 	%{!?with_tests:-DBUILD_TESTING=OFF} \
 	-DHTML_INSTALL_DIR=%{_kdedocdir} \
-	-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-	..
-%ninja_build
+	-DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+%ninja_build -C build
 
 %if %{with tests}
-ctest
+ctest --test-dir build
 %endif
 
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ka5-ksnakeduel.git/commitdiff/2dd0e621017b5b8109cf5da0d026fde49630913c



More information about the pld-cvs-commit mailing list