gnu: gssdp: Enable building on more architectures.

* gnu/packages/gnome.scm (gssdp)[arguments]: Adjust configure-flags to
only build the manpages when pandoc is an input.
[native-inputs]: Only add pandoc when on architectures where it is
supported.

Change-Id: I6e69833295fc19b311cdaf977b3b5cc7abc01589
This commit is contained in:
Efraim Flashner 2024-05-23 12:48:54 +03:00
parent 016fd7720d
commit 02427ea997
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -1362,15 +1362,23 @@ (define-public gssdp
"0iil7wgix0nzhf3i2w6g1wjqly49r9rsffca97ai9kr2vfpvbv9g"))))
(build-system meson-build-system)
(arguments
(list #:configure-flags #~'("-Dgtk_doc=true")))
(list #:configure-flags
#~(list "-Dgtk_doc=true"
;; Manpages are built using pandoc.
#$@(if (this-package-native-input "pandoc")
#~("-Dmanpages=true")
#~("-Dmanpages=false")))))
(native-inputs
(list gettext-minimal
`(,glib "bin")
gi-docgen
gobject-introspection
pandoc
pkg-config
vala))
(append
(if (supported-package? pandoc)
(list pandoc)
'())
(list gettext-minimal
`(,glib "bin")
gi-docgen
gobject-introspection
pkg-config
vala)))
(inputs
(list gtk))
(propagated-inputs