commit:     ef61f8be518e5da65b0479d8f4d7892f25ae411c
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 11 10:07:52 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Dec 11 10:57:08 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef61f8be

games-engines/scummvm: Enable parallel port support

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

 games-engines/scummvm/metadata.xml                                | 1 +
 .../scummvm/{scummvm-9999.ebuild => scummvm-2.9.0-r1.ebuild}      | 8 +++++---
 games-engines/scummvm/scummvm-9999.ebuild                         | 6 ++++--
 3 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/games-engines/scummvm/metadata.xml 
b/games-engines/scummvm/metadata.xml
index d4e3eb1872f4..3b6346cbd8b6 100644
--- a/games-engines/scummvm/metadata.xml
+++ b/games-engines/scummvm/metadata.xml
@@ -15,6 +15,7 @@
     <flag name="mpeg2">enable mpeg2 codec for cutscenes</flag>
     <flag name="net">enable cloud support via 
<pkg>media-libs/sdl2-net</pkg></flag>
     <flag name="openmpt">Enable mod/tracker music file support via 
<pkg>media-libs/libopenmpt</pkg></flag>
+    <flag name="parport">Enable parallel port support via 
<pkg>sys-libs/libieee1284</pkg></flag>
     <flag name="sndio">Enable support for MIDI music using 
<pkg>media-sound/sndio</pkg></flag>
     <flag name="unsupported">enable unsupported and/or broken game engines 
(you're on your own)</flag>
     <flag name="vpx">Enable VP8/VP9 codec support via 
<pkg>media-libs/libvpx</pkg></flag>

diff --git a/games-engines/scummvm/scummvm-9999.ebuild 
b/games-engines/scummvm/scummvm-2.9.0-r1.ebuild
similarity index 94%
copy from games-engines/scummvm/scummvm-9999.ebuild
copy to games-engines/scummvm/scummvm-2.9.0-r1.ebuild
index f0b6ffc68467..0615138b1415 100644
--- a/games-engines/scummvm/scummvm-9999.ebuild
+++ b/games-engines/scummvm/scummvm-2.9.0-r1.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} == *9999* ]]; then
        EGIT_REPO_URI="https://github.com/scummvm/scummvm";
 else
        SRC_URI="https://downloads.scummvm.org/frs/scummvm/${PV}/${P}.tar.xz";
-       KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+       KEYWORDS="~amd64 ~arm64 ~ppc ~x86"
        S=${WORKDIR}/${P/_/}
 fi
 
@@ -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 openmpt png readline sndio speech theora
-       truetype unsupported vorbis vpx zlib
+       mp3 musepack +net opengl openmpt parport 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="
                )
        )
        openmpt? ( media-libs/libopenmpt:= )
+       parport? ( sys-libs/libieee1284:= )
        png? ( media-libs/libpng:0 )
        readline? ( sys-libs/readline:= )
        sndio? ( media-sound/sndio:= )
@@ -122,6 +123,7 @@ src_configure() {
                $(use_enable net libcurl)
                $(use_enable net sdlnet)
                $(use_enable openmpt)
+               $(use_enable parport opl2lpt)
                $(use_enable png)
                $(use_enable readline)
                $(use_enable sndio)

diff --git a/games-engines/scummvm/scummvm-9999.ebuild 
b/games-engines/scummvm/scummvm-9999.ebuild
index f0b6ffc68467..db2d168193f0 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 openmpt png readline sndio speech theora
-       truetype unsupported vorbis vpx zlib
+       mp3 musepack +net opengl openmpt parport 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="
                )
        )
        openmpt? ( media-libs/libopenmpt:= )
+       parport? ( sys-libs/libieee1284:= )
        png? ( media-libs/libpng:0 )
        readline? ( sys-libs/readline:= )
        sndio? ( media-sound/sndio:= )
@@ -122,6 +123,7 @@ src_configure() {
                $(use_enable net libcurl)
                $(use_enable net sdlnet)
                $(use_enable openmpt)
+               $(use_enable parport opl2lpt)
                $(use_enable png)
                $(use_enable readline)
                $(use_enable sndio)

Reply via email to