From 8cdecad237343f5c955d17df3a78e41fa1f2d56c Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Sun, 16 Jan 2022 00:22:40 -0500 Subject: 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 -- cgit v1.2.3