gnu: imgui@1.86: Adjust make-flags.
* gnu/packages/toolkits.scm (imgui-1.86)[arguments]: Remove the "-DIMGUI_ENABLE_FREETYPE" make-flag which breaks the display of mangohud, the only dependent. The "-DImDrawIdx=unsigned int" make-flag was previously removed, so we can do both by filtering make-flags starting with "-D". [inputs]: Remove freetype.master
parent
40a1254b05
commit
321979a153
|
@ -173,6 +173,11 @@ standard operating system features.")
|
||||||
(arguments
|
(arguments
|
||||||
(substitute-keyword-arguments (package-arguments imgui)
|
(substitute-keyword-arguments (package-arguments imgui)
|
||||||
((#:make-flags flags ''())
|
((#:make-flags flags ''())
|
||||||
;; Remove the "-DImDrawIdx=unsigned int" make-flag as this breaks
|
;; Remove "-DImDrawIdx=unsigned int" and "-DIMGUI_ENABLE_FREETYPE"
|
||||||
;; mangohud, the only user of this version.
|
;; from make-flags as this breaks MangoHud, the only user of this
|
||||||
#~(delete "-DImDrawIdx=unsigned int" #$flags))))))
|
;; version.
|
||||||
|
#~(filter (negate (lambda (x) (string-prefix? "-D" x)))
|
||||||
|
#$flags))))
|
||||||
|
(inputs
|
||||||
|
(modify-inputs (package-inputs imgui)
|
||||||
|
(delete "freetype")))))
|
||||||
|
|
Reference in New Issue