gnu: gcompris-qt: Switch to qt-build-system.
* gnu/packages/education.scm (gcompris-qt)[build-system]: Switch from cmake-build-system to qt-build-system. [arguments]: Remove custom 'wrap-executable phase.
parent
edbf8272c0
commit
1ac96992fb
|
@ -150,7 +150,7 @@ of categories with some of the activities available in that category.
|
||||||
version ".tar.xz"))
|
version ".tar.xz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "1bpjwrv83rhikbycpyfpf6dbqr0xfq6amgdpqfgfph6nzr3zka7h"))))
|
(base32 "1bpjwrv83rhikbycpyfpf6dbqr0xfq6amgdpqfgfph6nzr3zka7h"))))
|
||||||
(build-system cmake-build-system)
|
(build-system qt-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
|
@ -162,23 +162,7 @@ of categories with some of the activities available in that category.
|
||||||
(setenv "DISPLAY" ":1")
|
(setenv "DISPLAY" ":1")
|
||||||
;; The test suite wants to write to /homeless-shelter
|
;; The test suite wants to write to /homeless-shelter
|
||||||
(setenv "HOME" (getcwd))
|
(setenv "HOME" (getcwd))
|
||||||
#t))
|
#t)))
|
||||||
(add-after 'install 'wrap-executable
|
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
||||||
(let ((out (assoc-ref outputs "out")))
|
|
||||||
(wrap-program (string-append out "/bin/gcompris-qt")
|
|
||||||
`("QT_PLUGIN_PATH" ":" prefix
|
|
||||||
,(map (lambda (label)
|
|
||||||
(string-append (assoc-ref inputs label)
|
|
||||||
"/lib/qt5/plugins"))
|
|
||||||
'("qtbase" "qtdeclarative" "qtmultimedia" "qtsvg")))
|
|
||||||
`("QML2_IMPORT_PATH" ":" prefix
|
|
||||||
,(map (lambda (label)
|
|
||||||
(string-append (assoc-ref inputs label)
|
|
||||||
"/lib/qt5/qml"))
|
|
||||||
'("qtdeclarative" "qtgraphicaleffects"
|
|
||||||
"qtmultimedia" "qtquickcontrols"))))
|
|
||||||
#t))))
|
|
||||||
#:configure-flags (list "-DQML_BOX2D_MODULE=disabled"
|
#:configure-flags (list "-DQML_BOX2D_MODULE=disabled"
|
||||||
"-DBUILD_TESTING=TRUE")))
|
"-DBUILD_TESTING=TRUE")))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
|
|
Reference in New Issue