commit:     1d43421aeb6380583dbe599cecf80afdf2e3dc77
Author:     Adel KARA SLIMANE <adel.ks <AT> zegrapher <DOT> com>
AuthorDate: Sun Aug 20 00:38:29 2023 +0000
Commit:     Adel KARA SLIMANE <adel <AT> karaslimane <DOT> com>
CommitDate: Sun Aug 20 00:42:44 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1d43421a

games-util/mangohud: drop 0.6.6.1-r3, 0.6.7.1, 0.6.8, 9999

No longer compile due to vulkan-headers being too new
and mangohud not updating for the changes and just
deciding to stick with an old version due to lack
of ressources

Closes: https://bugs.gentoo.org/904698
Closes: https://bugs.gentoo.org/912573

Signed-off-by: Adel KARA SLIMANE <adel.ks <AT> zegrapher.com>

 games-util/mangohud/Manifest                   |   5 --
 games-util/mangohud/mangohud-0.6.6.1-r3.ebuild | 101 ------------------------
 games-util/mangohud/mangohud-0.6.7.1.ebuild    | 103 -------------------------
 games-util/mangohud/mangohud-0.6.8.ebuild      | 103 -------------------------
 games-util/mangohud/mangohud-9999.ebuild       | 103 -------------------------
 5 files changed, 415 deletions(-)

diff --git a/games-util/mangohud/Manifest b/games-util/mangohud/Manifest
index 867a36648d..b02ce6d837 100644
--- a/games-util/mangohud/Manifest
+++ b/games-util/mangohud/Manifest
@@ -1,8 +1,3 @@
-DIST imgui-1.81-1-meson-wrap.zip 1850 BLAKE2B 
325f84fd57a896ec9aceb83a54752e8dba52499c3540cc389ab51b929f1dd65c4a599ab71f7f06fa082f31572d8cdaf2f9d7bfdd8cf6ca96a529318bd53f0a06
 SHA512 
c97fa4cb5ab31c040951e6da04bb1b9659f0105adf54becc35c60ad376c6d4f9e4dcd2a5a554dc5430cfc69527ef5d8570f39fbbf91a23d15f51740f06fb7c3c
-DIST imgui-1.81.tar.gz 1413443 BLAKE2B 
6f2e63777821b2767da92d9f40f4de7b4313c38817413e959e612c0ce67701645cf29f0748a3b86cfbd41e0b4b2c8099e9a0ca786c637ca1661fffd7b0de0629
 SHA512 
d7a2b66dea77359f78068a595607d7668e09ddd0b91910f67fc6463cb920b91b0cc1855984bd4d41e6a880b69ca7cd5e3adc064dcf461c0629b9f8c845a4fc3e
-DIST mangohud-0.6.6.1.tar.gz 14839055 BLAKE2B 
e0e27e62bf688b80611461ecab1bf4cf2c39f8359a9dc2cc1362555bfca55db30a72684da4e07e03970d8e5dee1d26f1d7a1fa30ff47aa86ec653dba273f24cf
 SHA512 
c097dede7e534641f12a9c7f0a2ce049611e17732c7d232251b38d5c50bbcee53b2b22e548ff27f514fa57a45c563d883a1a9382c2c0ee9ac6832a2775e8f221
-DIST mangohud-0.6.7.1.tar.gz 14834501 BLAKE2B 
6fdd91309531f32d663a0bec4f3edd26095781290ce40294f4ea87297855ce210efbc57443710aa180652bc555887519a12166c76dec19cdf3037bbdc384db15
 SHA512 
7d5250cc6a50215430cc79c7d11ad18219be374966383ab3f6cba9626fa045c973245d74bc32d75649adebf0fdc7acd086f5afdf5e1708e35da1f7a920a54f1d
-DIST mangohud-0.6.8.tar.gz 14844076 BLAKE2B 
0da41ecac5e608e755cd1f3bbb3cff698e55a59adb3a5e5c42d1b8b19b1c0666c572016c29db11992ff72abaa80b756bbd50687ce17409380e89a2554f13dee1
 SHA512 
c2344c21dedebce0c56e88db476177eef29bab9e418a3c5ba13d1059d81f3ee23718e2f9257e32f9f62dcaf6554c65cbf36dac691b2bb3c355def2c9de0a52cc
 DIST mangohud-0.6.9.1.tar.gz 14853039 BLAKE2B 
