mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-22 18:49:14 -05:00
gnu: flightgear: Build with qt-build-system.
* gnu/packages/games.scm (flightgear)[build-system]: Switch to qt-build-system. [arguments]: Remove 'wrap-executable phase.
This commit is contained in:
parent
347227efc1
commit
3a5b1cc32a
1 changed files with 2 additions and 17 deletions
|
@ -9313,7 +9313,7 @@ (define-public flightgear
|
||||||
(for-each delete-file-recursively
|
(for-each delete-file-recursively
|
||||||
'("3rdparty/sqlite3/"))
|
'("3rdparty/sqlite3/"))
|
||||||
#t))))
|
#t))))
|
||||||
(build-system cmake-build-system)
|
(build-system qt-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:configure-flags
|
`(#:configure-flags
|
||||||
(list "-DSYSTEM_SQLITE=ON"
|
(list "-DSYSTEM_SQLITE=ON"
|
||||||
|
@ -9325,21 +9325,6 @@ (define-public flightgear
|
||||||
#:tests? #f
|
#:tests? #f
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after 'install 'wrap-executable
|
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
||||||
(let ((out (assoc-ref outputs "out")))
|
|
||||||
(wrap-program (string-append out "/bin/fgfs")
|
|
||||||
`("QT_PLUGIN_PATH" ":" prefix
|
|
||||||
,(map (lambda (label)
|
|
||||||
(string-append (assoc-ref inputs label)
|
|
||||||
"/lib/qt5/plugins"))
|
|
||||||
'("qtbase" "qtdeclarative" "qtsvg")))
|
|
||||||
`("QML2_IMPORT_PATH" ":" prefix
|
|
||||||
,(map (lambda (label)
|
|
||||||
(string-append (assoc-ref inputs label)
|
|
||||||
"/lib/qt5/qml"))
|
|
||||||
'("qtdeclarative" "qtsvg"))))
|
|
||||||
#t)))
|
|
||||||
(add-after 'install 'install-data
|
(add-after 'install 'install-data
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
(let ((share (string-append (assoc-ref outputs "out") "/share/flightgear")))
|
(let ((share (string-append (assoc-ref outputs "out") "/share/flightgear")))
|
||||||
|
@ -9379,7 +9364,7 @@ (define-public flightgear
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0n5mw9vw1snab16c1y3i9ylkiv54az57bs2mvpq20hhg5hdiagqj"))))))
|
"0n5mw9vw1snab16c1y3i9ylkiv54az57bs2mvpq20hhg5hdiagqj"))))))
|
||||||
(home-page "https://home.flightgear.org/")
|
(home-page "https://www.flightgear.org/")
|
||||||
(synopsis "Flight simulator")
|
(synopsis "Flight simulator")
|
||||||
(description "The goal of the FlightGear project is to create a
|
(description "The goal of the FlightGear project is to create a
|
||||||
sophisticated flight simulator framework for use in research or academic
|
sophisticated flight simulator framework for use in research or academic
|
||||||
|
|
Loading…
Reference in a new issue