commit:     2f32a56eeb5b005a5dacc47cf0b837297970b75a
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 11 09:53:32 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Dec 11 10:57:07 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f32a56e

games-engines/scummvm: Enable readline support for text console

Bug: https://bugs.gentoo.org/946224
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 games-engines/scummvm/scummvm-2.9.0.ebuild | 6 ++++--
 games-engines/scummvm/scummvm-9999.ebuild  | 6 ++++--
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/games-engines/scummvm/scummvm-2.9.0.ebuild 
b/games-engines/scummvm/scummvm-2.9.0.ebuild
index d47105423749..440d6e3ed396 100644
--- a/games-engines/scummvm/scummvm-2.9.0.ebuild
+++ b/games-engines/scummvm/scummvm-2.9.0.ebuild
@@ -21,8 +21,8 @@ LICENSE="GPL-2+ LGPL-2.1 BSD GPL-3-with-font-exception"
 SLOT="0"
 IUSE="
        a52 aac alsa debug flac fluidsynth fribidi gif +gtk jpeg lua mpeg2
-       mp3 musepack +net opengl png sndio speech theora truetype unsupported
-       vorbis vpx zlib
+       mp3 musepack +net opengl png readline sndio speech theora truetype
+       unsupported vorbis vpx zlib
 "
 RESTRICT="test"  # it only looks like there's a test there #77507
 
@@ -54,6 +54,7 @@ DEPEND="
                )
        )
        png? ( media-libs/libpng:0 )
+       readline? ( sys-libs/readline:= )
        sndio? ( media-sound/sndio:= )
        speech? ( app-accessibility/speech-dispatcher )
        truetype? ( media-libs/freetype:2 )
@@ -118,6 +119,7 @@ src_configure() {
                $(use_enable net libcurl)
                $(use_enable net sdlnet)
                $(use_enable png)
+               $(use_enable readline)
                $(use_enable sndio)
                $(use_enable speech tts)
                --enable-text-console

diff --git a/games-engines/scummvm/scummvm-9999.ebuild 
b/games-engines/scummvm/scummvm-9999.ebuild
index d47105423749..440d6e3ed396 100644
--- a/games-engines/scummvm/scummvm-9999.ebuild
+++ b/games-engines/scummvm/scummvm-9999.ebuild
@@ -21,8 +21,8 @@ LICENSE="GPL-2+ LGPL-2.1 BSD GPL-3-with-font-exception"
 SLOT="0"
 IUSE="
        a52 aac alsa debug flac fluidsynth fribidi gif +gtk jpeg lua mpeg2
-       mp3 musepack +net opengl png sndio speech theora truetype unsupported
-       vorbis vpx zlib
+       mp3 musepack +net opengl png readline sndio speech theora truetype
+       unsupported vorbis vpx zlib
 "
 RESTRICT="test"  # it only looks like there's a test there #77507
 
@@ -54,6 +54,7 @@ DEPEND="
                )
        )
        png? ( media-libs/libpng:0 )
+       readline? ( sys-libs/readline:= )
        sndio? ( media-sound/sndio:= )
        speech? ( app-accessibility/speech-dispatcher )
        truetype? ( media-libs/freetype:2 )
@@ -118,6 +119,7 @@ src_configure() {
                $(use_enable net libcurl)
                $(use_enable net sdlnet)
                $(use_enable png)
+               $(use_enable readline)
                $(use_enable sndio)
                $(use_enable speech tts)
                --enable-text-console

Reply via email to