commit:     98c49b79ffe0df4b62d0d96fde03c7e9c439079f
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 29 22:54:43 2021 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Fri Jul 30 07:49:05 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98c49b79

games-emulation/dolphin: add IUSE=mgba

Fix-by: xarblu <xarblu <AT> protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/21829
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 games-emulation/dolphin/dolphin-9999.ebuild | 3 ++-
 games-emulation/dolphin/metadata.xml        | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)

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">

Reply via email to