gnu: qtox: Wrap executable and fix misplaced comma (unquote).
* gnu/packages/messaging.scm (qtox)[arguments]: Add phase "wrap-executable". [inputs]: Fix misplaced comma (unquote). Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
e1d0f2aa87
commit
dab03baa0a
|
@ -874,7 +874,15 @@ instant messenger with audio and video chat capabilities.")
|
||||||
(("__DATE__") "\"\"")
|
(("__DATE__") "\"\"")
|
||||||
(("__TIME__") "\"\"")
|
(("__TIME__") "\"\"")
|
||||||
(("TIMESTAMP") "\"\""))
|
(("TIMESTAMP") "\"\""))
|
||||||
#t)))))
|
#t))
|
||||||
|
;; Ensure that icons are found at runtime.
|
||||||
|
(add-after 'install 'wrap-executable
|
||||||
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
|
(let ((out (assoc-ref outputs "out")))
|
||||||
|
(wrap-program (string-append out "/bin/qtox")
|
||||||
|
`("QT_PLUGIN_PATH" prefix
|
||||||
|
,(list (string-append (assoc-ref inputs "qtsvg")
|
||||||
|
"/lib/qt5/plugins/"))))))))))
|
||||||
(inputs
|
(inputs
|
||||||
`(("ffmpeg" ,ffmpeg)
|
`(("ffmpeg" ,ffmpeg)
|
||||||
("filteraudio" ,filteraudio)
|
("filteraudio" ,filteraudio)
|
||||||
|
|
Loading…
Reference in New Issue