guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/03: gnu: moonlight-qt: Update to 5.0.1.


From: guix-commits
Subject: 03/03: gnu: moonlight-qt: Update to 5.0.1.
Date: Mon, 22 Jan 2024 11:14:43 -0500 (EST)

wigust pushed a commit to branch master
in repository guix.

commit 29c26a8d308286cf378ce9cfa3d73e3d1454263d
Author: Oleg Pykhalov <go.wigust@gmail.com>
AuthorDate: Mon Jan 22 06:06:57 2024 +0300

    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
---
 gnu/packages/games.scm | 45 ++++++++++++++++++++-------------------------
 1 file 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]