summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-07-09 03:45:39 +0100
committerSam James <sam@gentoo.org>2022-07-09 03:46:02 +0100
commit4d056f35fa688fa0d6a08237001798f552d661e4 (patch)
tree33ab8ed26eb743f48304123fe2a3a75e080d4bcb /media-video
parentmedia-video/mpv: port live ebuild to meson (diff)
downloadgentoo-4d056f35fa688fa0d6a08237001798f552d661e4.tar.gz
gentoo-4d056f35fa688fa0d6a08237001798f552d661e4.tar.bz2
gentoo-4d056f35fa688fa0d6a08237001798f552d661e4.zip
media-video/mpv: add RPi MMAL support
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-video')
-rw-r--r--media-video/mpv/metadata.xml1
-rw-r--r--media-video/mpv/mpv-9999.ebuild3
2 files changed, 3 insertions, 1 deletions
diff --git a/media-video/mpv/metadata.xml b/media-video/mpv/metadata.xml
index 46da6fbe4743..656c28187c05 100644
--- a/media-video/mpv/metadata.xml
+++ b/media-video/mpv/metadata.xml
@@ -17,6 +17,7 @@
<flag name="jpeg">Enable support for saving screenshots in JPEG format</flag>
<flag name="libmpv">Build mpv shared library</flag>
<flag name="lua">Enable Lua scripting, OSC (On Screen Controller) GUI and <pkg>net-misc/youtube-dl</pkg> hook-script</flag>
+ <flag name="mmal">Enables Multi-Media Abstraction Layer (MMAL) decoding support: Available e.g. on the Raspberry Pi.</flag>
<flag name="opengl" restrict="&lt;media-video/mpv-0.28.0">Enable the recommended 'opengl' video output</flag>
<flag name="opengl" restrict="&gt;=media-video/mpv-0.28.0">Enable support for various OpenGL-based video backends</flag>
<flag name="raspberry-pi">Enable support for the Raspberry Pi</flag>
diff --git a/media-video/mpv/mpv-9999.ebuild b/media-video/mpv/mpv-9999.ebuild
index be6ab3bcae5b..0958d7c9fee9 100644
--- a/media-video/mpv/mpv-9999.ebuild
+++ b/media-video/mpv/mpv-9999.ebuild
@@ -33,7 +33,7 @@ LICENSE="LGPL-2.1+ GPL-2+ BSD MIT ISC"
SLOT="0"
IUSE="+alsa aqua archive bluray cdda +cli coreaudio cplugins debug doc drm dvb
dvd +egl gamepad gbm +iconv jack javascript jpeg lcms libcaca libmpv +lua
- nvenc openal +opengl pipewire pulseaudio raspberry-pi rubberband sdl
+ mmal nvenc openal +opengl pipewire pulseaudio raspberry-pi rubberband sdl
selinux sndio test tools +uchardet vaapi vdpau +vector vulkan wayland +X +xv zlib zimg"
REQUIRED_USE="
@@ -229,6 +229,7 @@ src_configure() {
$(meson_feature vulkan shaderc)
$(meson_feature vulkan libplacebo)
$(meson_feature raspberry-pi rpi)
+ $(meson_feature mmal rpi-mmal)
-Dsixel=disabled
-Dspirv-cross=disabled