* [gentoo-commits] repo/gentoo:master commit in: profiles/arch/arm/, media-video/mpv/, profiles/arch/base/
@ 2022-07-09 2:47 Sam James
0 siblings, 0 replies; only message in thread
From: Sam James @ 2022-07-09 2:47 UTC (permalink / raw
To: gentoo-commits
commit: 4d056f35fa688fa0d6a08237001798f552d661e4
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 9 02:45:39 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jul 9 02:46:02 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d056f35
media-video/mpv: add RPi MMAL support
Signed-off-by: Sam James <sam <AT> gentoo.org>
media-video/mpv/metadata.xml | 1 +
media-video/mpv/mpv-9999.ebuild | 3 ++-
profiles/arch/arm/package.use.mask | 1 +
profiles/arch/base/package.use.mask | 6 ++----
4 files changed, 6 insertions(+), 5 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="<media-video/mpv-0.28.0">Enable the recommended 'opengl' video output</flag>
<flag name="opengl" restrict=">=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
diff --git a/profiles/arch/arm/package.use.mask b/profiles/arch/arm/package.use.mask
index bea0fbe50af9..73346775f658 100644
--- a/profiles/arch/arm/package.use.mask
+++ b/profiles/arch/arm/package.use.mask
@@ -305,6 +305,7 @@ media-gfx/xsane ocr
# MMAL is available on the Raspberry Pi (armv6 & armv7 so far)
media-video/ffmpeg -mmal
media-video/ffmpeg-chromium -mmal
+media-video/mpv -mmal
# Markus Meier <maekke@gentoo.org> (2015-10-10)
# unkeyworded deps, bug #552330
diff --git a/profiles/arch/base/package.use.mask b/profiles/arch/base/package.use.mask
index b48fcbc39715..ebd32a44985b 100644
--- a/profiles/arch/base/package.use.mask
+++ b/profiles/arch/base/package.use.mask
@@ -237,10 +237,6 @@ app-admin/rsyslog imhttp mdblookup
# https://caml.inria.fr/pub/docs/manual-ocaml/spacetime.html
dev-lang/ocaml spacetime
-# Thomas Deutschmann <whissi@gentoo.org> (2017-01-30)
-# media-libs/raspberrypi-userland not keyworded
-media-video/motion mmal
-
# Luke Dashjr <luke-jr+gentoobugs@utopios.org> (2017-01-04)
# Mask assembly optimisations that are platform-specific
dev-libs/libsecp256k1 asm
@@ -283,8 +279,10 @@ media-video/mpv raspberry-pi
# Alexis Ballier <aballier@gentoo.org> (2015-11-14)
# MMAL is only available on the Raspberry Pi:
# Mask it globally, unmask it on arm.
+media-video/motion mmal
media-video/ffmpeg mmal
media-video/ffmpeg-chromium mmal
+media-video/mpv mmal
# Brian Evans <grknight@gentoo.org (2015-09-14)
# Mask new USE flags for mariadb which all arches do not yet have dependencies
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2022-07-09 2:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-09 2:47 [gentoo-commits] repo/gentoo:master commit in: profiles/arch/arm/, media-video/mpv/, profiles/arch/base/ Sam James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox