gnu: quaternion: Wrap with extra inputs.
* gnu/packages/messaging.scm (quaternion)[inputs]: Add qtquickcontrols2. [arguments]: Use WRAP-QT-PROGRAM.master
parent
5958df042c
commit
f920a64a74
|
@ -1779,25 +1779,23 @@ QMatrixClient project.")
|
||||||
("qtdeclarative" ,qtdeclarative)
|
("qtdeclarative" ,qtdeclarative)
|
||||||
("qtmultimedia" ,qtmultimedia)
|
("qtmultimedia" ,qtmultimedia)
|
||||||
("qtquickcontrols" ,qtquickcontrols)
|
("qtquickcontrols" ,qtquickcontrols)
|
||||||
|
("qtquickcontrols2" ,qtquickcontrols2)
|
||||||
("qtsvg" ,qtsvg)
|
("qtsvg" ,qtsvg)
|
||||||
("qttools" ,qttools)))
|
("qttools" ,qttools)))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ; no tests
|
`(#: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
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after 'install 'wrap-program
|
(add-after 'install 'wrap-program
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(wrap-program (string-append (assoc-ref outputs "out")
|
(let ((out (assoc-ref outputs "out")))
|
||||||
"/bin/quaternion")
|
(wrap-qt-program out "quaternion")
|
||||||
`("QT_PLUGIN_PATH" ":" prefix
|
#t))))))
|
||||||
(,(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)))))
|
|
||||||
(home-page "https://matrix.org/docs/projects/client/quaternion.html")
|
(home-page "https://matrix.org/docs/projects/client/quaternion.html")
|
||||||
(synopsis "Graphical client for the Matrix instant messaging protocol")
|
(synopsis "Graphical client for the Matrix instant messaging protocol")
|
||||||
(description "Quaternion is a Qt5 desktop client for the Matrix instant
|
(description "Quaternion is a Qt5 desktop client for the Matrix instant
|
||||||
|
|
Reference in New Issue