ebuild-repository/games-util/mangohud/files/mangohud-0.6.6-meson-fix-imgui-dep.patch
Sheldon Lee 2eae738bcb Added own hacky mangohud ebuilds
I cloned the upstream repo myself to pull the meson subprojects, and
tarballed them. They are then extracted in src_prepare() to the right
right directory to build mangohud successfully.

This was to fix new vulkan headers breaking mangohud, so the subprojects
are used instead.
2023-05-27 01:56:24 +01:00

15 lines
438 B
Diff

# We provide media-libs/imgui in guru
--- a/meson.build
+++ b/meson.build
@@ -251,8 +251,7 @@ elif sizeof_ptr == 4
pre_args += '-DMANGOHUD_ARCH="32bit"'
endif
-dearimgui_sp = subproject('imgui', default_options: imgui_options)
-dearimgui_dep = dearimgui_sp.get_variable('imgui_dep')
+dearimgui_dep = dependency('imgui')
spdlog_dep = cpp.find_library('spdlog', required: get_option('use_system_spdlog'))
if not spdlog_dep.found()