commit:     3de05049734208b483a27002c79bfc05a0711fe7
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 15 22:44:52 2023 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sat Feb 10 21:23:37 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3de05049

net-misc/moonlight: Drop Raspberry Pi support in revbump

media-libs/raspberrypi-userland(-bin) is being last-rited. The Linux
kernel and FFmpeg now support the Pi, among other devices, natively.
Enable media-video/ffmpeg's "soc" USE flag to enable that support.

Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 net-misc/moonlight/metadata.xml                                     | 1 -
 .../{moonlight-5.0.1-r1.ebuild => moonlight-5.0.1-r2.ebuild}        | 6 +++---
 net-misc/moonlight/moonlight-9999.ebuild                            | 6 +++---
 3 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/net-misc/moonlight/metadata.xml b/net-misc/moonlight/metadata.xml
index 7b6d9ea7ef4f..69364f1304dd 100644
--- a/net-misc/moonlight/metadata.xml
+++ b/net-misc/moonlight/metadata.xml
@@ -13,7 +13,6 @@
                <flag name="embedded">Optimize UI for fullscreen non-desktop 
usage</flag>
                <flag name="glslow">Prefer direct KMS/DRM rendering over 
EGL/GLES rendering for better performance on some weaker GPUs</flag>
                <flag name="libdrm">Enable video rendering via 
<pkg>x11-libs/libdrm</pkg></flag>
-               <flag name="mmal">Enable accelerated video rendering on the 
Raspberry Pi</flag>
                <flag name="soundio">Enable sound output via 
<pkg>media-libs/libsoundio</pkg> instead of <pkg>media-libs/libsdl2</pkg></flag>
        </use>
 </pkgmetadata>

diff --git a/net-misc/moonlight/moonlight-5.0.1-r1.ebuild 
b/net-misc/moonlight/moonlight-5.0.1-r2.ebuild
similarity index 91%
rename from net-misc/moonlight/moonlight-5.0.1-r1.ebuild
rename to net-misc/moonlight/moonlight-5.0.1-r2.ebuild
index 09908df00159..a6dc05e965aa 100644
--- a/net-misc/moonlight/moonlight-5.0.1-r1.ebuild
+++ b/net-misc/moonlight/moonlight-5.0.1-r2.ebuild
@@ -19,7 +19,7 @@ DESCRIPTION="NVIDIA GameStream (and Sunshine) client"
 HOMEPAGE="https://github.com/moonlight-stream/moonlight-qt";
 LICENSE="GPL-3"
 SLOT="0"
-IUSE="cuda +libdrm embedded glslow mmal soundio +vaapi vdpau wayland X"
+IUSE="cuda +libdrm embedded glslow soundio +vaapi vdpau wayland X"
 
 RDEPEND="
        dev-libs/openssl:=
@@ -34,7 +34,7 @@ RDEPEND="
        media-libs/libsdl2[haptic,kms,joystick,sound,video]
        media-libs/opus
        media-libs/sdl2-ttf
-       media-video/ffmpeg:=[cuda?,libdrm?,mmal?]
+       media-video/ffmpeg:=[cuda?,libdrm?]
        libdrm? ( x11-libs/libdrm )
        soundio? ( media-libs/libsoundio:= )
        vaapi? ( media-libs/libva:=[wayland?,X?] )
@@ -66,7 +66,7 @@ src_configure() {
        eqmake5 PREFIX="${EPREFIX}/usr" CONFIG+=" \
                $(usex cuda "" disable-cuda) \
                $(usex libdrm "" disable-libdrm) \
-               $(usex mmal "" disable-mmal) \
+               --disable-mmal \
                $(usex vaapi "" disable-libva) \
                $(usex vdpau "" disable-libvdpau) \
                $(usex wayland "" disable-wayland) \

diff --git a/net-misc/moonlight/moonlight-9999.ebuild 
b/net-misc/moonlight/moonlight-9999.ebuild
index 09908df00159..a6dc05e965aa 100644
--- a/net-misc/moonlight/moonlight-9999.ebuild
+++ b/net-misc/moonlight/moonlight-9999.ebuild
@@ -19,7 +19,7 @@ DESCRIPTION="NVIDIA GameStream (and Sunshine) client"
 HOMEPAGE="https://github.com/moonlight-stream/moonlight-qt";
 LICENSE="GPL-3"
 SLOT="0"
-IUSE="cuda +libdrm embedded glslow mmal soundio +vaapi vdpau wayland X"
+IUSE="cuda +libdrm embedded glslow soundio +vaapi vdpau wayland X"
 
 RDEPEND="
        dev-libs/openssl:=
@@ -34,7 +34,7 @@ RDEPEND="
        media-libs/libsdl2[haptic,kms,joystick,sound,video]
        media-libs/opus
        media-libs/sdl2-ttf
-       media-video/ffmpeg:=[cuda?,libdrm?,mmal?]
+       media-video/ffmpeg:=[cuda?,libdrm?]
        libdrm? ( x11-libs/libdrm )
        soundio? ( media-libs/libsoundio:= )
        vaapi? ( media-libs/libva:=[wayland?,X?] )
@@ -66,7 +66,7 @@ src_configure() {
        eqmake5 PREFIX="${EPREFIX}/usr" CONFIG+=" \
                $(usex cuda "" disable-cuda) \
                $(usex libdrm "" disable-libdrm) \
-               $(usex mmal "" disable-mmal) \
+               --disable-mmal \
                $(usex vaapi "" disable-libva) \
                $(usex vdpau "" disable-libvdpau) \
                $(usex wayland "" disable-wayland) \

Reply via email to