guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/07: gnu: imgui: Enable freetype support.


From: guix-commits
Subject: 03/07: gnu: imgui: Enable freetype support.
Date: Tue, 26 Sep 2023 11:33:37 -0400 (EDT)

apteryx pushed a commit to branch master
in repository guix.

commit bf946ad591777469d88f4cbd72d2109818ed5033
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Mon Sep 25 21:15:42 2023 -0400

    gnu: imgui: Enable freetype support.
    
    * gnu/packages/toolkits.scm (imgui) [arguments]: Add -DIMGUI_ENABLE_FREETYPE
    to make flags.
    [inputs]: Add freetype.
---
 gnu/packages/toolkits.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/toolkits.scm b/gnu/packages/toolkits.scm
index 46b7fd2cd6..712c225a94 100644
--- a/gnu/packages/toolkits.scm
+++ b/gnu/packages/toolkits.scm
@@ -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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]