git: 38d34d4542e0 - main - multimedia/mpv: enable NVDEC by default after 9db4ec993805
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 29 Oct 2022 13:23:03 UTC
The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=38d34d4542e0af8cd2be6fbe3dc365e06db0bdc3 commit 38d34d4542e0af8cd2be6fbe3dc365e06db0bdc3 Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2022-10-29 13:08:13 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2022-10-29 13:22:22 +0000 multimedia/mpv: enable NVDEC by default after 9db4ec993805 $ 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 --- multimedia/mpv/Makefile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/multimedia/mpv/Makefile b/multimedia/mpv/Makefile index 005da8d851b3..3f03d09b5a77 100644 --- a/multimedia/mpv/Makefile +++ b/multimedia/mpv/Makefile @@ -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}}