gnu: siril: Fix build with meson@1.9.0.

This is to do with the wrap-mode for meson changing on mesa-updates.

See: <https://codeberg.org/guix/guix/issues/2987#issuecomment-7450927>

* gnu/packages/astronomy.scm (siril)[source] <snippet>: Remove bundled
libraries explicitly.
[arguments] <configure-flags>: Add "--wrap-mode=nodownload" option to
fix build with recent Meson.
[inputs]: Add healpix-cxx.

Change-Id: I6b3afcb95ffc10b42453794fc3dafad03d049d01
This commit is contained in:
Sharlatan Hellseher 2025-09-30 11:01:35 +01:00
parent d2df04d416
commit dfa312a95e
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -9905,11 +9905,30 @@ It can be used to calculate the trajectory of satellites.")
(commit version)))
(sha256
(base32 "1frvi6879zh4bzm5smdy0scpjmj5pg2i81wb2wa4ikq1dq227x8k"))
(file-name (git-file-name name version))))
(file-name (git-file-name name version))
(modules '((guix build utils)))
(snippet
#~(begin
;; Remove bundled libraries.
(for-each delete-file-recursively
(list "subprojects/healpix_cxx"
;; TODO: Package htmesh, it's included in KSarts
;; - URL: <https://invent.kde.org/education/kstars>
;; - File: <kstars/htmesh>
;; "subprojects/htmesh"
;;
;; TODO: Package kplot - Cairo plotting library
;; <https://github.com/kristapsdz/kplot>.
;; "subprojects/kplot"
"subprojects/wcslib"
"subprojects/librtprocess"
"subprojects/yyjson"))))))
(build-system meson-build-system)
(arguments
(list
#:glib-or-gtk? #t
#:configure-flags
#~(list "--wrap-mode=nodownload")
#:imported-modules `(,@%meson-build-system-modules
(guix build glib-or-gtk-build-system))
#:modules '((guix build meson-build-system)
@ -9943,9 +9962,10 @@ It can be used to calculate the trajectory of satellites.")
ffms2
fftwf
gdk-pixbuf
gtksourceview-4
gsl
gtk+
gtksourceview-4
healpix-cxx
json-glib
lcms-next