[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/10: gnu: quaternion: Wrap with extra inputs.
From: |
guix-commits |
Subject: |
08/10: gnu: quaternion: Wrap with extra inputs. |
Date: |
Mon, 14 Oct 2019 23:25:32 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit f920a64a74e5f11469a90b9f7ecf8ecbbf844059
Author: Tobias Geerinckx-Rice <address@hidden>
Date: Tue Oct 15 02:12:32 2019 +0200
gnu: quaternion: Wrap with extra inputs.
* gnu/packages/messaging.scm (quaternion)[inputs]: Add qtquickcontrols2.
[arguments]: Use WRAP-QT-PROGRAM.
---
gnu/packages/messaging.scm | 22 ++++++++++------------
1 file changed, 10 insertions(+), 12 deletions(-)
diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index c69f768..03cd529 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -1779,25 +1779,23 @@ QMatrixClient project.")
("qtdeclarative" ,qtdeclarative)
("qtmultimedia" ,qtmultimedia)
("qtquickcontrols" ,qtquickcontrols)
+ ("qtquickcontrols2" ,qtquickcontrols2)
("qtsvg" ,qtsvg)
("qttools" ,qttools)))
(arguments
`(#:tests? #f ; no tests
+ #:modules ((guix build cmake-build-system)
+ (guix build qt-utils)
+ (guix build utils))
+ #:imported-modules (,@%cmake-build-system-modules
+ (guix build qt-utils))
#:phases
(modify-phases %standard-phases
(add-after 'install 'wrap-program
- (lambda* (#:key inputs outputs #:allow-other-keys)
- (wrap-program (string-append (assoc-ref outputs "out")
- "/bin/quaternion")
- `("QT_PLUGIN_PATH" ":" prefix
- (,(string-append (assoc-ref inputs "qtsvg")
- "/lib/qt5/plugins")))
- `("QML2_IMPORT_PATH" ":" prefix
- ,(map (lambda (label)
- (string-append (assoc-ref inputs label)
- "/lib/qt5/qml"))
- '("qtdeclarative" "qtquickcontrols"))))
- #t)))))
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out")))
+ (wrap-qt-program out "quaternion")
+ #t))))))
(home-page "https://matrix.org/docs/projects/client/quaternion.html")
(synopsis "Graphical client for the Matrix instant messaging protocol")
(description "Quaternion is a Qt5 desktop client for the Matrix instant
- branch master updated (ed3e7b7 -> c78778e), guix-commits, 2019/10/14
- 01/10: gnu: python-crate: Update to 0.23.2., guix-commits, 2019/10/14
- 03/10: gnu: python-git-review: Update to 1.28.0., guix-commits, 2019/10/14
- 05/10: gnu: r-cmprsk: Update to 2.2-9., guix-commits, 2019/10/14
- 02/10: gnu: python-django-override-storage: Update to 0.1.6., guix-commits, 2019/10/14
- 07/10: gnu: zenity: Don't use NAME in source URI., guix-commits, 2019/10/14
- 04/10: gnu: r-pkgbuild: Update to 1.0.6., guix-commits, 2019/10/14
- 06/10: gnu: zenity: Update to 3.32.0., guix-commits, 2019/10/14
- 09/10: gnu: xfsprogs: Update to 5.2.1., guix-commits, 2019/10/14
- 08/10: gnu: quaternion: Wrap with extra inputs.,
guix-commits <=
- 10/10: gnu: xfsprogs: Install Python script to :python output., guix-commits, 2019/10/14