gnu: Add libsoup-minimal.

* gnu/packages/gnome.scm (libsoup-minimal): New variable.
This commit is contained in:
Maxim Cournoyer 2020-01-08 21:57:33 -05:00
parent 53c41e958f
commit 43b6b45e7b
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -183,6 +183,7 @@ (define-module (gnu packages gnome)
#:use-module (gnu packages xml)
#:use-module (gnu packages xorg)
#:use-module (gnu artwork)
#:use-module ((guix build utils) #:select (modify-phases))
#:use-module (guix build-system cargo)
#:use-module (guix build-system cmake)
#:use-module (guix build-system glib-or-gtk)
@ -3741,6 +3742,22 @@ (define-public libsoup
and the GLib main loop, to integrate well with GNOME applications.")
(license license:lgpl2.0+)))
;;; A minimal version of libsoup used to prevent a cycle with Inkscape.
(define-public libsoup-minimal
(package
(inherit libsoup)
(name "libsoup-minimal")
(outputs (delete "doc" (package-outputs libsoup)))
(arguments
(substitute-keyword-arguments (package-arguments libsoup)
((#:configure-flags configure-flags)
`(delete "-Dgtk_doc=true" ,configure-flags))
((#:phases phases)
`(modify-phases ,phases
(delete 'move-doc)))))
(native-inputs (alist-delete "gtk-doc" (package-native-inputs libsoup)))))
(define-public libsecret
(package
(name "libsecret")