mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 21:59:08 -05:00
gnu: xdg-desktop-portal: Improve style.
* gnu/packages/freedesktop.scm (xdg-desktop-portal) [inputs]: Move after arguments. Drop labels. [native-inputs]: Move after inputs. Drop labels. Reviewed-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
This commit is contained in:
parent
1b4304ea29
commit
add9662686
1 changed files with 20 additions and 20 deletions
|
@ -3001,26 +3001,6 @@ (define-public xdg-desktop-portal
|
||||||
;; Disable portal tests since they try to use fuse.
|
;; Disable portal tests since they try to use fuse.
|
||||||
(patches (search-patches "xdg-desktop-portal-disable-portal-tests.patch"))))
|
(patches (search-patches "xdg-desktop-portal-disable-portal-tests.patch"))))
|
||||||
(build-system meson-build-system)
|
(build-system meson-build-system)
|
||||||
(native-inputs
|
|
||||||
`(("pkg-config" ,pkg-config)
|
|
||||||
("glib:bin" ,glib "bin")
|
|
||||||
("gettext" ,gettext-minimal)
|
|
||||||
("python" ,python)
|
|
||||||
("python-dbusmock" ,python-dbusmock)
|
|
||||||
("python-pytest" ,python-pytest)
|
|
||||||
("python-pytest-xdist" ,python-pytest-xdist)))
|
|
||||||
(inputs
|
|
||||||
`(("bubblewrap" ,bubblewrap)
|
|
||||||
("gdk-pixbuf" ,gdk-pixbuf)
|
|
||||||
("glib" ,glib)
|
|
||||||
("flatpak" ,flatpak)
|
|
||||||
("fontconfig" ,fontconfig)
|
|
||||||
("json-glib" ,json-glib)
|
|
||||||
("libportal" ,libportal)
|
|
||||||
("dbus" ,dbus)
|
|
||||||
("geoclue" ,geoclue)
|
|
||||||
("pipewire" ,pipewire)
|
|
||||||
("fuse" ,fuse)))
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:configure-flags
|
`(#:configure-flags
|
||||||
(list "-Dsystemd=disabled")
|
(list "-Dsystemd=disabled")
|
||||||
|
@ -3034,6 +3014,26 @@ (define-public xdg-desktop-portal
|
||||||
(find-files "po" "\\.po$"))))
|
(find-files "po" "\\.po$"))))
|
||||||
(add-after 'unpack 'set-home-directory
|
(add-after 'unpack 'set-home-directory
|
||||||
(lambda _ (setenv "HOME" "/tmp"))))))
|
(lambda _ (setenv "HOME" "/tmp"))))))
|
||||||
|
(inputs
|
||||||
|
(list bubblewrap
|
||||||
|
dbus
|
||||||
|
flatpak
|
||||||
|
fontconfig
|
||||||
|
fuse
|
||||||
|
gdk-pixbuf
|
||||||
|
geoclue
|
||||||
|
glib
|
||||||
|
json-glib
|
||||||
|
libportal
|
||||||
|
pipewire))
|
||||||
|
(native-inputs
|
||||||
|
(list gettext-minimal
|
||||||
|
`(,glib "bin")
|
||||||
|
pkg-config
|
||||||
|
python
|
||||||
|
python-dbusmock
|
||||||
|
python-pytest
|
||||||
|
python-pytest-xdist))
|
||||||
(native-search-paths
|
(native-search-paths
|
||||||
(list (search-path-specification
|
(list (search-path-specification
|
||||||
(variable "XDG_DESKTOP_PORTAL_DIR")
|
(variable "XDG_DESKTOP_PORTAL_DIR")
|
||||||
|
|
Loading…
Reference in a new issue