diff options
author | 2022-03-21 23:38:30 +0000 | |
---|---|---|
committer | 2022-03-21 23:38:30 +0000 | |
commit | d6677d5548a0c421fb40b7986d296c8c1c4464a6 (patch) | |
tree | ff40b0e95cccc03608b899b6c632ecb2815e3285 /media-video | |
parent | media-video/mpv: Version bump (v0.34.1) (diff) | |
download | gentoo-d6677d5548a0c421fb40b7986d296c8c1c4464a6.tar.gz gentoo-d6677d5548a0c421fb40b7986d296c8c1c4464a6.tar.bz2 gentoo-d6677d5548a0c421fb40b7986d296c8c1c4464a6.zip |
media-video/mpv: rebase 0.34.1 on 0.34.0 changes for nvenc
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/mpv/mpv-0.34.1.ebuild | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/media-video/mpv/mpv-0.34.1.ebuild b/media-video/mpv/mpv-0.34.1.ebuild index dd43d1178adb..e0f0ee5c96cf 100644 --- a/media-video/mpv/mpv-0.34.1.ebuild +++ b/media-video/mpv/mpv-0.34.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -29,20 +29,20 @@ DOCS+=( README.md DOCS/{client-api,interface}-changes.rst ) # See Copyright in sources and Gentoo bug 506946. Waf is BSD, libmpv is ISC. LICENSE="LGPL-2.1+ GPL-2+ BSD ISC" SLOT="0" -IUSE="+alsa aqua archive bluray cdda +cli coreaudio cplugins cuda debug doc drm dvb +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 - openal +opengl pulseaudio raspberry-pi rubberband sdl + nvenc openal +opengl pulseaudio raspberry-pi rubberband sdl selinux test tools +uchardet vaapi vdpau vulkan wayland +X +xv zlib zimg" REQUIRED_USE=" || ( cli libmpv ) aqua? ( opengl ) - cuda? ( opengl ) egl? ( || ( gbm X wayland ) ) gamepad? ( sdl ) gbm? ( drm egl opengl ) lcms? ( opengl ) lua? ( ${LUA_REQUIRED_USE} ) + nvenc? ( opengl ) opengl? ( || ( aqua egl X raspberry-pi !cli ) ) raspberry-pi? ( opengl ) test? ( opengl ) @@ -118,11 +118,11 @@ COMMON_DEPEND=" " DEPEND="${COMMON_DEPEND} ${PYTHON_DEPS} - cuda? ( >=media-libs/nv-codec-headers-8.2.15.7 ) dvb? ( virtual/linuxtv-dvb-headers ) + nvenc? ( >=media-libs/nv-codec-headers-8.2.15.7 ) " RDEPEND="${COMMON_DEPEND} - cuda? ( x11-drivers/nvidia-drivers[X] ) + nvenc? ( x11-drivers/nvidia-drivers[X] ) selinux? ( sec-policy/selinux-mplayer ) tools? ( ${PYTHON_DEPS} ) " @@ -224,8 +224,8 @@ src_configure() { # HWaccels: # Automagic Video Toolbox HW acceleration. See Gentoo bug 577332. - $(use_enable cuda cuda-hwaccel) - $(use_enable cuda cuda-interop) + $(use_enable nvenc cuda-hwaccel) + $(use_enable nvenc cuda-interop) # TV features: $(use_enable dvb dvbin) |