commit:     0b4fcbfa8c29ded113db77b31b2588166cec328e
Author:     123485k <1758961307 <AT> qq <DOT> com>
AuthorDate: Thu Dec 26 16:48:27 2024 +0000
Commit:     V Uethya <1758961307 <AT> qq <DOT> com>
CommitDate: Thu Dec 26 16:48:27 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0b4fcbfa

games-util/mangohud: fix deps problem

Signed-off-by: 123485k <1758961307 <AT> qq.com>

 games-util/mangohud/mangohud-0.7.2-r1.ebuild | 9 +++++----
 games-util/mangohud/mangohud-9999.ebuild     | 7 ++++---
 2 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/games-util/mangohud/mangohud-0.7.2-r1.ebuild 
b/games-util/mangohud/mangohud-0.7.2-r1.ebuild
index fefcf12e1..f2c48d53b 100644
--- a/games-util/mangohud/mangohud-0.7.2-r1.ebuild
+++ b/games-util/mangohud/mangohud-0.7.2-r1.ebuild
@@ -79,9 +79,10 @@ DEPEND="
 
 RDEPEND="
        ${DEPEND}
-       mangoplot? ( $(python_gen_cond_dep '
+       mangoplot? (
+               media-fonts/lato
+               $(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}]
@@ -91,8 +92,8 @@ RDEPEND="
 "
 
 src_unpack() {
-    # Since the package dosent compile with lto (for LLVM at least) just 
filter it
-    filter-lto
+       # Since the package dosent compile with lto (for LLVM at least) just 
filter it
+       filter-lto
 
        default
 

diff --git a/games-util/mangohud/mangohud-9999.ebuild 
b/games-util/mangohud/mangohud-9999.ebuild
index d270b3232..7447e22a5 100644
--- a/games-util/mangohud/mangohud-9999.ebuild
+++ b/games-util/mangohud/mangohud-9999.ebuild
@@ -79,9 +79,10 @@ DEPEND="
 
 RDEPEND="
        ${DEPEND}
-       mangoplot? ( $(python_gen_cond_dep '
+       mangoplot? (
+               media-fonts/lato
+               $(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}]
@@ -91,7 +92,7 @@ RDEPEND="
 "
 
 src_unpack() {
-    # Since the package dosent compile with lto (for LLVM at least) just 
filter it
+       # Since the package dosent compile with lto (for LLVM at least) just 
filter it
        filter-lto
 
        default

Reply via email to