summaryrefslogtreecommitdiff
path: root/gnu/packages/games.scm
diff options
context:
space:
mode:
authorOleg Pykhalov <go.wigust@gmail.com>2024-01-22 06:06:57 +0300
committerOleg Pykhalov <go.wigust@gmail.com>2024-01-22 19:12:43 +0300
commit29c26a8d308286cf378ce9cfa3d73e3d1454263d (patch)
tree14c7a7478998b50a557a3354bccbb5b66447516f /gnu/packages/games.scm
parente677aceb5de3dedbc6b5a5f0e6f58f1ca73b16d9 (diff)
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
Diffstat (limited to 'gnu/packages/games.scm')
-rw-r--r--gnu/packages/games.scm45
1 files changed, 20 insertions, 25 deletions
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 2b6821f339..c6aa873ac7 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -6233,7 +6233,7 @@ colors, pictures, and sounds.")
(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 @@ colors, pictures, and sounds.")
(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