From 0b4fcbfa8c29ded113db77b31b2588166cec328e Mon Sep 17 00:00:00 2001 From: 123485k <1758961307@qq.com> Date: Fri, 27 Dec 2024 00:48:27 +0800 Subject: [PATCH] games-util/mangohud: fix deps problem Signed-off-by: 123485k <1758961307@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 fefcf12e1a..f2c48d53b8 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 d270b32323..7447e22a51 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