summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2021-04-06 00:26:19 +0200
committerDavid Seifert <soap@gentoo.org>2021-04-06 00:26:19 +0200
commit9a0982aeb18c625ba594534e73c2762c67e8db83 (patch)
tree3aad8329f225421f382c980d3c07cf63bb276f92 /games-strategy
parentgames-emulation/pcsx2: Set WX_GTK_VER before inherit (diff)
downloadgentoo-9a0982aeb18c625ba594534e73c2762c67e8db83.tar.gz
gentoo-9a0982aeb18c625ba594534e73c2762c67e8db83.tar.bz2
gentoo-9a0982aeb18c625ba594534e73c2762c67e8db83.zip
games-strategy/megaglest: Set WX_GTK_VER before inherit
Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/megaglest/megaglest-3.11.1-r100.ebuild6
-rw-r--r--games-strategy/megaglest/megaglest-3.13.0.ebuild6
2 files changed, 6 insertions, 6 deletions
diff --git a/games-strategy/megaglest/megaglest-3.11.1-r100.ebuild b/games-strategy/megaglest/megaglest-3.11.1-r100.ebuild
index d19c6ffd579d..353d0ce3f9b6 100644
--- a/games-strategy/megaglest/megaglest-3.11.1-r100.ebuild
+++ b/games-strategy/megaglest/megaglest-3.11.1-r100.ebuild
@@ -14,6 +14,7 @@ LUA_COMPAT=( lua5-{1..2} )
# Only needed by certain features
VIRTUALX_REQUIRED="manual"
+WX_GTK_VER="3.0"
inherit cmake desktop flag-o-matic lua-single virtualx wxwidgets xdg-utils
DESCRIPTION="Cross-platform 3D realtime strategy game"
@@ -43,9 +44,9 @@ RDEPEND="${LUA_DEPS}
virtual/glu
x11-libs/libX11
x11-libs/libXext
- editor? ( x11-libs/wxGTK:3.0[X,opengl] )
+ editor? ( x11-libs/wxGTK:${WX_GTK_VER}[X,opengl] )
fribidi? ( dev-libs/fribidi )
- model-viewer? ( x11-libs/wxGTK:3.0[X] )
+ model-viewer? ( x11-libs/wxGTK:${WX_GTK_VER}[X] )
dev-libs/xerces-c[icu]
media-libs/ftgl
media-libs/glew:=
@@ -73,7 +74,6 @@ src_prepare() {
cmake_src_prepare
if use editor || use model-viewer ; then
- WX_GTK_VER="3.0"
setup-wxwidgets
fi
}
diff --git a/games-strategy/megaglest/megaglest-3.13.0.ebuild b/games-strategy/megaglest/megaglest-3.13.0.ebuild
index 9b8867d2938c..212ab76aac3a 100644
--- a/games-strategy/megaglest/megaglest-3.13.0.ebuild
+++ b/games-strategy/megaglest/megaglest-3.13.0.ebuild
@@ -13,6 +13,7 @@ LUA_COMPAT=( lua5-{1..2} )
# Only needed by certain features
VIRTUALX_REQUIRED="manual"
+WX_GTK_VER="3.0-gtk3"
inherit cmake desktop flag-o-matic lua-single virtualx wxwidgets xdg-utils
DESCRIPTION="Cross-platform 3D realtime strategy game"
@@ -49,9 +50,9 @@ RDEPEND="
virtual/jpeg:0=
x11-libs/libX11
x11-libs/libXext
- editor? ( x11-libs/wxGTK:3.0-gtk3[X,opengl] )
+ editor? ( x11-libs/wxGTK:${WX_GTK_VER}[X,opengl] )
fribidi? ( dev-libs/fribidi )
- model-viewer? ( x11-libs/wxGTK:3.0-gtk3[X] )
+ model-viewer? ( x11-libs/wxGTK:${WX_GTK_VER}[X] )
videos? ( media-video/vlc )
"
DEPEND="${RDEPEND}"
@@ -69,7 +70,6 @@ src_prepare() {
cmake_src_prepare
if use editor || use model-viewer ; then
- WX_GTK_VER="3.0"
setup-wxwidgets
fi
}