diff options
author | Adel KARA SLIMANE <adel.ks@zegrapher.com> | 2022-05-03 23:57:57 +0200 |
---|---|---|
committer | Adel KARA SLIMANE <adel.ks@zegrapher.com> | 2022-05-03 23:59:23 +0200 |
commit | 91e7bc3da242cddbc57a644c87d01e48cca18270 (patch) | |
tree | f557cbfc25e56982022f1178d9152a2dec72198c /games-util | |
parent | mail-client/mailspring-bin: version bump to 1.10.3 (diff) | |
download | guru-91e7bc3da242cddbc57a644c87d01e48cca18270.tar.gz guru-91e7bc3da242cddbc57a644c87d01e48cca18270.tar.bz2 guru-91e7bc3da242cddbc57a644c87d01e48cca18270.zip |
media-libs/imgui: fix ebuild
Closes: https://bugs.gentoo.org/839315
Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com>
Diffstat (limited to 'games-util')
-rw-r--r-- | games-util/mangohud/mangohud-0.6.6.1-r1.ebuild (renamed from games-util/mangohud/mangohud-0.6.6.1.ebuild) | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/games-util/mangohud/mangohud-0.6.6.1.ebuild b/games-util/mangohud/mangohud-0.6.6.1-r1.ebuild index ae6a20b76..f6f2e4aaf 100644 --- a/games-util/mangohud/mangohud-0.6.6.1.ebuild +++ b/games-util/mangohud/mangohud-0.6.6.1-r1.ebuild @@ -5,7 +5,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{8..10} ) -inherit distutils-r1 meson-multilib +inherit python-r1 distutils-r1 meson-multilib MY_PV=$(ver_cut 1-3) [ -n "$(ver_cut 4)" ] && MY_PV_REV="-$(ver_cut 4)" @@ -13,7 +13,7 @@ MY_PV=$(ver_cut 1-3) IMGUI_VER="1.81" IMGUI_MESON_WRAP_VER="1" -DESCRIPTION="A Vulkan and OpenGL overlay for monitoring FPS, temperatures, CPU/GPU load and more." +DESCRIPTION="A Vulkan and OpenGL overlay for monitoring FPS, temperatures, CPU/GPU load and more" HOMEPAGE="https://github.com/flightlessmango/MangoHud" SRC_URI=" @@ -22,7 +22,7 @@ SRC_URI=" https://wrapdb.mesonbuild.com/v2/imgui_${IMGUI_VER}-${IMGUI_MESON_WRAP_VER}/get_patch -> imgui-${IMGUI_VER}-${IMGUI_MESON_WRAP_VER}-meson-wrap.zip " -KEYWORDS="-* ~amd64 ~x86" +KEYWORDS="~amd64 ~x86" LICENSE="MIT" SLOT="0" @@ -34,9 +34,12 @@ REQUIRED_USE=" BDEPEND=" app-arch/unzip +" + +DEPEND=" dev-python/mako[${PYTHON_USEDEP}] - dev-libs/spdlog - dev-util/glslang + dev-libs/spdlog[${MULTILIB_USEDEP}] + dev-util/glslang[${MULTILIB_USEDEP}] >=dev-util/vulkan-headers-1.2 media-libs/vulkan-loader[${MULTILIB_USEDEP}] media-libs/libglvnd[$MULTILIB_USEDEP] @@ -49,24 +52,21 @@ BDEPEND=" wayland? ( dev-libs/wayland[${MULTILIB_USEDEP}] ) " -RDEPEND="${BDEPEND}" +RDEPEND="${DEPEND}" S="${WORKDIR}/MangoHud-${PV}" +# PATCHES=( "${FILESDIR}/mangonhud-0.6.6-meson-build.patch" ) + src_unpack() { default - [ -n "${MY_PV_REV}" ] && ( mv ${WORKDIR}/MangoHud-${MY_PV}${MY_PV_REV} ${WORKDIR}/MangoHud-${PV} || die ) + [[ -n "${MY_PV_REV}" ]] && ( mv ${WORKDIR}/MangoHud-${MY_PV}${MY_PV_REV} ${WORKDIR}/MangoHud-${PV} || die ) unpack imgui-${IMGUI_VER}.tar.gz unpack imgui-${IMGUI_VER}-${IMGUI_MESON_WRAP_VER}-meson-wrap.zip mv ${WORKDIR}/imgui-${IMGUI_VER} ${S}/subprojects/imgui || die } -src_prepare() { - default - eapply "${FILESDIR}/mangonhud-0.6.6-meson-build.patch" -} - multilib_src_configure() { local emesonargs=( -Dappend_libdir_mangohud=false |