1 |
commit: cee98c7731e99aa2044f81c9429f8609485c6da0 |
2 |
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun May 30 15:22:05 2021 +0000 |
4 |
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun May 30 15:22:05 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cee98c77 |
7 |
|
8 |
games-engines/scummvm: Add sndio USE flag, fixing automagic dependency |
9 |
|
10 |
Package-Manager: Portage-3.0.19, Repoman-3.0.3 |
11 |
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org> |
12 |
|
13 |
games-engines/scummvm/metadata.xml | 1 + |
14 |
games-engines/scummvm/scummvm-2.2.0-r1.ebuild | 3 ++- |
15 |
games-engines/scummvm/scummvm-9999.ebuild | 5 +++-- |
16 |
3 files changed, 6 insertions(+), 3 deletions(-) |
17 |
|
18 |
diff --git a/games-engines/scummvm/metadata.xml b/games-engines/scummvm/metadata.xml |
19 |
index dd278d4911d..4b13f3aa2ad 100644 |
20 |
--- a/games-engines/scummvm/metadata.xml |
21 |
+++ b/games-engines/scummvm/metadata.xml |
22 |
@@ -15,6 +15,7 @@ |
23 |
<flag name="glew">enable support for OpenGL Extension Wrangler Library (<pkg>media-libs/glew</pkg>)</flag> |
24 |
<flag name="mpeg2">enable mpeg2 codec for cutscenes</flag> |
25 |
<flag name="net">enable cloud support via <pkg>media-libs/sdl2-net</pkg></flag> |
26 |
+ <flag name="sndio">Enable support for MIDI music using <pkg>media-sound/sndio</pkg></flag> |
27 |
<flag name="speech">enable text-to-speech support through <pkg>app-accessibility/speech-dispatcher</pkg></flag> |
28 |
<flag name="unsupported">enable unsupported and/or broken game engines (you're on your own)</flag> |
29 |
</use> |
30 |
|
31 |
diff --git a/games-engines/scummvm/scummvm-2.2.0-r1.ebuild b/games-engines/scummvm/scummvm-2.2.0-r1.ebuild |
32 |
index f4ab2f0515e..b6022c564f3 100644 |
33 |
--- a/games-engines/scummvm/scummvm-2.2.0-r1.ebuild |
34 |
+++ b/games-engines/scummvm/scummvm-2.2.0-r1.ebuild |
35 |
@@ -11,7 +11,7 @@ SRC_URI="https://scummvm.org/frs/scummvm/${PV}/${P}.tar.xz" |
36 |
LICENSE="GPL-2+ LGPL-2.1 BSD GPL-3-with-font-exception" |
37 |
SLOT="0" |
38 |
KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86" |
39 |
-IUSE="a52 aac alsa debug flac fluidsynth fribidi +gtk jpeg lua mpeg2 mp3 +net opengl png speech theora truetype unsupported vorbis zlib" |
40 |
+IUSE="a52 aac alsa debug flac fluidsynth fribidi +gtk jpeg lua mpeg2 mp3 +net opengl png sndio speech theora truetype unsupported vorbis zlib" |
41 |
RESTRICT="test" # it only looks like there's a test there #77507 |
42 |
|
43 |
RDEPEND=" |
44 |
@@ -99,6 +99,7 @@ src_configure() { |
45 |
$(use_enable mpeg2) |
46 |
$(use_enable net sdlnet) |
47 |
$(use_enable png) |
48 |
+ $(use_enable sndio) |
49 |
$(use_enable speech tts) |
50 |
$(use_enable theora theoradec) |
51 |
$(use_enable truetype freetype2) |
52 |
|
53 |
diff --git a/games-engines/scummvm/scummvm-9999.ebuild b/games-engines/scummvm/scummvm-9999.ebuild |
54 |
index 22e410bbb25..f6a91ef83cd 100644 |
55 |
--- a/games-engines/scummvm/scummvm-9999.ebuild |
56 |
+++ b/games-engines/scummvm/scummvm-9999.ebuild |
57 |
@@ -1,4 +1,4 @@ |
58 |
-# Copyright 1999-2020 Gentoo Authors |
59 |
+# Copyright 1999-2021 Gentoo Authors |
60 |
# Distributed under the terms of the GNU General Public License v2 |
61 |
|
62 |
EAPI=7 |
63 |
@@ -11,7 +11,7 @@ EGIT_REPO_URI="https://github.com/scummvm/scummvm" |
64 |
LICENSE="GPL-2+ LGPL-2.1 BSD GPL-3-with-font-exception" |
65 |
SLOT="0" |
66 |
KEYWORDS="" |
67 |
-IUSE="a52 aac alsa debug flac fluidsynth fribidi glew +gtk jpeg lua mpeg2 mp3 +net opengl png speech theora truetype unsupported vorbis zlib" |
68 |
+IUSE="a52 aac alsa debug flac fluidsynth fribidi glew +gtk jpeg lua mpeg2 mp3 +net opengl png sndio speech theora truetype unsupported vorbis zlib" |
69 |
RESTRICT="test" # it only looks like there's a test there #77507 |
70 |
|
71 |
RDEPEND=" |
72 |
@@ -98,6 +98,7 @@ src_configure() { |
73 |
$(use_enable mpeg2) |
74 |
$(use_enable net sdlnet) |
75 |
$(use_enable png) |
76 |
+ $(use_enable sndio) |
77 |
$(use_enable speech tts) |
78 |
$(use_enable theora theoradec) |
79 |
$(use_enable truetype freetype2) |