commit:     6cb337f836344fda4fcd33ae4c09aad1007603e6
Author:     Adel KARA SLIMANE <adel.ks <AT> zegrapher <DOT> com>
AuthorDate: Wed Dec 11 18:27:32 2024 +0000
Commit:     Adel KARA SLIMANE <adel <AT> karaslimane <DOT> com>
CommitDate: Wed Dec 11 18:27:50 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6cb337f8

games-util/mangohud: improve deps

Closes https://bugs.gentoo.org/946272

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

 games-util/mangohud/mangohud-0.7.2.ebuild | 11 +++++++----
 games-util/mangohud/mangohud-9999.ebuild  | 11 +++++++----
 2 files changed, 14 insertions(+), 8 deletions(-)

diff --git a/games-util/mangohud/mangohud-0.7.2.ebuild 
b/games-util/mangohud/mangohud-0.7.2.ebuild
index c9eb3ff56..8cd534499 100644
--- a/games-util/mangohud/mangohud-0.7.2.ebuild
+++ b/games-util/mangohud/mangohud-0.7.2.ebuild
@@ -48,20 +48,18 @@ REQUIRED_USE="
 
 BDEPEND="
        app-arch/unzip
-       >=dev-util/vulkan-headers-1.2.158
+       dev-util/glslang
        test? ( dev-util/cmocka )
        $(python_gen_cond_dep 'dev-python/mako[${PYTHON_USEDEP}]')
 "
 
-RDEPEND="
+DEPEND="
        ${PYTHON_DEPS}
        =media-libs/imgui-1.89.9*[opengl,vulkan,${MULTILIB_USEDEP}]
        =media-libs/implot-0.16*[${MULTILIB_USEDEP}]
        =dev-libs/spdlog-1.13.0*[${MULTILIB_USEDEP}]
        dev-libs/libfmt[${MULTILIB_USEDEP}]
        dev-cpp/nlohmann_json
-       dev-util/glslang
-       media-fonts/lato
        media-libs/vulkan-loader[${MULTILIB_USEDEP}]
        media-libs/libglvnd[${MULTILIB_USEDEP}]
        x11-libs/libdrm[${MULTILIB_USEDEP}]
@@ -77,8 +75,13 @@ RDEPEND="
                media-libs/glfw[X(+)]
                media-libs/glew
        )
+"
+
+RDEPEND="
+       ${DEPEND}
        mangoplot? ( $(python_gen_cond_dep '
                || (
+                       media-fonts/lato
                        dev-python/matplotlib[gtk3,${PYTHON_USEDEP}]
                        dev-python/matplotlib[qt5(-),${PYTHON_USEDEP}]
                        dev-python/matplotlib[qt6(-),${PYTHON_USEDEP}]

diff --git a/games-util/mangohud/mangohud-9999.ebuild 
b/games-util/mangohud/mangohud-9999.ebuild
index 269a142f5..22f80c8f6 100644
--- a/games-util/mangohud/mangohud-9999.ebuild
+++ b/games-util/mangohud/mangohud-9999.ebuild
@@ -48,20 +48,18 @@ REQUIRED_USE="
 
 BDEPEND="
        app-arch/unzip
-       >=dev-util/vulkan-headers-1.2.158
+       dev-util/glslang
        test? ( dev-util/cmocka )
        $(python_gen_cond_dep 'dev-python/mako[${PYTHON_USEDEP}]')
 "
 
-RDEPEND="
+DEPEND="
        ${PYTHON_DEPS}
        =media-libs/imgui-1.89.9*[opengl,vulkan,${MULTILIB_USEDEP}]
        =media-libs/implot-0.16*[${MULTILIB_USEDEP}]
        =dev-libs/spdlog-1.13.0*[${MULTILIB_USEDEP}]
        dev-libs/libfmt[${MULTILIB_USEDEP}]
        dev-cpp/nlohmann_json
-       dev-util/glslang
-       media-fonts/lato
        media-libs/vulkan-loader[${MULTILIB_USEDEP}]
        media-libs/libglvnd[${MULTILIB_USEDEP}]
        x11-libs/libdrm[${MULTILIB_USEDEP}]
@@ -77,8 +75,13 @@ RDEPEND="
                media-libs/glfw[X(+)]
                media-libs/glew
        )
+"
+
+RDEPEND="
+       ${DEPEND}
        mangoplot? ( $(python_gen_cond_dep '
                || (
+                       media-fonts/lato
                        dev-python/matplotlib[gtk3,${PYTHON_USEDEP}]
                        dev-python/matplotlib[qt5(-),${PYTHON_USEDEP}]
                        dev-python/matplotlib[qt6(-),${PYTHON_USEDEP}]

Reply via email to