gnu: jami: Use OpenGL, not OpenGL ES.
This may yield better performance. * gnu/packages/jami.scm (jami)[phases]{use-desktop-opengl}: New phase.
This commit is contained in:
parent
05fbb611cd
commit
8cdecad237
1 changed files with 8 additions and 1 deletions
|
@ -587,7 +587,14 @@ decentralized calling using P2P-DHT.")
|
||||||
(("// clang-format on.*" anchor)
|
(("// clang-format on.*" anchor)
|
||||||
(string-append "const char VERSION_STRING[] = \""
|
(string-append "const char VERSION_STRING[] = \""
|
||||||
,version "\";\n"
|
,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
|
(native-inputs
|
||||||
(list pkg-config python qttools doxygen graphviz))
|
(list pkg-config python qttools doxygen graphviz))
|
||||||
(inputs
|
(inputs
|
||||||
|
|
Reference in a new issue