diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2022-10-29 13:08:13 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2022-10-29 13:22:22 +0000 |
commit | 38d34d4542e0af8cd2be6fbe3dc365e06db0bdc3 (patch) | |
tree | 4b6ff31ab4e9fb38687fc1bf574e50989b756e47 | |
parent | 88e7bd8c2badb17bd58c71add3bbeee16f2e0fd0 (diff) | |
download | ports-38d34d4542e0af8cd2be6fbe3dc365e06db0bdc3.tar.gz ports-38d34d4542e0af8cd2be6fbe3dc365e06db0bdc3.zip |
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
-rw-r--r-- | multimedia/mpv/Makefile | 10 |
1 files 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}} |