# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 inherit meson-multilib MESON_WRAP_VER="1" DESCRIPTION="Bloat-free graphical user interface library for C++" HOMEPAGE=" https://github.com/ocornut/imgui " SRC_URI="https://github.com/ocornut/imgui/archive/v${PV}.tar.gz -> imgui-${PV}.tar.gz" LICENSE="MIT" SLOT="0/${PV}" KEYWORDS="~amd64" IUSE="allegro5 glfw sdl2 sdl3 sdl2-renderer sdl3-renderer opengl vulkan webgpu" RDEPEND=" dev-libs/stb:= media-libs/libglvnd[${MULTILIB_USEDEP}] media-libs/glew[${MULTILIB_USEDEP}] allegro5? ( media-libs/allegro:5[${MULTILIB_USEDEP}] ) glfw? ( media-libs/glfw:0[${MULTILIB_USEDEP}] ) sdl2? ( media-libs/libsdl2[${MULTILIB_USEDEP}] ) sdl2-renderer? ( media-libs/libsdl2[${MULTILIB_USEDEP}] ) opengl? ( || ( >=media-libs/mesa-24.1.0_rc1[opengl,${MULTILIB_USEDEP}]