summary refs log tree commit diff
path: root/gnu/packages/toolkits.scm
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-04-01 17:37:14 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-04-01 17:37:14 -0400
commitf26f83c1a3090eeb95c14b83df22c31932a56078 (patch)
treea2b470a4529103ed6305aa0180e8e7a84849fea7 /gnu/packages/toolkits.scm
parent9a423751cbd1863848e29691b3be38c7cb42ca6d (diff)
downloadguix-f26f83c1a3090eeb95c14b83df22c31932a56078.tar.gz
gnu: imgui: Update to 1.89.4.
* gnu/packages/toolkits.scm (imgui): Update to 1.89.4.
Diffstat (limited to 'gnu/packages/toolkits.scm')
-rw-r--r--gnu/packages/toolkits.scm8
1 files changed, 5 insertions, 3 deletions
diff --git a/gnu/packages/toolkits.scm b/gnu/packages/toolkits.scm
index 23c1877edd..aee6c22e2d 100644
--- a/gnu/packages/toolkits.scm
+++ b/gnu/packages/toolkits.scm
@@ -32,7 +32,7 @@
 (define-public imgui
   (package
     (name "imgui")
-    (version "1.88")
+    (version "1.89.4")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -41,7 +41,7 @@
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "13cw4hx55y5z678r558hv7znfz666wh0w849c5padnj4nkpbihdi"))
+                "1j79gsg9i969slygrwm0dp5mkzagglawxxagjpi3009wyp6lj6l8"))
               (modules '((guix build utils)))
               (snippet
                ;; Remove bundled fonts.
@@ -82,7 +82,9 @@
                      "imgui_widgets.cpp"
                      ;; Include the supported backends.
                      "backends/imgui_impl_glfw.cpp"
-                     "backends/imgui_impl_sdl.cpp"
+                     (if (file-exists? "backends/imgui_impl_sdl2.cpp")
+                         "backends/imgui_impl_sdl2.cpp"
+                         "backends/imgui_impl_sdl.cpp")
                      "backends/imgui_impl_opengl2.cpp"
                      "backends/imgui_impl_opengl3.cpp"
                      ;; Include wrappers for C++ standard library (STL) and