mpv: rebuild due to ffmpeg version bump

While I'm here:
- add vapoursynth build option (off)
- license is GPL-2 (they switched back to GPL-2 some time ago)
This commit is contained in:
Alessio Sergi 2016-10-28 15:15:15 +02:00
parent 4c29cc40e1
commit bd5e81947f
2 changed files with 8 additions and 6 deletions

View file

@ -75,6 +75,7 @@ desc_option_upower="Enable support for UPower"
desc_option_usb="Enable support for USB" desc_option_usb="Enable support for USB"
desc_option_v4l2="Enable support for V4L2 (Video 4 Linux 2)" desc_option_v4l2="Enable support for V4L2 (Video 4 Linux 2)"
desc_option_vaapi="Enable support for VA-API" desc_option_vaapi="Enable support for VA-API"
desc_option_vapoursynth="Enable support for VapourSynth"
desc_option_vdpau="Enable support for VDPAU" desc_option_vdpau="Enable support for VDPAU"
desc_option_wavpack="Enable support for the Wavpack audio format" desc_option_wavpack="Enable support for the Wavpack audio format"
desc_option_wayland="Enable support for the Wayland backend" desc_option_wayland="Enable support for the Wayland backend"

View file

@ -1,15 +1,16 @@
# Template file for 'mpv' # Template file for 'mpv'
pkgname=mpv pkgname=mpv
version=0.21.0 version=0.21.0
revision=1 revision=2
build_options="vapoursynth"
short_desc="Video player based on MPlayer/mplayer2" short_desc="Video player based on MPlayer/mplayer2"
maintainer="Juan RP <xtraeme@voidlinux.eu>" maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-3" license="GPL-2"
homepage="http://mpv.io" homepage="https://mpv.io"
build_style=waf build_style=waf
configure_args="--confdir=/etc/mpv --docdir=/usr/share/examples/mpv configure_args="--confdir=/etc/mpv --docdir=/usr/share/examples/mpv
--enable-cdda --enable-libmpv-shared --disable-oss-audio --disable-sdl2 --enable-cdda --enable-libmpv-shared --disable-oss-audio --disable-sdl2
--enable-vapoursynth" $(vopt_enable vapoursynth)"
hostmakedepends="pkg-config python-docutils perl" hostmakedepends="pkg-config python-docutils perl"
makedepends=" makedepends="
ffmpeg-devel libass-devel lcms2-devel libXinerama-devel lua52-devel v4l-utils-devel 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 pulseaudio-devel libbluray-devel libcdio-paranoia-devel libdvdread-devel
MesaLib-devel harfbuzz-devel libXScrnSaver-devel jack-devel libdvdnav-devel MesaLib-devel harfbuzz-devel libXScrnSaver-devel jack-devel libdvdnav-devel
wayland-devel libuuid-devel libguess-devel libXrandr-devel samba-devel wayland-devel libuuid-devel libguess-devel libXrandr-devel samba-devel
rubberband-devel vapoursynth-devel zimg-devel python3-devel" rubberband-devel $(vopt_if vapoursynth 'vapoursynth-devel zimg-devel python3-devel')"
depends="desktop-file-utils hicolor-icon-theme youtube-dl vapoursynth-mvtools" 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" distfiles="https://github.com/mpv-player/${pkgname}/archive/v${version}.tar.gz"
checksum=d05f8ece859c500ef1649cdfea911ec1529df1898b8fda3e217766dc28dc9bd3 checksum=d05f8ece859c500ef1649cdfea911ec1529df1898b8fda3e217766dc28dc9bd3