me
/
guix
Archived
1
0
Fork 0

gnu: imgui: Enable freetype support.

* gnu/packages/toolkits.scm (imgui) [arguments]: Add -DIMGUI_ENABLE_FREETYPE
to make flags.
[inputs]: Add freetype.
Maxim Cournoyer 2023-09-25 21:15:42 -04:00
parent 219922a694
commit bf946ad591
No known key found for this signature in database
GPG Key ID: 1260E46482E63562
1 changed files with 2 additions and 1 deletions

View File

@ -62,6 +62,7 @@
;; it would fail with the "Too many vertices in ImDrawList using 16-bit
;; indices".
#~(list "-DImDrawIdx=unsigned int"
"-DIMGUI_ENABLE_FREETYPE"
"-I" (string-append (getcwd) "/source")
"-I" (search-input-directory %build-inputs "include/freetype2")
"-g" "-O2" "-fPIC" "-shared"
@ -122,7 +123,7 @@
(copy-recursively "examples"
(string-append #$output:doc
"/share/imgui/examples"))))))))
(inputs (list fontconfig glfw mesa sdl2))
(inputs (list fontconfig freetype glfw mesa sdl2))
(home-page "https://github.com/ocornut/imgui")
(synopsis "Immediate-mode C++ GUI library with minimal dependencies")
(description "@code{dear imgui} (also know as ImGui) is a graphical user