games-emulation/mgba: Added "discord" USE flag

Thanks-to: Esteve Varela Colominas <esteve.varela@gmail.com>
Closes: https://bugs.gentoo.org/707576
Package-Manager: Portage-2.3.86, Repoman-2.3.20
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
This commit is contained in:
Lars Wendler
2020-02-01 04:08:53 +01:00
parent 8136abfbed
commit e34e279d5d
3 changed files with 5 additions and 2 deletions

View File

@@ -6,6 +6,7 @@
<name>Lars Wendler</name>
</maintainer>
<use>
<flag name="discord">Enable Discord RPC support</flag>
<flag name="elf">Enable the use of elf utils via <pkg>dev-libs/elfutils</pkg></flag>
</use>
<upstream>

View File

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

View File

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