e34674dc6877249bdfa8929fec1b337876f6d69c42e5c35c37813adca67232084178247d8bef1bf9c0471f9966474df27b25564644dea55e90b3b3c6b9fbf4d1
 SHA512 
540fb4d1c5494e1305553600f76c57ba75c465df4b76ddbe1f15c418fa9a7e26c66be7ce64a13bfd7c5073bcb985cd28b2876252cdff7c43793d22a40eb78a87
 DIST vulkan-headers-1.2.158-2-meson-wrap.zip 1107 BLAKE2B 
35e4bb1f7410a009243fe7d4a4ba6cede7f01e0b56ad6ff72ad30c00c2452bd6d2a4fb44ab92c296147e2506a92acc6de1f817cb5433b96d66652cbcd8885595
 SHA512 
30cbbb90580399839e1bba8881b9b8cc33fdeead93f37d5f3398c9d53fb3ab050ca2562fd68f376fa4ee0825ee3787f560d70d55a170c780dd575ff2eeb66efd
 DIST vulkan-headers-1.2.158.tar.gz 831647 BLAKE2B 
792d7e895e27c4a8fbc93fc4d9c9e696d2ceb946e745709c050c0693b77afbeb6411a4267fc59508ddeb58167d469349fedc1c5d4b4a7415b590c97248b244bc
 SHA512 
f7aa9222f9deb1316d22deacc2c6cd85c409f0f2b2d37ecd55e0fc8466d381bbe3bed287881b993a01c5f33736e1607014f820980b7a54a3721fab6980960c91

diff --git a/games-util/mangohud/mangohud-0.6.6.1-r3.ebuild 
b/games-util/mangohud/mangohud-0.6.6.1-r3.ebuild
deleted file mode 100644
index 1882b9076e..0000000000
--- a/games-util/mangohud/mangohud-0.6.6.1-r3.ebuild
+++ /dev/null
@@ -1,101 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..11} )
-
-inherit python-any-r1 meson
-
-MY_PV=$(ver_cut 1-3)
-[[ -n "$(ver_cut 4)" ]] && MY_PV_REV="-$(ver_cut 4)"
-
-IMGUI_VER="1.81"
-IMGUI_MESON_WRAP_VER="1"
-
-DESCRIPTION="Vulkan and OpenGL overlay for monitoring FPS, sensors, system 
load and more"
-HOMEPAGE="https://github.com/flightlessmango/MangoHud";
-
-SRC_URI="
-       
https://github.com/flightlessmango/MangoHud/archive/v${MY_PV}${MY_PV_REV}.tar.gz
 -> ${P}.tar.gz
