gnu: cheese: Use gexps.

* gnu/packages/gnome.scm (cheese) [arguments]: Use gexps.
[phases] {wrap-cheese}: Delete extraneous INPUTS binding.
This commit is contained in:
Maxim Cournoyer 2023-01-21 16:44:43 -05:00
parent 895389583b
commit 1a97e68de9
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -11451,16 +11451,16 @@ (define-public cheese
(base32
"02vzcvk2s6cwvdw6v6qmlq3znamy6zwv7l6nlbqjfwrj7i54qmvl"))))
(arguments
`(#:glib-or-gtk? #t
(list #:glib-or-gtk? #t
#:phases
(modify-phases %standard-phases
#~(modify-phases %standard-phases
(add-after 'unpack 'skip-gtk-update-icon-cache
(lambda _
;; Don't create 'icon-theme.cache'
;; Don't create 'icon-theme.cache'.
(substitute* "meson_post_install.py"
(("gtk-update-icon-cache") (which "true")))))
(add-after 'install 'wrap-cheese
(lambda* (#:key inputs outputs #:allow-other-keys)
(lambda* (#:key outputs #:allow-other-keys)
(wrap-program (search-input-file outputs "bin/cheese")
`("GST_PLUGIN_SYSTEM_PATH" ":" prefix
(,(getenv "GST_PLUGIN_SYSTEM_PATH")))))))))