gnu: tiled: Use modular Qt.
* gnu/packages/game-development.scm (tiled)[inputs]: Remove qt; add qtbase and qtsvg. [native-inputs]: Add qttools. [arguments]: Override LRELEASE in translations.pro.
This commit is contained in:
parent
5c7d62242a
commit
864cc7ef56
|
@ -262,13 +262,22 @@ levels.")
|
||||||
(base32
|
(base32
|
||||||
"1kcj2blrlfpghjv0qigip2qcbxfx7vv9i8nr4997hkwhsh6i2pjp"))))
|
"1kcj2blrlfpghjv0qigip2qcbxfx7vv9i8nr4997hkwhsh6i2pjp"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(inputs `(("qt" ,qt)
|
(inputs
|
||||||
("zlib" ,zlib)))
|
`(("qtbase" ,qtbase)
|
||||||
|
("qtsvg" ,qtsvg)
|
||||||
|
("zlib" ,zlib)))
|
||||||
|
(native-inputs
|
||||||
|
`(("qttools" ,qttools)))
|
||||||
(arguments
|
(arguments
|
||||||
'(#:phases
|
'(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(replace 'configure
|
(replace 'configure
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
|
(substitute* "translations/translations.pro"
|
||||||
|
(("LRELEASE =.*")
|
||||||
|
(string-append "LRELEASE = "
|
||||||
|
(assoc-ref inputs "qttools")
|
||||||
|
"/bin/lrelease\n")))
|
||||||
(let ((out (assoc-ref outputs "out")))
|
(let ((out (assoc-ref outputs "out")))
|
||||||
(system* "qmake"
|
(system* "qmake"
|
||||||
(string-append "PREFIX=" out))))))))
|
(string-append "PREFIX=" out))))))))
|
||||||
|
|
Loading…
Reference in New Issue