commit:     953d07d1cb1ce319320ec961c56a2e5f470e6441
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Fri Mar 22 02:31:27 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Mar 22 05:31:52 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=953d07d1

games-strategy/megaglest: drop the data files to a runtime-only dep

When using --buildpkgonly, it is unnecessary to merge the data files as
a prerequisite.

Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 games-strategy/megaglest/megaglest-3.13.0-r1.ebuild | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/games-strategy/megaglest/megaglest-3.13.0-r1.ebuild 
b/games-strategy/megaglest/megaglest-3.13.0-r1.ebuild
index abc3ccab6973..cc03ed6ad423 100644
--- a/games-strategy/megaglest/megaglest-3.13.0-r1.ebuild
+++ b/games-strategy/megaglest/megaglest-3.13.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2010-2023 Gentoo Authors
+# Copyright 2010-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 # Todo: google-breakpad?
@@ -33,9 +33,8 @@ IUSE="debug +editor fribidi cpu_flags_x86_sse 
cpu_flags_x86_sse2 cpu_flags_x86_s
 
 REQUIRED_USE="${LUA_REQUIRED_USE}"
 
-RDEPEND="
+COMMON_DEPEND="
        ${LUA_DEPS}
-       ~games-strategy/${PN}-data-${PV}
        dev-libs/libxml2
        dev-libs/xerces-c[icu]
        media-libs/fontconfig
@@ -61,7 +60,11 @@ RDEPEND="
        model-viewer? ( x11-libs/wxGTK:${WX_GTK_VER}[X] )
        videos? ( media-video/vlc )
 "
-DEPEND="${RDEPEND}"
+DEPEND="${COMMON_DEPEND}"
+RDEPEND="
+       ${COMMON_DEPEND}
+       ~games-strategy/${PN}-data-${PV}
+"
 
 BDEPEND="sys-apps/help2man
        virtual/pkgconfig

Reply via email to