gnu: brasero: Embed growisofs from dvd+rw-tools input.

* gnu/packages/gnome.scm (brasero)[arguments]: Rename the
'embed-growisofs phase to 'embed-growisofs-reference.  Get its
growisofs file name from the dvd+rw-tools input, not WHICH.
This commit is contained in:
Tobias Geerinckx-Rice 2021-10-04 05:04:17 +02:00
parent 41e24ace7d
commit 0cdc984147
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -300,11 +300,12 @@ (define-public brasero
"/lib/girepository-1.0"))
#:phases
(modify-phases %standard-phases
(add-before 'configure 'embed-growisofs
(add-before 'configure 'embed-growisofs-reference
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "plugins/growisofs/burn-growisofs.c"
(("\"growisofs") (string-append "\"" (which "growisofs"))))
#t)))))
(let ((dvd+rw-tools (assoc-ref inputs "dvd+rw-tools")))
(substitute* "plugins/growisofs/burn-growisofs.c"
(("(\")(growisofs)" _ prefix command)
(string-append prefix dvd+rw-tools "/bin/" command)))))))))
(propagated-inputs
`(("hicolor-icon-theme" ,hicolor-icon-theme)))
(native-inputs