guix-commits
[Top][All Lists]
Advanced

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

branch master updated: gnu: jami: Use OpenGL, not OpenGL ES.


From: guix-commits
Subject: branch master updated: gnu: jami: Use OpenGL, not OpenGL ES.
Date: Sun, 16 Jan 2022 12:31:16 -0500

This is an automated email from the git hooks/post-receive script.

apteryx pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 8cdecad237 gnu: jami: Use OpenGL, not OpenGL ES.
8cdecad237 is described below

commit 8cdecad237343f5c955d17df3a78e41fa1f2d56c
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sun Jan 16 00:22:40 2022 -0500

    gnu: jami: Use OpenGL, not OpenGL ES.
    
    This may yield better performance.
    
    * gnu/packages/jami.scm (jami)[phases]{use-desktop-opengl}: New phase.
---
 gnu/packages/jami.scm | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/jami.scm b/gnu/packages/jami.scm
index 21b5e946f1..9fcf55815b 100644
--- a/gnu/packages/jami.scm
+++ b/gnu/packages/jami.scm
@@ -587,7 +587,14 @@ decentralized calling using P2P-DHT.")
                (("// clang-format on.*" anchor)
                 (string-append "const char VERSION_STRING[] = \""
                                ,version "\";\n"
-                               anchor))))))))
+                               anchor)))))
+         (add-after 'change-directory/maybe 'use-desktop-opengl
+           ;; TODO: Remove after next release; this is no longer specified in
+           ;; the source following the update to Qt 6.
+           (lambda _
+             (substitute* "src/main.cpp"
+               (("Qt::AA_UseOpenGLES")
+                "Qt::AA_UseDesktopOpenGL")))))))
     (native-inputs
      (list pkg-config python qttools doxygen graphviz))
     (inputs



reply via email to

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