gnu: devhelp: Add a libsoup 2 variant.

* gnu/packages/gnome.scm (devhelp-with-libsoup2): New variable.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
This commit is contained in:
Vivien Kraus 2021-11-30 00:03:07 +01:00 committed by Mathieu Othacehe
parent 854120d01f
commit 89907521ef
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

@ -5854,6 +5854,22 @@ (define-public devhelp
throughout GNOME for API documentation).")
(license license:gpl2+)))
(define-public devhelp-with-libsoup2
(package/inherit devhelp
(arguments
(substitute-keyword-arguments (package-arguments devhelp)
((#:phases phases '%standard-phases)
`(modify-phases %standard-phases
(add-after 'unpack 'skip-gtk-update-icon-cache
;; Don't create 'icon-theme.cache'.
(lambda _
(substitute* "build-aux/meson/meson_post_install.py"
(("gtk-update-icon-cache") "true"))))))))
(inputs
`(("amtk" ,amtk)
("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
("webkitgtk" ,webkitgtk-with-libsoup2)))))
(define-public cogl
(package
(name "cogl")