gnu: moonlight-qt: Update to 5.0.1.
* gnu/packages/games.scm (moonlight-qt): Update to 5.0.1. [arguments]<#:phases>: Update moonlight-qt.pro file substitute to not include bundled h264bitstream library. Change-Id: I9c68f7c6de39a0d78c6ef5b48d2272cdf3f771b5
This commit is contained in:
parent
e677aceb5d
commit
29c26a8d30
1 changed files with 20 additions and 25 deletions
|
@ -6233,7 +6233,7 @@ (define-public bambam
|
|||
(define-public moonlight-qt
|
||||
(package
|
||||
(name "moonlight-qt")
|
||||
(version "3.1.4")
|
||||
(version "5.0.1")
|
||||
(source (origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
|
@ -6242,32 +6242,27 @@ (define-public moonlight-qt
|
|||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"02y2rbiiawhj1dvgxdaz8k9kpz6zkv20zsk17fbqj8259m3g5xr5"))))
|
||||
"1g1y736vw36lmh2bjymsf4b4ypr76x9lqz7frzpj7sn0vb9y5315"))))
|
||||
(build-system qt-build-system)
|
||||
(arguments
|
||||
(list #:tests? #f ;no test suite
|
||||
#:phases #~(modify-phases %standard-phases
|
||||
(replace 'configure
|
||||
(lambda* _
|
||||
(symlink (string-append #$(this-package-input
|
||||
"sdl2-gamecontrollerdb")
|
||||
"/share/sdl2/gamecontrollerdb.txt")
|
||||
"app/SDL_GameControllerDB/gamecontrollerdb.txt")
|
||||
;; Unbundle libraries.
|
||||
(substitute* "moonlight-qt.pro"
|
||||
(("moonlight-common-c \\\\")
|
||||
"#moonlight-common-c \\")
|
||||
(("qmdnsengine \\\\")
|
||||
"#qmdnsengine \\")
|
||||
(("app \\\\")
|
||||
"app")
|
||||
(("app.depends")
|
||||
"INCLUDEPATH +=")
|
||||
(("h264bitstream \\\\")
|
||||
"#h264bitstream \\"))
|
||||
(invoke "qmake"
|
||||
(string-append "PREFIX="
|
||||
#$output)))))))
|
||||
(list
|
||||
#:tests? #f ;no test suite
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(replace 'configure
|
||||
(lambda* _
|
||||
(symlink (string-append
|
||||
#$(this-package-input "sdl2-gamecontrollerdb")
|
||||
"/share/sdl2/gamecontrollerdb.txt")
|
||||
"app/SDL_GameControllerDB/gamecontrollerdb.txt")
|
||||
;; Unbundle libraries.
|
||||
(substitute* "moonlight-qt.pro"
|
||||
((" moonlight-common-c.*\n") "")
|
||||
((" qmdnsengine.*\n") "")
|
||||
((" h264bitstream.*\n") "")
|
||||
((" app \\\\") " app")
|
||||
(("app.depends") "INCLUDEPATH +="))
|
||||
(invoke "qmake" (string-append "PREFIX=" #$output)))))))
|
||||
(native-inputs (list pkg-config qttools-5))
|
||||
(inputs (list ffmpeg
|
||||
h264bitstream
|
||||
|
|
Loading…
Reference in a new issue