~ruther/guix-local

02427ea997e7218bccabb204d78b3469a63f32a7 — Efraim Flashner 1 year, 9 months ago 016fd77
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
1 files changed, 16 insertions(+), 8 deletions(-)

M gnu/packages/gnome.scm
M gnu/packages/gnome.scm => gnu/packages/gnome.scm +16 -8
@@ 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