diff --git a/games-emulation/mgba/metadata.xml b/games-emulation/mgba/metadata.xml index ef2909f744e87..d65ffa04f67d1 100644 --- a/games-emulation/mgba/metadata.xml +++ b/games-emulation/mgba/metadata.xml @@ -6,6 +6,7 @@ Lars Wendler + Enable Discord RPC support Enable the use of elf utils via dev-libs/elfutils diff --git a/games-emulation/mgba/mgba-0.8.0.ebuild b/games-emulation/mgba/mgba-0.8.0.ebuild index cc49129ae05f3..15a46f8a7006b 100644 --- a/games-emulation/mgba/mgba-0.8.0.ebuild +++ b/games-emulation/mgba/mgba-0.8.0.ebuild @@ -19,7 +19,7 @@ else fi LICENSE="MPL-2.0" SLOT="0" -IUSE="debug elf ffmpeg libav opengl qt5 +sdl sqlite" +IUSE="debug discord elf ffmpeg libav opengl qt5 +sdl sqlite" REQUIRED_USE="|| ( qt5 sdl ) qt5? ( opengl )" @@ -72,6 +72,7 @@ src_configure() { -DM_CORE_GB=ON -DM_CORE_GBA=ON -DUSE_DEBUGGERS="$(usex debug)" + -DUSE_DISCORD_RPC="$(usex discord)" -DUSE_EDITLINE="$(usex debug)" -DUSE_ELF="$(usex elf)" -DUSE_EPOXY=OFF diff --git a/games-emulation/mgba/mgba-9999.ebuild b/games-emulation/mgba/mgba-9999.ebuild index 3543aa68ebf8e..1200fa57ed499 100644 --- a/games-emulation/mgba/mgba-9999.ebuild +++ b/games-emulation/mgba/mgba-9999.ebuild @@ -19,7 +19,7 @@ else fi LICENSE="MPL-2.0" SLOT="0" -IUSE="debug elf ffmpeg libav opengl qt5 +sdl sqlite" +IUSE="debug discord elf ffmpeg libav opengl qt5 +sdl sqlite" REQUIRED_USE="|| ( qt5 sdl ) qt5? ( opengl )" @@ -68,6 +68,7 @@ src_configure() { -DM_CORE_GB=ON -DM_CORE_GBA=ON -DUSE_DEBUGGERS="$(usex debug)" + -DUSE_DISCORD_RPC="$(usex discord)" -DUSE_EDITLINE="$(usex debug)" -DUSE_ELF="$(usex elf)" -DUSE_EPOXY=OFF