mpv: update to 0.30.0.

This commit is contained in:
Peter Bui 2019-10-26 21:37:55 -04:00
parent efbe35ad89
commit 14f63cc7a3

View file

@ -1,29 +1,29 @@
# Template file for 'mpv'
pkgname=mpv
version=0.29.1
revision=7
version=0.30.0
revision=1
build_style=waf
configure_args="--confdir=/etc/mpv --docdir=/usr/share/examples/mpv
--enable-dvdread --enable-dvdnav --enable-cdda --enable-libmpv-shared
--enable-dvdnav --enable-dvdnav --enable-cdda --enable-libmpv-shared
--enable-dvbin --enable-libarchive $(vopt_enable alsa) $(vopt_enable caca)
$(vopt_enable jack) $(vopt_enable lua) $(vopt_enable oss oss-audio)
$(vopt_enable pulseaudio pulse) $(vopt_enable sdl2)
$(vopt_enable smb libsmbclient) $(vopt_enable sndio) $(vopt_enable v4l2 tv)
$(vopt_enable smb libsmbclient) $(vopt_enable sndio)
$(vopt_enable vapoursynth) $(vopt_enable vdpau) $(vopt_enable wayland)
$(vopt_enable x11) $(vopt_enable vulkan) $(vopt_enable vulkan shaderc)"
hostmakedepends="pkg-config python-docutils perl $(vopt_if wayland wayland-devel)"
makedepends="MesaLib-devel ffmpeg-devel harfbuzz-devel lcms2-devel libXv-devel
libass-devel libbluray-devel libcdio-paranoia-devel libdvdnav-devel
libdvdread-devel libguess-devel libuuid-devel libva-glx-devel rubberband-devel
libdvdnav-devel libguess-devel libuuid-devel libva-glx-devel rubberband-devel
libarchive-devel $(vopt_if alsa alsa-lib-devel) $(vopt_if caca libcaca-devel)
$(vopt_if jack jack-devel) $(vopt_if lua lua52-devel)
$(vopt_if pulseaudio pulseaudio-devel) $(vopt_if sdl2 SDL2-devel)
$(vopt_if smb samba-devel) $(vopt_if sndio sndio-devel)
$(vopt_if v4l2 v4l-utils-devel) $(vopt_if vapoursynth vapoursynth-devel)
$(vopt_if vapoursynth vapoursynth-devel)
$(vopt_if vdpau libvdpau-devel) $(vopt_if wayland "wayland-devel
wayland-protocols libxkbcommon-devel")
$(vopt_if x11 "libXScrnSaver-devel libXinerama-devel libXrandr-devel")
$(vopt_if vulkan 'Vulkan-Headers vulkan-loader shaderc')"
$(vopt_if vulkan 'Vulkan-Headers vulkan-loader shaderc libplacebo-devel')"
depends="desktop-file-utils hicolor-icon-theme $(vopt_if vapoursynth vapoursynth-mvtools)"
short_desc="Video player based on MPlayer/mplayer2"
maintainer="Orphaned <orphan@voidlinux.org>"
@ -31,17 +31,17 @@ license="GPL-2.0-or-later"
homepage="https://mpv.io"
changelog="https://github.com/mpv-player/mpv/releases"
distfiles="https://github.com/mpv-player/${pkgname}/archive/v${version}.tar.gz"
checksum=f9f9d461d1990f9728660b4ccb0e8cb5dce29ccaa6af567bec481b79291ca623
checksum=33a1bcb7e74ff17f070e754c15c52228cf44f2cefbfd8f34886ae81df214ca35
build_options="alsa caca jack lua oss pulseaudio sdl2 smb sndio vapoursynth
vdpau v4l2 wayland x11 vulkan"
build_options_default="alsa jack lua pulseaudio sndio vdpau wayland x11 v4l2 vulkan"
vdpau wayland x11 vulkan"
build_options_default="alsa jack lua pulseaudio sndio vdpau wayland x11 vulkan"
desc_option_caca="Enable support for libcaca video output"
desc_option_oss="Enable support for OSS audio output"
vopt_conflict sdl2 wayland
if [ -z "$CROSS_BUILD" ]; then
configure_args+=" --enable-zsh-comp"
configure_args+=" --zshdir=/usr/share/zsh/site-functions"
fi
pre_configure() {