diff --git a/common/options.description b/common/options.description index 5bc7edfb12..5ec6e59afc 100644 --- a/common/options.description +++ b/common/options.description @@ -75,6 +75,7 @@ desc_option_upower="Enable support for UPower" desc_option_usb="Enable support for USB" desc_option_v4l2="Enable support for V4L2 (Video 4 Linux 2)" desc_option_vaapi="Enable support for VA-API" +desc_option_vapoursynth="Enable support for VapourSynth" desc_option_vdpau="Enable support for VDPAU" desc_option_wavpack="Enable support for the Wavpack audio format" desc_option_wayland="Enable support for the Wayland backend" diff --git a/srcpkgs/mpv/template b/srcpkgs/mpv/template index 18aa637de5..22cab56e48 100644 --- a/srcpkgs/mpv/template +++ b/srcpkgs/mpv/template @@ -1,15 +1,16 @@ # Template file for 'mpv' pkgname=mpv version=0.21.0 -revision=1 +revision=2 +build_options="vapoursynth" short_desc="Video player based on MPlayer/mplayer2" maintainer="Juan RP " -license="GPL-3" -homepage="http://mpv.io" +license="GPL-2" +homepage="https://mpv.io" build_style=waf configure_args="--confdir=/etc/mpv --docdir=/usr/share/examples/mpv --enable-cdda --enable-libmpv-shared --disable-oss-audio --disable-sdl2 - --enable-vapoursynth" + $(vopt_enable vapoursynth)" hostmakedepends="pkg-config python-docutils perl" makedepends=" ffmpeg-devel libass-devel lcms2-devel libXinerama-devel lua52-devel v4l-utils-devel @@ -17,8 +18,8 @@ makedepends=" pulseaudio-devel libbluray-devel libcdio-paranoia-devel libdvdread-devel MesaLib-devel harfbuzz-devel libXScrnSaver-devel jack-devel libdvdnav-devel wayland-devel libuuid-devel libguess-devel libXrandr-devel samba-devel - rubberband-devel vapoursynth-devel zimg-devel python3-devel" -depends="desktop-file-utils hicolor-icon-theme youtube-dl vapoursynth-mvtools" + rubberband-devel $(vopt_if vapoursynth 'vapoursynth-devel zimg-devel python3-devel')" +depends="desktop-file-utils hicolor-icon-theme youtube-dl $(vopt_if vapoursynth vapoursynth-mvtools)" distfiles="https://github.com/mpv-player/${pkgname}/archive/v${version}.tar.gz" checksum=d05f8ece859c500ef1649cdfea911ec1529df1898b8fda3e217766dc28dc9bd3