diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-05-23 12:48:54 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-05-23 20:39:09 +0300 |
commit | 02427ea997e7218bccabb204d78b3469a63f32a7 (patch) | |
tree | 0ece7babba628513e2b5785ba9528af808699df1 | |
parent | 016fd7720db06f0945e345cc9d5043642f3b8720 (diff) | |
download | guix-02427ea997e7218bccabb204d78b3469a63f32a7.tar.gz |
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
-rw-r--r-- | gnu/packages/gnome.scm | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 74f33c4d22..4b7d53b089 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -1362,15 +1362,23 @@ It has miners for Facebook, Flickr, Google, ownCloud and SkyDrive.") "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 |