-       https://github.com/ocornut/imgui/archive/v${IMGUI_VER}.tar.gz -> 
imgui-${IMGUI_VER}.tar.gz
-       
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"
-
-LICENSE="MIT"
-SLOT="0"
-IUSE="+dbus debug +X xnvctrl wayland video_cards_nvidia"
-
-REQUIRED_USE="
-       || ( X wayland )
-       xnvctrl? ( video_cards_nvidia )"
-
-BDEPEND="
-       app-arch/unzip
-       $(python_gen_any_dep 'dev-python/mako[${PYTHON_USEDEP}]')
-"
-
-python_check_deps() {
-       python_has_version "dev-python/mako[${PYTHON_USEDEP}]"
-}
-
-DEPEND="
-       dev-libs/spdlog
-       dev-util/glslang
-       >=dev-util/vulkan-headers-1.2
-       media-libs/vulkan-loader
-       media-libs/libglvnd
-       x11-libs/libdrm
-       dbus? ( sys-apps/dbus )
-       X? ( x11-libs/libX11 )
-       video_cards_nvidia? (
-               x11-drivers/nvidia-drivers
-               xnvctrl? ( x11-drivers/nvidia-drivers[static-libs] )
-       )
-       wayland? ( dev-libs/wayland )
-"
-
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/MangoHud-${PV}"
-
-# PATCHES=(
-#      "${FILESDIR}/mangohud-0.6.6-meson-fix-imgui-dep.patch"
-# )
-
-src_unpack() {
-       default
-       [[ -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_configure() {
-       local emesonargs=(
-               -Dappend_libdir_mangohud=false
-               -Duse_system_spdlog=enabled
-               -Duse_system_vulkan=enabled
-               -Dinclude_doc=false
-               $(meson_feature video_cards_nvidia with_nvml)
-               $(meson_feature xnvctrl with_xnvctrl)
-               $(meson_feature X with_x11)
-               $(meson_feature wayland with_wayland)
-               $(meson_feature dbus with_dbus)
-       )
-       meson_src_configure
-}
-
-pkg_postinst() {
-       if ! use xnvctrl; then
-               einfo ""
-               einfo "If mangohud can't get GPU load, or other GPU 
information,"
-               einfo "and you have an older Nvidia device."
-               einfo ""
-               einfo "Try enabling the 'xnvctrl' useflag."
-               einfo ""
-       fi
-}

diff --git a/games-util/mangohud/mangohud-0.6.7.1.ebuild 
b/games-util/mangohud/mangohud-0.6.7.1.ebuild
deleted file mode 100644
index 5ff3040e0a..0000000000
--- a/games-util/mangohud/mangohud-0.6.7.1.ebuild
+++ /dev/null
@@ -1,103 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..11} )
-
-inherit python-any-r1 meson
-
-MY_PV=$(ver_cut 1-3)
-[[ -n "$(ver_cut 4)" ]] && MY_PV_REV="-$(ver_cut 4)"
-
-IMGUI_VER="1.81"
-IMGUI_MESON_WRAP_VER="1"
-
-DESCRIPTION="Vulkan and OpenGL overlay for monitoring FPS, sensors, system 
load and more"
-HOMEPAGE="https://github.com/flightlessmango/MangoHud";
-
-SRC_URI="
-       
https://github.com/flightlessmango/MangoHud/archive/v${MY_PV}${MY_PV_REV}.tar.gz
 -> ${P}.tar.gz
-       https://github.com/ocornut/imgui/archive/v${IMGUI_VER}.tar.gz -> 
imgui-${IMGUI_VER}.tar.gz
-       
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"
-
-LICENSE="MIT"
-SLOT="0"
-IUSE="+dbus debug +X xnvctrl wayland video_cards_nvidia"
-
-REQUIRED_USE="
-       || ( X wayland )
-       xnvctrl? ( video_cards_nvidia )"
-
-BDEPEND="
-       app-arch/unzip
-       $(python_gen_any_dep 'dev-python/mako[${PYTHON_USEDEP}]')
-"
-
-python_check_deps() {
-       python_has_version "dev-python/mako[${PYTHON_USEDEP}]"
-}
-
-DEPEND="
-       dev-libs/spdlog
-       dev-util/glslang
-       >=dev-util/vulkan-headers-1.2
-       media-libs/vulkan-loader
-       media-libs/libglvnd
-       x11-libs/libdrm
-       dbus? ( sys-apps/dbus )
-       X? ( x11-libs/libX11 )
-       video_cards_nvidia? (
-               x11-drivers/nvidia-drivers
-               xnvctrl? ( x11-drivers/nvidia-drivers[static-libs] )
-       )
-       wayland? ( dev-libs/wayland )
-"
-
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/MangoHud-${PV}"
-
-# We do not enable this patch for now until imgui ebuild supports multilib
-
-# PATCHES=(
-#      "${FILESDIR}/mangohud-0.6.6-meson-fix-imgui-dep.patch"
-# )
-
-src_unpack() {
-       default
-       [[ -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_configure() {
-       local emesonargs=(
-               -Dappend_libdir_mangohud=false
-               -Duse_system_spdlog=enabled
-               -Duse_system_vulkan=enabled
-               -Dinclude_doc=false
-               $(meson_feature video_cards_nvidia with_nvml)
-               $(meson_feature xnvctrl with_xnvctrl)
-               $(meson_feature X with_x11)
-               $(meson_feature wayland with_wayland)
-               $(meson_feature dbus with_dbus)
-       )
-       meson_src_configure
-}
-
-pkg_postinst() {
-       if ! use xnvctrl; then
-               einfo ""
-               einfo "If mangohud can't get GPU load, or other GPU 
information,"
-               einfo "and you have an older Nvidia device."
-               einfo ""
-               einfo "Try enabling the 'xnvctrl' useflag."
-               einfo ""
-       fi
-}

diff --git a/games-util/mangohud/mangohud-0.6.8.ebuild 
b/games-util/mangohud/mangohud-0.6.8.ebuild
deleted file mode 100644
index ea02869ef8..0000000000
--- a/games-util/mangohud/mangohud-0.6.8.ebuild
+++ /dev/null
@@ -1,103 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..11} )
-
-inherit python-any-r1 meson
-
-MY_PV=$(ver_cut 1-3)
-[[ -n "$(ver_cut 4)" ]] && MY_PV_REV="-$(ver_cut 4)"
-
-DESCRIPTION="Vulkan and OpenGL overlay for monitoring FPS, sensors, system 
load and more"
-HOMEPAGE="https://github.com/flightlessmango/MangoHud";
-
-if [[ ${PV} == 9999 ]]; then
-       inherit git-r3
-       EGIT_REPO_URI="https://github.com/flightlessmango/MangoHud.git";
-else
-       
SRC_URI="https://github.com/flightlessmango/MangoHud/archive/v${MY_PV}${MY_PV_REV}.tar.gz
 -> ${P}.tar.gz"
-       KEYWORDS="~amd64"
-fi
-
-LICENSE="MIT"
-SLOT="0"
-IUSE="+dbus debug +X xnvctrl wayland video_cards_nvidia"
-
-REQUIRED_USE="
-       || ( X wayland )
-       xnvctrl? ( video_cards_nvidia )"
-
-BDEPEND="
-       app-arch/unzip
-       $(python_gen_any_dep 'dev-python/mako[${PYTHON_USEDEP}]')
-"
-
-python_check_deps() {
-       python_has_version "dev-python/mako[${PYTHON_USEDEP}]"
-}
-
-DEPEND="
-       ~media-libs/imgui-1.81[opengl,vulkan]
-       dev-libs/spdlog
-       dev-util/glslang
-       >=dev-util/vulkan-headers-1.2
-       media-libs/vulkan-loader
-       media-libs/libglvnd
-       x11-libs/libdrm
-       dbus? ( sys-apps/dbus )
-       X? ( x11-libs/libX11 )
-       video_cards_nvidia? (
-               x11-drivers/nvidia-drivers
-               xnvctrl? ( x11-drivers/nvidia-drivers[static-libs] )
-       )
-       wayland? ( dev-libs/wayland )
-"
-
-RDEPEND="${DEPEND}"
-
-[[ "$PV" != "9999" ]] && S="${WORKDIR}/MangoHud-${PV}"
-
-PATCHES=(
-       "${FILESDIR}/mangohud-0.6.6-meson-fix-imgui-dep.patch"
-)
-
-src_unpack() {
-       default
-       [[ $PV == 9999 ]] && git-r3_src_unpack
-       [[ $PV != 9999 && -n "${MY_PV_REV}" ]] && ( mv 
"${WORKDIR}/MangoHud-${MY_PV}${MY_PV_REV}" "${WORKDIR}/MangoHud-${PV}" || die )
-}
-
-src_prepare() {
-       default
-       # replace all occurences of "#include <imgui.h>" to "#include 
<imgui/imgui.h>"
-       find . -type f -exec sed -i 's/#include <imgui.h>/#include 
<imgui\/imgui.h>/g' {} \;
-       find . -type f -exec sed -i 's/#include "imgui.h"/#include 
<imgui\/imgui.h>/g' {} \;
-}
-
-src_configure() {
-       local emesonargs=(
-               -Dappend_libdir_mangohud=false
-               -Duse_system_spdlog=enabled
-               -Duse_system_vulkan=enabled
-               -Dinclude_doc=false
-               $(meson_feature video_cards_nvidia with_nvml)
-               $(meson_feature xnvctrl with_xnvctrl)
-               $(meson_feature X with_x11)
-               $(meson_feature wayland with_wayland)
-               $(meson_feature dbus with_dbus)
-       )
-       meson_src_configure
-}
-
-pkg_postinst() {
-       if ! use xnvctrl; then
-               einfo ""
-               einfo "If mangohud can't get GPU load, or other GPU 
information,"
-               einfo "and you have an older Nvidia device."
-               einfo ""
-               einfo "Try enabling the 'xnvctrl' useflag."
-               einfo ""
-       fi
-}

diff --git a/games-util/mangohud/mangohud-9999.ebuild 
b/games-util/mangohud/mangohud-9999.ebuild
deleted file mode 100644
index ea02869ef8..0000000000
--- a/games-util/mangohud/mangohud-9999.ebuild
+++ /dev/null
@@ -1,103 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..11} )
-
-inherit python-any-r1 meson
-
-MY_PV=$(ver_cut 1-3)
-[[ -n "$(ver_cut 4)" ]] && MY_PV_REV="-$(ver_cut 4)"
-
-DESCRIPTION="Vulkan and OpenGL overlay for monitoring FPS, sensors, system 
load and more"
-HOMEPAGE="https://github.com/flightlessmango/MangoHud";
-
-if [[ ${PV} == 9999 ]]; then
-       inherit git-r3
-       EGIT_REPO_URI="https://github.com/flightlessmango/MangoHud.git";
-else
-       
SRC_URI="https://github.com/flightlessmango/MangoHud/archive/v${MY_PV}${MY_PV_REV}.tar.gz
 -> ${P}.tar.gz"
