gnu: imgui: Enable freetype support.
* gnu/packages/toolkits.scm (imgui) [arguments]: Add -DIMGUI_ENABLE_FREETYPE to make flags. [inputs]: Add freetype.
parent
219922a694
commit
bf946ad591
|
@ -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
|
||||
|
|
Reference in New Issue