[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/07: gnu: qtox: Wrap executable and fix misplaced comma (unquote).
From: |
Ludovic Courtès |
Subject: |
02/07: gnu: qtox: Wrap executable and fix misplaced comma (unquote). |
Date: |
Thu, 15 Mar 2018 18:46:24 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit dab03baa0a4d857edf8c5752e5dd8ecaab8862a7
Author: Diego Nicola Barbato <address@hidden>
Date: Thu Mar 15 02:19:51 2018 +0100
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 <address@hidden>
---
gnu/packages/messaging.scm | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index b6323c3..ae489e1 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -874,10 +874,18 @@ instant messenger with audio and video chat
capabilities.")
(("__DATE__") "\"\"")
(("__TIME__") "\"\"")
(("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
`(("ffmpeg" ,ffmpeg)
- ("filteraudio", filteraudio)
+ ("filteraudio" ,filteraudio)
("glib" ,glib)
("gtk+" ,gtk+-2)
("libsodium" ,libsodium)
- branch master updated (0ab5aa0 -> 8ab10c1), Ludovic Courtès, 2018/03/15
- 04/07: gnu: Add ghc-trifecta-1.6.2.1., Ludovic Courtès, 2018/03/15
- 03/07: gnu: Add ghc-aeson-1.1.2.0., Ludovic Courtès, 2018/03/15
- 05/07: gnu: Add ghc-cheapskate-0.1.0.5., Ludovic Courtès, 2018/03/15
- 01/07: vm: Use 'invoke' instead of 'system*'., Ludovic Courtès, 2018/03/15
- 06/07: gnu: idris: Provide the right versions of dependencies., Ludovic Courtès, 2018/03/15
- 02/07: gnu: qtox: Wrap executable and fix misplaced comma (unquote).,
Ludovic Courtès <=
- 07/07: linux-initrd: Move 'check-device-initrd-modules' elsewhere., Ludovic Courtès, 2018/03/15