summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2024-02-11 21:51:03 +0000
committerJames Le Cuirot <chewi@gentoo.org>2024-02-13 21:11:48 +0000
commit579783a46f99c552b9da28f4f97161b19355cfe8 (patch)
tree2023f6c5cf61e7cf494a9ad11a8096d8c88e6f18 /media-video
parentmedia-gfx/fotocx: update a few more places for rename (diff)
downloadgentoo-579783a46f99c552b9da28f4f97161b19355cfe8.tar.gz
gentoo-579783a46f99c552b9da28f4f97161b19355cfe8.tar.bz2
gentoo-579783a46f99c552b9da28f4f97161b19355cfe8.zip
media-video/mpv: Add soc USE flag to ensure ffmpeg also has this flag
The additional patches we apply to media-video/ffmpeg may not always be immediately available following an upstream release. Adding the soc USE flag to this package ensures that users don't accidentally upgrade to an ffmpeg version that lacks them. Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'media-video')
-rw-r--r--media-video/mpv/metadata.xml1
-rw-r--r--media-video/mpv/mpv-0.37.0-r1.ebuild6
-rw-r--r--media-video/mpv/mpv-9999.ebuild6
3 files changed, 7 insertions, 6 deletions
diff --git a/media-video/mpv/metadata.xml b/media-video/mpv/metadata.xml
index e6f3a0a8f95c..560695642b8f 100644
--- a/media-video/mpv/metadata.xml
+++ b/media-video/mpv/metadata.xml
@@ -24,6 +24,7 @@
(Note: these outputs exist for compatibility reasons only, avoid if possible)</flag>
<flag name="sixel">Enable support for the sixel video backend using <pkg>media-libs/libsixel</pkg></flag>
<flag name="sndio">Enable sound support via <pkg>media-sound/sndio</pkg></flag>
+ <flag name="soc">Use additional <pkg>media-video/ffmpeg</pkg> patches for efficient playback on some SoCs (e.g. ARM, RISC-V)</flag>
<flag name="tools">Install extra tools: mpv_identify.sh, mpv_idet.sh, and umpv</flag>
<flag name="uchardet">Enable subtitles charset discovery via <pkg>app-i18n/uchardet</pkg></flag>
<flag name="zimg">Enable libzimg support (for vf_fingerprint)</flag>
diff --git a/media-video/mpv/mpv-0.37.0-r1.ebuild b/media-video/mpv/mpv-0.37.0-r1.ebuild
index 731cc45c2106..df733bafe674 100644
--- a/media-video/mpv/mpv-0.37.0-r1.ebuild
+++ b/media-video/mpv/mpv-0.37.0-r1.ebuild
@@ -24,8 +24,8 @@ IUSE="
+X +alsa aqua archive bluray cdda +cli coreaudio debug +drm dvb
dvd +egl gamepad +iconv jack javascript jpeg lcms libcaca +libmpv
+lua nvenc openal opengl pipewire pulseaudio rubberband sdl selinux
- sixel sndio test tools +uchardet vaapi vdpau vulkan wayland xv zimg
- zlib
+ sixel sndio soc test tools +uchardet vaapi vdpau vulkan wayland xv
+ zimg zlib
"
REQUIRED_USE="
${PYTHON_REQUIRED_USE}
@@ -47,7 +47,7 @@ RESTRICT="!test? ( test )"
COMMON_DEPEND="
media-libs/libass:=[fontconfig]
>=media-libs/libplacebo-6.338:=[opengl?,vulkan?]
- >=media-video/ffmpeg-4.4:=[encode,threads,vaapi?,vdpau?]
+ >=media-video/ffmpeg-4.4:=[encode,soc(-)?,threads,vaapi?,vdpau?]
X? (
x11-libs/libX11
x11-libs/libXScrnSaver
diff --git a/media-video/mpv/mpv-9999.ebuild b/media-video/mpv/mpv-9999.ebuild
index 6c05026b003d..c10b20b3c11a 100644
--- a/media-video/mpv/mpv-9999.ebuild
+++ b/media-video/mpv/mpv-9999.ebuild
@@ -24,8 +24,8 @@ IUSE="
+X +alsa aqua archive bluray cdda +cli coreaudio debug +drm dvb
dvd +egl gamepad +iconv jack javascript jpeg lcms libcaca +libmpv
+lua nvenc openal opengl pipewire pulseaudio rubberband sdl selinux
- sixel sndio test tools +uchardet vaapi vdpau vulkan wayland xv zimg
- zlib
+ sixel sndio soc test tools +uchardet vaapi vdpau vulkan wayland xv
+ zimg zlib
"
REQUIRED_USE="
${PYTHON_REQUIRED_USE}
@@ -47,7 +47,7 @@ RESTRICT="!test? ( test )"
COMMON_DEPEND="
media-libs/libass:=[fontconfig]
>=media-libs/libplacebo-6.338.2:=[opengl?,vulkan?]
- >=media-video/ffmpeg-4.4:=[encode,threads,vaapi?,vdpau?]
+ >=media-video/ffmpeg-4.4:=[encode,soc(-)?,threads,vaapi?,vdpau?]
X? (
x11-libs/libX11
x11-libs/libXScrnSaver