gnu: jami-gnome: Include phases from the glib-or-gtk-build-system.

This makes Jami less dependent on the environment it is run within; for
example when using Jami on a foreign distributions.

* gnu/packages/jami.scm (jami-gnome)[imported-modules]: New argument.
[modules]: New argument.
[phases]{glib-or-gtk-compile-schemas, glib-or-gtk-wrap}: New phases.

Reported-by: Simon Tournier <zimon.toutoune@gmail.com>
This commit is contained in:
Maxim Cournoyer 2021-05-28 08:06:45 -04:00
parent 45b98751ff
commit 4ec964ec38
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -546,12 +546,21 @@ (define-public jami-gnome
; automatically started by DBus.
("adwaita-icon-theme" ,adwaita-icon-theme)))
(arguments
`(#:tests? #f ; There is no testsuite.
`(#:tests? #f ;no test suite
#:imported-modules (,@%cmake-build-system-modules
(guix build glib-or-gtk-build-system))
#:modules ((guix build cmake-build-system)
((guix build glib-or-gtk-build-system) #:prefix gtk:)
(guix build utils))
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'change-directory
(lambda _
(chdir "client-gnome"))))))
(chdir "client-gnome")))
(add-after 'install 'glib-or-gtk-compile-schemas
(assoc-ref gtk:%standard-phases 'glib-or-gtk-compile-schemas))
(add-after 'glib-or-gtk-compile-schemas 'glib-or-gtk-wrap
(assoc-ref gtk:%standard-phases 'glib-or-gtk-wrap)))))
(synopsis "Jami client for GNOME")
(description "This package provides a Jami client for the GNOME desktop.
Jami is a secure and distributed voice, video and chat communication platform