commit:     a82c2165fbc03843f69d955e3ea8228d20ca4815
Author:     Thiago Donato Ferreira <flowlnlnln <AT> gmail <DOT> com>
AuthorDate: Mon Sep 19 23:02:42 2022 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Thu Sep 22 10:14:02 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a82c2165

games-action/polymc: add dev-qt/qtsvg as a RDEPEND

This is needed because most icons in the app are SVGs that don't show up
without this dependency.

Signed-off-by: Thiago Donato Ferreira <flowlnlnln <AT> gmail.com>
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 .../polymc/{polymc-1.4.2-r1.ebuild => polymc-1.4.2-r2.ebuild}        | 3 +++
 games-action/polymc/polymc-9999.ebuild                               | 5 ++++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/games-action/polymc/polymc-1.4.2-r1.ebuild 
b/games-action/polymc/polymc-1.4.2-r2.ebuild
similarity index 98%
rename from games-action/polymc/polymc-1.4.2-r1.ebuild
rename to games-action/polymc/polymc-1.4.2-r2.ebuild
index 0f99fa720844..cfd8180bf564 100644
--- a/games-action/polymc/polymc-1.4.2-r1.ebuild
+++ b/games-action/polymc/polymc-1.4.2-r2.ebuild
@@ -81,6 +81,9 @@ DEPEND="
 # And we need more than just the GL headers
 RDEPEND="
        ${COMMON_DEPENDS}
+
+       >=dev-qt/qtsvg-${MIN_QT}:${QT_SLOT}
+
        >=virtual/jre-1.8.0:*
        virtual/opengl
 "

diff --git a/games-action/polymc/polymc-9999.ebuild 
b/games-action/polymc/polymc-9999.ebuild
index c9733e891936..5f9c909ad33a 100644
--- a/games-action/polymc/polymc-9999.ebuild
+++ b/games-action/polymc/polymc-9999.ebuild
@@ -62,7 +62,6 @@ QT_DEPS="
 
        qt6? (
                
>=dev-qt/qtbase-${MIN_QT_6_VERSION}:6[concurrent,gui,network,widgets,xml(+)]
-               >=dev-qt/qtsvg-${MIN_QT_6_VERSION}:6
                >=dev-qt/qt5compat-${MIN_QT_6_VERSION}:6
        )
 "
@@ -92,6 +91,10 @@ DEPEND="
 # And we need more than just the GL headers
 RDEPEND="
        ${COMMON_DEPENDS}
+
+       !qt6? ( >=dev-qt/qtsvg-${MIN_QT_5_VERSION}:5 )
+        qt6? ( >=dev-qt/qtsvg-${MIN_QT_6_VERSION}:6 )
+
        >=virtual/jre-1.8.0:*
        virtual/opengl
 "

Reply via email to