multimedia/mpv: enable NVDEC by default after 9db4ec9938

$ man mpv
[...]
NOTE:
   Most non-copy methods only work with the OpenGL GPU backend.
   Currently, only the vaapi, nvdec and cuda methods work with
   Vulkan.

PR:		264027
This commit is contained in:
Jan Beich 2022-10-29 13:08:13 +00:00
parent 88e7bd8c2b
commit 38d34d4542

View File

@ -1,7 +1,7 @@
PORTNAME= mpv
DISTVERSIONPREFIX= v
DISTVERSION= 0.34.1
PORTREVISION= 3
PORTREVISION= 4
PORTEPOCH= 1
CATEGORIES= multimedia audio wayland
MASTER_SITES= https://waf.io/:waf
@ -51,8 +51,8 @@ CONFIGURE_ARGS= --docdir="${EXAMPLESDIR}" \
--disable-vapoursynth \
--enable-libmpv-shared
OPTIONS_DEFINE= ARCHIVE DOCS LCMS2 MANPAGES MUJS TEST UCHARDET EXAMPLES ZIMG
OPTIONS_DEFAULT= ARCHIVE DVDNAV LUA MANPAGES OPENGL UCHARDET \
OPTIONS_DEFINE= ARCHIVE DOCS LCMS2 MANPAGES MUJS NVDEC TEST UCHARDET EXAMPLES ZIMG
OPTIONS_DEFAULT= ARCHIVE DVDNAV LUA MANPAGES NVDEC OPENGL UCHARDET \
V4L VAAPI VDPAU VULKAN WAYLAND X11 YTDLP
OPTIONS_GROUP= IN VO AO
OPTIONS_GROUP_IN= CDIO DVDNAV LIBBLURAY V4L
@ -68,6 +68,7 @@ DVDNAV_DESC= DVD menu navigation
LUA_NONE_DESC= Disable Lua scripting language support
LUAJIT_DESC= Use LuaJIT instead of Lua scripting language support
MUJS_DESC= Use MuJS for Javascript language support
NVDEC_DESC= NVIDIA decoder with CUDA support
PIPEWIRE_DESC= Pipewire sound server support
SIXEL_DESC= Sixel graphics support
UCHARDET_DESC= Guess subtitle encoding via uchardet
@ -123,6 +124,9 @@ MUJS_LIB_DEPENDS= libmujs.so:lang/mujs
MUJS_CONFIGURE_ON= --enable-javascript
MUJS_CONFIGURE_OFF= --disable-javascript
NVDEC_BUILD_DEPENDS= ${LOCALBASE}/include/ffnvcodec/dynlink_loader.h:multimedia/ffnvcodec-headers
NVDEC_CONFIGURE_OFF= --disable-ffnvcodec
OPENAL_CONFIGURE_ENABLE= openal
OPENAL_USES= openal
OPENAL_LDFLAGS= ${_OPENAL_LDFLAGS_${ARCH}}