summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2021-04-06 00:26:10 +0200
committerDavid Seifert <soap@gentoo.org>2021-04-06 00:26:10 +0200
commitc3899a8d02b9551460a5c95253e38e368da4fb53 (patch)
tree1c96d319188e5440ffa9850ecf8787427e8bd714 /app-emulation/pcem/pcem-17.ebuild
parentapp-crypt/veracrypt: Set WX_GTK_VER before inherit (diff)
downloadgentoo-c3899a8d02b9551460a5c95253e38e368da4fb53.tar.gz
gentoo-c3899a8d02b9551460a5c95253e38e368da4fb53.tar.bz2
gentoo-c3899a8d02b9551460a5c95253e38e368da4fb53.zip
app-emulation/pcem: 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 'app-emulation/pcem/pcem-17.ebuild')
-rw-r--r--app-emulation/pcem/pcem-17.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/app-emulation/pcem/pcem-17.ebuild b/app-emulation/pcem/pcem-17.ebuild
index 71bb036ec266..02406aa065d4 100644
--- a/app-emulation/pcem/pcem-17.ebuild
+++ b/app-emulation/pcem/pcem-17.ebuild
@@ -3,9 +3,8 @@
EAPI=7
-inherit autotools desktop flag-o-matic wxwidgets
-
WX_GTK_VER="3.0-gtk3"
+inherit autotools desktop flag-o-matic wxwidgets
DESCRIPTION="A PC emulator that specializes in running old operating systems and software"
HOMEPAGE="
@@ -41,6 +40,8 @@ src_prepare() {
}
src_configure() {
+ setup-wxwidgets
+
# Does not compile with -fno-common.
# See https://pcem-emulator.co.uk/phpBB3/viewtopic.php?f=3&t=3443
append-cflags -fcommon
@@ -49,6 +50,7 @@ src_configure() {
--enable-release-build
$(use_enable alsa)
$(use_enable networking)
+ --with-wx-config="${WX_CONFIG}"
)
econf "${myeconfargs[@]}"