summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-06-06 00:55:33 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2020-06-06 00:55:33 +0200
commit6f849e8dbdc837366fdcb39ebcf764be06bb9d52 (patch)
treee0e12f90b57aab377b84174b725bc1bd2c224dda /games-emulation
parentmedia-gfx/krita: python3_9 (diff)
downloadgentoo-6f849e8dbdc837366fdcb39ebcf764be06bb9d52.tar.gz
gentoo-6f849e8dbdc837366fdcb39ebcf764be06bb9d52.tar.bz2
gentoo-6f849e8dbdc837366fdcb39ebcf764be06bb9d52.zip
games-emulation/vbam: -DENABLE_OPENAL depends on IUSE=wxpython
Closes: https://bugs.gentoo.org/660538 Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'games-emulation')
-rw-r--r--games-emulation/vbam/vbam-2.1.4.ebuild4
-rw-r--r--games-emulation/vbam/vbam-9999.ebuild4
2 files changed, 6 insertions, 2 deletions
diff --git a/games-emulation/vbam/vbam-2.1.4.ebuild b/games-emulation/vbam/vbam-2.1.4.ebuild
index c469223e11d..4cddf8bc249 100644
--- a/games-emulation/vbam/vbam-2.1.4.ebuild
+++ b/games-emulation/vbam/vbam-2.1.4.ebuild
@@ -55,13 +55,15 @@ src_configure() {
-DENABLE_LINK=$(usex link)
-DENABLE_LIRC=$(usex lirc)
-DENABLE_NLS=$(usex nls)
- -DENABLE_OPENAL=$(usex openal)
-DENABLE_SDL=$(usex sdl)
-DENABLE_WX=$(usex wxwidgets)
-DENABLE_ASM_CORE=$(usex x86)
-DENABLE_ASM_SCALERS=$(usex x86)
-DCMAKE_SKIP_RPATH=ON
)
+ if use wxwidgets; then
+ mycmakeargs+=( -DENABLE_OPENAL=$(usex openal) )
+ fi
cmake_src_configure
}
diff --git a/games-emulation/vbam/vbam-9999.ebuild b/games-emulation/vbam/vbam-9999.ebuild
index dd9bfdfa90c..fa211e451c1 100644
--- a/games-emulation/vbam/vbam-9999.ebuild
+++ b/games-emulation/vbam/vbam-9999.ebuild
@@ -51,13 +51,15 @@ src_configure() {
-DENABLE_LINK=$(usex link)
-DENABLE_LIRC=$(usex lirc)
-DENABLE_NLS=$(usex nls)
- -DENABLE_OPENAL=$(usex openal)
-DENABLE_SDL=$(usex sdl)
-DENABLE_WX=$(usex wxwidgets)
-DENABLE_ASM_CORE=$(usex x86)
-DENABLE_ASM_SCALERS=$(usex x86)
-DCMAKE_SKIP_RPATH=ON
)
+ if use wxwidgets; then
+ mycmakeargs+=( -DENABLE_OPENAL=$(usex openal) )
+ fi
cmake_src_configure
}