games-engines/odamex: Call setup-wxwidgets
authorWilliam Breathitt Gray <vilhelm.gray@gmail.com>
Sat, 7 Sep 2019 16:00:25 +0000 (01:00 +0900)
committerJames Le Cuirot <chewi@gentoo.org>
Sat, 7 Sep 2019 16:09:28 +0000 (17:09 +0100)
The wxwidgets eclass requires setup-wxwidgets to be called to set up the
environment for wxGTK. In addition, WX_GTK_VER is updated to select the
3.0-gtk3 slot.

Package-Manager: Portage-2.3.73, Repoman-2.3.17
Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/12882
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
games-engines/odamex/odamex-0.8.1.ebuild

index 687e1349aab3ee50fe4b04ee1c72c48368b28dfa..8cfa9cbee75a05a7279b31e73459718b845126d7 100644 (file)
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-WX_GTK_VER="3.0"
+WX_GTK_VER="3.0-gtk3"
 inherit cmake-utils desktop wxwidgets xdg
 
 DESCRIPTION="Online multiplayer free software engine for DOOM"
@@ -39,6 +39,9 @@ PATCHES=(
 
 src_prepare() {
        rm -r libraries/libminiupnpc odamex.wad || die
+
+       setup-wxwidgets
+
        cmake-utils_src_prepare
 }