diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2020-06-06 00:55:33 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2020-06-06 00:55:33 +0200 |
commit | 6f849e8dbdc837366fdcb39ebcf764be06bb9d52 (patch) | |
tree | e0e12f90b57aab377b84174b725bc1bd2c224dda /games-emulation/vbam | |
parent | media-gfx/krita: python3_9 (diff) | |
download | gentoo-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/vbam')
-rw-r--r-- | games-emulation/vbam/vbam-2.1.4.ebuild | 4 | ||||
-rw-r--r-- | games-emulation/vbam/vbam-9999.ebuild | 4 |
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 c469223e11d5..4cddf8bc249d 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 dd9bfdfa90cf..fa211e451c18 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 } |