git: 763fb93f827c - main - multimedia/mpv: expose vapoursynth video filter

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Tue, 15 Nov 2022 15:38:33 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=763fb93f827ce65fa6d319d2fe61111231c859b3

commit 763fb93f827ce65fa6d319d2fe61111231c859b3
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-11-15 15:25:18 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-11-15 15:38:14 +0000

    multimedia/mpv: expose vapoursynth video filter
---
 multimedia/mpv/Makefile | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/multimedia/mpv/Makefile b/multimedia/mpv/Makefile
index b5cc60994e28..8612f69319bf 100644
--- a/multimedia/mpv/Makefile
+++ b/multimedia/mpv/Makefile
@@ -30,14 +30,13 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	mpv-player
 MESON_ARGS=	-Dpdf-build=disabled \
 		-Dshaderc=disabled \
-		-Dvapoursynth=disabled \
 		-Dlibmpv=true
 
 OPTIONS_DEFINE=		ARCHIVE DOCS LCMS2 MANPAGES MUJS RUBBERBAND TEST UCHARDET EXAMPLES ZIMG
 OPTIONS_DEFAULT=	ARCHIVE DVDNAV LUAJIT MANPAGES NVDEC OPENGL UCHARDET \
 			V4L VAAPI VDPAU VULKAN WAYLAND X11 YTDLP
 OPTIONS_GROUP=		IN VO AO
-OPTIONS_GROUP_IN=	CDIO DVDNAV LIBBLURAY V4L
+OPTIONS_GROUP_IN=	CDIO DVDNAV LIBBLURAY V4L VAPOURSYNTH
 OPTIONS_GROUP_VO=	CACA NVDEC OPENGL SIXEL VAAPI VDPAU VULKAN WAYLAND X11
 OPTIONS_GROUP_AO=	ALSA JACK OPENAL PIPEWIRE PULSEAUDIO SDL SNDIO
 OPTIONS_RADIO=		YOUTUBE
@@ -55,6 +54,7 @@ PIPEWIRE_DESC=		Pipewire sound server support
 RUBBERBAND_DESC=	High quality pitch correction with librubberband
 SIXEL_DESC=		Sixel graphics support
 UCHARDET_DESC=		Guess subtitle encoding via uchardet
+VAPOURSYNTH_DESC=	VapourSynth filter bridge
 VULKAN_DESC=		Vulkan output support
 YTDLP_DESC=		Install yt-dlp (youtube-dl fork)
 YTDL_DESC=		Install youtube-dl
@@ -147,6 +147,9 @@ V4L_MESON_ENABLED=		dvbin
 VAAPI_LIB_DEPENDS=		libva.so:multimedia/libva
 VAAPI_MESON_ENABLED=		vaapi
 
+VAPOURSYNTH_LIB_DEPENDS=	libvapoursynth-script.so:multimedia/vapoursynth
+VAPOURSYNTH_MESON_ENABLED=	vapoursynth
+
 VDPAU_LIB_DEPENDS=		libvdpau.so:multimedia/libvdpau
 VDPAU_MESON_ENABLED=		vdpau