Revert "gnu: xdg-desktop-portal: Improve style."

This reverts commit add9662686.
This commit is contained in:
Maxim Cournoyer 2024-09-27 09:14:14 +09:00
parent 8172b25ea2
commit d8298b37af
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -3025,6 +3025,26 @@ compatible with the well-known scripts of the same name.")
;; Disable portal tests since they try to use fuse.
(patches (search-patches "xdg-desktop-portal-disable-portal-tests.patch"))))
(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
`(#:configure-flags
(list "-Dsystemd=disabled")
@ -3038,26 +3058,6 @@ compatible with the well-known scripts of the same name.")
(find-files "po" "\\.po$"))))
(add-after 'unpack 'set-home-directory
(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
(list (search-path-specification
(variable "XDG_DESKTOP_PORTAL_DIR")