gnu: saga: Update to 8.2.1.

* 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 <ludo@gnu.org>
This commit is contained in:
Felix Gruber 2022-07-06 18:14:08 +00:00 committed by Ludovic Courtès
parent d58dc0fcd2
commit 4f5babf936
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -2331,7 +2331,7 @@ (define-public grass
(define-public saga (define-public saga
(package (package
(name "saga") (name "saga")
(version "7.9.0") (version "8.2.1")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
@ -2339,8 +2339,8 @@ (define-public saga
(version-major version) "/SAGA%20-%20" version (version-major version) "/SAGA%20-%20" version
"/saga-" version ".tar.gz")) "/saga-" version ".tar.gz"))
(sha256 (sha256
(base32 "1n051yxxkylly0k9rlkx2ih3j2lf9d4csg00sm7161r7nhjvggd1")))) (base32 "008izjs6gvj09abxf16ssl1xy0ay3ljq4jswbggp6wiiq459minv"))))
(build-system gnu-build-system) (build-system cmake-build-system)
(native-inputs (native-inputs
(list pkg-config swig)) (list pkg-config swig))
(inputs (inputs
@ -2360,7 +2360,12 @@ (define-public saga
vigra vigra
wxwidgets)) wxwidgets))
(arguments (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") (synopsis "System for Automated Geoscientific Analyses")
(description (description
"SAGA (System for Automated Geoscientific Analyses) is a Geographic "SAGA (System for Automated Geoscientific Analyses) is a Geographic