commit:     2c8fc7b25eaea776d0a1c85e49bc890f11fae13e
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 11 09:37:21 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Dec 11 10:57:05 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c8fc7b2

games-engines/scummvm: Enable musepack support

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 028e309ed016..455b666e04ab 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 +net opengl png sndio speech theora truetype unsupported vorbis
-       zlib
+       mp3 musepack +net opengl png sndio speech theora truetype unsupported
+       vorbis zlib
 "
 RESTRICT="test"  # it only looks like there's a test there #77507
 
@@ -42,6 +42,7 @@ DEPEND="
        jpeg? ( media-libs/libjpeg-turbo:= )
        mp3? ( media-libs/libmad )
        mpeg2? ( media-libs/libmpeg2 )
+       musepack? ( media-sound/musepack-tools:= )
        net? (
                media-libs/sdl2-net
                net-misc/curl
@@ -112,6 +113,7 @@ src_configure() {
                $(use_enable lua)
                $(use_enable mp3 mad)
                $(use_enable mpeg2)
+               $(use_enable musepack mpcdec)
                $(use_enable net libcurl)
                $(use_enable net sdlnet)
                $(use_enable png)

diff --git a/games-engines/scummvm/scummvm-9999.ebuild 
b/games-engines/scummvm/scummvm-9999.ebuild
index 028e309ed016..455b666e04ab 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 +net opengl png sndio speech theora truetype unsupported vorbis
-       zlib
+       mp3 musepack +net opengl png sndio speech theora truetype unsupported
+       vorbis zlib
 "
 RESTRICT="test"  # it only looks like there's a test there #77507
 
@@ -42,6 +42,7 @@ DEPEND="
        jpeg? ( media-libs/libjpeg-turbo:= )
        mp3? ( media-libs/libmad )
        mpeg2? ( media-libs/libmpeg2 )
+       musepack? ( media-sound/musepack-tools:= )
        net? (
                media-libs/sdl2-net
                net-misc/curl
@@ -112,6 +113,7 @@ src_configure() {
                $(use_enable lua)
                $(use_enable mp3 mad)
                $(use_enable mpeg2)
+               $(use_enable musepack mpcdec)
                $(use_enable net libcurl)
                $(use_enable net sdlnet)
                $(use_enable png)

Reply via email to