From 4f5babf9361cb96545fa1908e740dd2f92c71357 Mon Sep 17 00:00:00 2001 From: Felix Gruber Date: Wed, 6 Jul 2022 18:14:08 +0000 Subject: [PATCH] gnu: saga: Update to 8.2.1. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/geo.scm (saga): Update to 8.2.1. [build-system]: Use cmake-build-system. [arguments]: Set tests? to #f as there are no tests. Add phase for changing into saga-gis directory which contains the actual source code. Signed-off-by: Ludovic Courtès --- gnu/packages/geo.scm | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index 0c579a91d6..4f27aa60ee 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -2331,7 +2331,7 @@ (define-public grass (define-public saga (package (name "saga") - (version "7.9.0") + (version "8.2.1") (source (origin (method url-fetch) @@ -2339,8 +2339,8 @@ (define-public saga (version-major version) "/SAGA%20-%20" version "/saga-" version ".tar.gz")) (sha256 - (base32 "1n051yxxkylly0k9rlkx2ih3j2lf9d4csg00sm7161r7nhjvggd1")))) - (build-system gnu-build-system) + (base32 "008izjs6gvj09abxf16ssl1xy0ay3ljq4jswbggp6wiiq459minv")))) + (build-system cmake-build-system) (native-inputs (list pkg-config swig)) (inputs @@ -2360,7 +2360,12 @@ (define-public saga vigra wxwidgets)) (arguments - '(#:configure-flags '("--enable-python"))) + '(#:tests? #f + #:phases + (modify-phases %standard-phases + (add-before 'configure 'cd-to-source-dir + (lambda _ + (chdir "saga-gis")))))) (synopsis "System for Automated Geoscientific Analyses") (description "SAGA (System for Automated Geoscientific Analyses) is a Geographic