Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-emulation/mgba/
Date: Sat, 01 Feb 2020 03:11:14
Message-Id: 1580526661.e34e279d5d5dee9ab8661490a2ab6b881be0d9e7.polynomial-c@gentoo
1 commit: e34e279d5d5dee9ab8661490a2ab6b881be0d9e7
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 1 03:08:53 2020 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 1 03:11:01 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e34e279d
7
8 games-emulation/mgba: Added "discord" USE flag
9
10 Thanks-to: Esteve Varela Colominas <esteve.varela <AT> gmail.com>
11 Closes: https://bugs.gentoo.org/707576
12 Package-Manager: Portage-2.3.86, Repoman-2.3.20
13 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
14
15 games-emulation/mgba/metadata.xml | 1 +
16 games-emulation/mgba/mgba-0.8.0.ebuild | 3 ++-
17 games-emulation/mgba/mgba-9999.ebuild | 3 ++-
18 3 files changed, 5 insertions(+), 2 deletions(-)
19
20 diff --git a/games-emulation/mgba/metadata.xml b/games-emulation/mgba/metadata.xml
21 index ef2909f744e..d65ffa04f67 100644
22 --- a/games-emulation/mgba/metadata.xml
23 +++ b/games-emulation/mgba/metadata.xml
24 @@ -6,6 +6,7 @@
25 <name>Lars Wendler</name>
26 </maintainer>
27 <use>
28 + <flag name="discord">Enable Discord RPC support</flag>
29 <flag name="elf">Enable the use of elf utils via <pkg>dev-libs/elfutils</pkg></flag>
30 </use>
31 <upstream>
32
33 diff --git a/games-emulation/mgba/mgba-0.8.0.ebuild b/games-emulation/mgba/mgba-0.8.0.ebuild
34 index cc49129ae05..15a46f8a700 100644
35 --- a/games-emulation/mgba/mgba-0.8.0.ebuild
36 +++ b/games-emulation/mgba/mgba-0.8.0.ebuild
37 @@ -19,7 +19,7 @@ else
38 fi
39 LICENSE="MPL-2.0"
40 SLOT="0"
41 -IUSE="debug elf ffmpeg libav opengl qt5 +sdl sqlite"
42 +IUSE="debug discord elf ffmpeg libav opengl qt5 +sdl sqlite"
43 REQUIRED_USE="|| ( qt5 sdl )
44 qt5? ( opengl )"
45
46 @@ -72,6 +72,7 @@ src_configure() {
47 -DM_CORE_GB=ON
48 -DM_CORE_GBA=ON
49 -DUSE_DEBUGGERS="$(usex debug)"
50 + -DUSE_DISCORD_RPC="$(usex discord)"
51 -DUSE_EDITLINE="$(usex debug)"
52 -DUSE_ELF="$(usex elf)"
53 -DUSE_EPOXY=OFF
54
55 diff --git a/games-emulation/mgba/mgba-9999.ebuild b/games-emulation/mgba/mgba-9999.ebuild
56 index 3543aa68ebf..1200fa57ed4 100644
57 --- a/games-emulation/mgba/mgba-9999.ebuild
58 +++ b/games-emulation/mgba/mgba-9999.ebuild
59 @@ -19,7 +19,7 @@ else
60 fi
61 LICENSE="MPL-2.0"
62 SLOT="0"
63 -IUSE="debug elf ffmpeg libav opengl qt5 +sdl sqlite"
64 +IUSE="debug discord elf ffmpeg libav opengl qt5 +sdl sqlite"
65 REQUIRED_USE="|| ( qt5 sdl )
66 qt5? ( opengl )"
67
68 @@ -68,6 +68,7 @@ src_configure() {
69 -DM_CORE_GB=ON
70 -DM_CORE_GBA=ON
71 -DUSE_DEBUGGERS="$(usex debug)"
72 + -DUSE_DISCORD_RPC="$(usex discord)"
73 -DUSE_EDITLINE="$(usex debug)"
74 -DUSE_ELF="$(usex elf)"
75 -DUSE_EPOXY=OFF