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:
parent
45b98751ff
commit
4ec964ec38
1 changed files with 11 additions and 2 deletions
|
@ -546,12 +546,21 @@ decentralized calling using P2P-DHT.")
|
||||||
; automatically started by DBus.
|
; automatically started by DBus.
|
||||||
("adwaita-icon-theme" ,adwaita-icon-theme)))
|
("adwaita-icon-theme" ,adwaita-icon-theme)))
|
||||||
(arguments
|
(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
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'change-directory
|
(add-after 'unpack 'change-directory
|
||||||
(lambda _
|
(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")
|
(synopsis "Jami client for GNOME")
|
||||||
(description "This package provides a Jami client for the GNOME desktop.
|
(description "This package provides a Jami client for the GNOME desktop.
|
||||||
Jami is a secure and distributed voice, video and chat communication platform
|
Jami is a secure and distributed voice, video and chat communication platform
|
||||||
|
|
Reference in a new issue