gnu: cool-retro-term: Fix qml path.

* gnu/packages/terminals.scm (cool-retro-term): Fix qml path.
This commit is contained in:
Oleg Pykhalov 2017-11-17 04:08:33 +03:00
parent 9bc646d053
commit 669be6acfe
No known key found for this signature in database
GPG Key ID: 7246E11C69B79569
1 changed files with 2 additions and 2 deletions

View File

@ -493,7 +493,7 @@ embedded kernel situations.")
(share (string-append out "/share"))) (share (string-append out "/share")))
(substitute* '("qmltermwidget/qmltermwidget.pro") (substitute* '("qmltermwidget/qmltermwidget.pro")
(("INSTALL_DIR = \\$\\$\\[QT_INSTALL_QML\\]") (("INSTALL_DIR = \\$\\$\\[QT_INSTALL_QML\\]")
(string-append "INSTALL_DIR = " out "/qml"))) (string-append "INSTALL_DIR = " out "/lib/qt5/qml")))
(substitute* '("app/app.pro") (substitute* '("app/app.pro")
(("target.path \\+= /usr") (("target.path \\+= /usr")
(string-append "target.path += " out)) (string-append "target.path += " out))
@ -514,7 +514,7 @@ embedded kernel situations.")
(add-after 'install 'wrap-executable (add-after 'install 'wrap-executable
(lambda* (#:key inputs outputs #:allow-other-keys) (lambda* (#:key inputs outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out")) (let* ((out (assoc-ref outputs "out"))
(qml "/qml")) (qml "/lib/qt5/qml"))
(wrap-program (string-append out "/bin/cool-retro-term") (wrap-program (string-append out "/bin/cool-retro-term")
`("QML2_IMPORT_PATH" ":" prefix `("QML2_IMPORT_PATH" ":" prefix
(,(string-append out qml) (,(string-append out qml)