mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
media-libs/imgui: add 1.91.6
Signed-off-by: Erica Nebula <EricaNebula@Proton.me>
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
DIST imgui-1.89.9.tar.gz 1609452 BLAKE2B d5f361acf4318b05066720e9da2ed06db760c482440fc7fb2ca95ce5dd88d9a9a010697c831d3e188baec69819c0a0925e98134c191d5e1856ab43e4dbf9b64f SHA512 42021b06b611b58222b09fab8db2c34e992c3dc4fbaa175e09833c66c90d04b4a4e7def16a732535335c0ac5ff014d235835511a5d9a76d32b4395b302146919
|
||||
DIST imgui-1.91.1.tar.gz 1747226 BLAKE2B c129003702ec5be1286090dedb80cd3d984a926d945bbaba73be227f9f3c16442eec5b33e9f7a961a478fecc8a9b0742e5fcb7df625a011572ff4ce14747b03d SHA512 acdbde3a29a498178fcc40e04a3c037d9333347022349f37ea2470388dd3bdee52b2f4a364bacaee25345fe2fd3cf740915fbff264fcbf5160ba55368e8825eb
|
||||
DIST imgui-1.91.6.tar.gz 1790976 BLAKE2B 2c4996c2bef5e131c0249a0e2bccc283cddc644f35260ea2d68751fe392bd696d2d5b29051fc67cd9226875a15d590d5f2ec26a81e3224ad44cbc1466e0c019a SHA512 eef35ba9f7e39ddeff3e2df0eef77d3cd8602115cb42a6fad274aecf4d5e6922c43ea4fab37908729df00a3d3e69c5000b21b46b23ed18891fb899e6b9807feb
|
||||
|
||||
74
media-libs/imgui/imgui-1.91.6.ebuild
Normal file
74
media-libs/imgui/imgui-1.91.6.ebuild
Normal file
@@ -0,0 +1,74 @@
|
||||
# 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}]
|
||||
<media-libs/mesa-24.1.0_rc1[gles2,egl(+),${MULTILIB_USEDEP}]
|
||||
) )
|
||||
vulkan? ( media-libs/vulkan-loader[${MULTILIB_USEDEP}] )
|
||||
webgpu? ( dev-util/webgpu-headers )
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
vulkan? ( dev-util/vulkan-headers )
|
||||
"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Use custom meson.build and meson_options.txt to install instead of relay on packages
|
||||
cp "${FILESDIR}/${PN}-meson.build" "${S}/meson.build" || die
|
||||
cp "${FILESDIR}/${PN}-meson_options.txt" "${S}/meson_options.txt" || die
|
||||
sed -i "s/ version: 'PV',/ version: '${PV}',/g" "${S}/meson.build" || die
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local emesonargs=(
|
||||
-Ddx9=disabled
|
||||
-Ddx10=disabled
|
||||
-Ddx11=disabled
|
||||
-Ddx12=disabled
|
||||
-Dmetal=disabled
|
||||
$(meson_feature opengl)
|
||||
$(meson_feature vulkan)
|
||||
$(meson_feature glfw)
|
||||
$(meson_feature sdl2)
|
||||
$(meson_feature sdl2-renderer sdl2_renderer)
|
||||
-Dsdl3=disabled
|
||||
-Dsdl3_renderer=disabled
|
||||
$(meson_feature webgpu)
|
||||
-Dosx=disabled
|
||||
-Dwin=disabled
|
||||
$(meson_feature allegro5)
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
Reference in New Issue
Block a user