summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2021-07-30 00:54:43 +0200
committerSergei Trofimovich <slyfox@gentoo.org>2021-07-30 08:49:05 +0100
commit98c49b79ffe0df4b62d0d96fde03c7e9c439079f (patch)
treea7408b32fcad5647bbd68c9f1dd7fcb5489c1573
parentnet-mail/mailutils: disable escapes in non-interactive mode (diff)
downloadgentoo-98c49b79ffe0df4b62d0d96fde03c7e9c439079f.tar.gz
gentoo-98c49b79ffe0df4b62d0d96fde03c7e9c439079f.tar.bz2
gentoo-98c49b79ffe0df4b62d0d96fde03c7e9c439079f.zip
games-emulation/dolphin: add IUSE=mgba
Fix-by: xarblu <xarblu@protonmail.com> Closes: https://github.com/gentoo/gentoo/pull/21829 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
-rw-r--r--games-emulation/dolphin/dolphin-9999.ebuild3
-rw-r--r--games-emulation/dolphin/metadata.xml1
2 files changed, 3 insertions, 1 deletions
diff --git a/games-emulation/dolphin/dolphin-9999.ebuild b/games-emulation/dolphin/dolphin-9999.ebuild
index fd99d406616..891daca38b3 100644
--- a/games-emulation/dolphin/dolphin-9999.ebuild
+++ b/games-emulation/dolphin/dolphin-9999.ebuild
@@ -25,7 +25,7 @@ HOMEPAGE="https://www.dolphin-emu.org/"
LICENSE="GPL-2"
SLOT="0"
-IUSE="alsa bluetooth discord-presence doc +evdev ffmpeg log lto profile pulseaudio +qt5 systemd upnp vulkan"
+IUSE="alsa bluetooth discord-presence doc +evdev ffmpeg log lto mgba profile pulseaudio +qt5 systemd upnp vulkan"
RDEPEND="
dev-libs/hidapi:0=
@@ -153,6 +153,7 @@ src_configure() {
-DENCODE_FRAMEDUMPS=$(usex ffmpeg)
-DENABLE_LLVM=OFF
-DENABLE_LTO=$(usex lto)
+ -DUSE_MGBA=$(usex mgba)
-DENABLE_PULSEAUDIO=$(usex pulseaudio)
-DENABLE_QT=$(usex qt5)
-DENABLE_SDL=OFF # not supported: #666558
diff --git a/games-emulation/dolphin/metadata.xml b/games-emulation/dolphin/metadata.xml
index 965b67caf1e..73d4bba4f2b 100644
--- a/games-emulation/dolphin/metadata.xml
+++ b/games-emulation/dolphin/metadata.xml
@@ -9,6 +9,7 @@
<flag name="evdev">Enable evdev input support</flag>
<flag name="log">Increase logging output</flag>
<flag name="lto">Add support for link-time optimizations.</flag>
+ <flag name="mgba">Enables GBA controllers emulation using libmgba.</flag>
<flag name="vulkan">Enable support for Vulkan-based video backend.</flag>
</use>
<longdescription lang="en">