gnu: glade: gjs is a run-time dependency.
* gnu/packages/gnome.scm (glade3)[native-inputs]: Move GJS ... [inputs]: ... here.
This commit is contained in:
parent
f22c65e019
commit
e21e7b0b4f
1 changed files with 8 additions and 9 deletions
|
@ -3143,7 +3143,7 @@ API add-ons to make GTK+ widgets OpenGL-capable.")
|
||||||
(substitute* "meson_post_install.py"
|
(substitute* "meson_post_install.py"
|
||||||
(("gtk-update-icon-cache") "true"))))
|
(("gtk-update-icon-cache") "true"))))
|
||||||
|
|
||||||
,@(if (this-package-native-input "gjs")
|
,@(if (this-package-input "gjs")
|
||||||
'()
|
'()
|
||||||
'((add-after 'unpack 'skip-gjs-test
|
'((add-after 'unpack 'skip-gjs-test
|
||||||
(lambda _
|
(lambda _
|
||||||
|
@ -3170,7 +3170,13 @@ current/manpages/docbook.xsl")
|
||||||
(system "Xvfb :1 &")
|
(system "Xvfb :1 &")
|
||||||
(setenv "DISPLAY" ":1"))))))
|
(setenv "DISPLAY" ":1"))))))
|
||||||
(inputs
|
(inputs
|
||||||
(list gtk+ libxml2))
|
(append
|
||||||
|
;; GJS depends on Rust, which is x86_64-only so far, so remove the GJS
|
||||||
|
;; dependency on other platforms (FIXME).
|
||||||
|
(if (target-x86-64?)
|
||||||
|
(list gjs)
|
||||||
|
'())
|
||||||
|
(list gtk+ libxml2)))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("hicolor-icon-theme" ,hicolor-icon-theme)
|
`(("hicolor-icon-theme" ,hicolor-icon-theme)
|
||||||
("intltool" ,intltool)
|
("intltool" ,intltool)
|
||||||
|
@ -3182,13 +3188,6 @@ current/manpages/docbook.xsl")
|
||||||
("python" ,python)
|
("python" ,python)
|
||||||
("python-pygobject" ,python-pygobject)
|
("python-pygobject" ,python-pygobject)
|
||||||
("gobject-introspection" ,gobject-introspection)
|
("gobject-introspection" ,gobject-introspection)
|
||||||
|
|
||||||
;; GJS depends on Rust, which is x86_64-only so far, so remove the GJS
|
|
||||||
;; dependency on other platforms (FIXME).
|
|
||||||
,@(if (target-x86-64?)
|
|
||||||
`(("gjs" ,gjs))
|
|
||||||
'())
|
|
||||||
|
|
||||||
("pkg-config" ,pkg-config)
|
("pkg-config" ,pkg-config)
|
||||||
("xorg-server" ,xorg-server-for-tests)))
|
("xorg-server" ,xorg-server-for-tests)))
|
||||||
(home-page "https://glade.gnome.org")
|
(home-page "https://glade.gnome.org")
|
||||||
|
|
Reference in a new issue