-       KEYWORDS="~amd64"
-fi
-
-LICENSE="MIT"
-SLOT="0"
-IUSE="+dbus debug +X xnvctrl wayland video_cards_nvidia"
-
-REQUIRED_USE="
-       || ( X wayland )
-       xnvctrl? ( video_cards_nvidia )"
-
-BDEPEND="
-       app-arch/unzip
-       $(python_gen_any_dep 'dev-python/mako[${PYTHON_USEDEP}]')
-"
-
-python_check_deps() {
-       python_has_version "dev-python/mako[${PYTHON_USEDEP}]"
-}
-
-DEPEND="
-       ~media-libs/imgui-1.81[opengl,vulkan]
-       dev-libs/spdlog
-       dev-util/glslang
-       >=dev-util/vulkan-headers-1.2
-       media-libs/vulkan-loader
-       media-libs/libglvnd
-       x11-libs/libdrm
-       dbus? ( sys-apps/dbus )
-       X? ( x11-libs/libX11 )
-       video_cards_nvidia? (
-               x11-drivers/nvidia-drivers
-               xnvctrl? ( x11-drivers/nvidia-drivers[static-libs] )
-       )
-       wayland? ( dev-libs/wayland )
-"
-
-RDEPEND="${DEPEND}"
-
-[[ "$PV" != "9999" ]] && S="${WORKDIR}/MangoHud-${PV}"
-
-PATCHES=(
-       "${FILESDIR}/mangohud-0.6.6-meson-fix-imgui-dep.patch"
-)
-
-src_unpack() {
-       default
-       [[ $PV == 9999 ]] && git-r3_src_unpack
-       [[ $PV != 9999 && -n "${MY_PV_REV}" ]] && ( mv 
"${WORKDIR}/MangoHud-${MY_PV}${MY_PV_REV}" "${WORKDIR}/MangoHud-${PV}" || die )
-}
-
-src_prepare() {
-       default
-       # replace all occurences of "#include <imgui.h>" to "#include 
<imgui/imgui.h>"
-       find . -type f -exec sed -i 's/#include <imgui.h>/#include 
<imgui\/imgui.h>/g' {} \;
-       find . -type f -exec sed -i 's/#include "imgui.h"/#include 
<imgui\/imgui.h>/g' {} \;
-}
-
-src_configure() {
-       local emesonargs=(
-               -Dappend_libdir_mangohud=false
-               -Duse_system_spdlog=enabled
-               -Duse_system_vulkan=enabled
-               -Dinclude_doc=false
-               $(meson_feature video_cards_nvidia with_nvml)
-               $(meson_feature xnvctrl with_xnvctrl)
-               $(meson_feature X with_x11)
-               $(meson_feature wayland with_wayland)
-               $(meson_feature dbus with_dbus)
-       )
-       meson_src_configure
-}
-
-pkg_postinst() {
-       if ! use xnvctrl; then
-               einfo ""
-               einfo "If mangohud can't get GPU load, or other GPU 
information,"
-               einfo "and you have an older Nvidia device."
-               einfo ""
-               einfo "Try enabling the 'xnvctrl' useflag."
-               einfo ""
-       fi
-}

Reply via email to