mpv: add vulkan build_option and enable it by default.
This commit is contained in:
parent
cb4ad3d201
commit
bb4abad4e4
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'mpv'
|
||||
pkgname=mpv
|
||||
version=0.29.0
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=waf
|
||||
configure_args="--confdir=/etc/mpv --docdir=/usr/share/examples/mpv
|
||||
--enable-dvdread --enable-dvdnav --enable-cdda --enable-libmpv-shared
|
||||
|
@ -10,7 +10,7 @@ configure_args="--confdir=/etc/mpv --docdir=/usr/share/examples/mpv
|
|||
$(vopt_enable pulseaudio pulse) $(vopt_enable sdl2)
|
||||
$(vopt_enable smb libsmbclient) $(vopt_enable sndio) $(vopt_enable v4l2 tv)
|
||||
$(vopt_enable vapoursynth) $(vopt_enable vdpau) $(vopt_enable wayland)
|
||||
$(vopt_enable x11)"
|
||||
$(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
|
||||
|
@ -22,7 +22,8 @@ makedepends="MesaLib-devel ffmpeg-devel harfbuzz-devel lcms2-devel libXv-devel
|
|||
$(vopt_if v4l2 v4l-utils-devel) $(vopt_if vapoursynth vapoursynth-devel)
|
||||
$(vopt_if vdpau libvdpau-devel) $(vopt_if wayland "wayland-devel
|
||||
wayland-protocols libwayland-egl libxkbcommon-devel")
|
||||
$(vopt_if x11 "libXScrnSaver-devel libXinerama-devel libXrandr-devel")"
|
||||
$(vopt_if x11 "libXScrnSaver-devel libXinerama-devel libXrandr-devel")
|
||||
$(vopt_if vulkan 'Vulkan-Headers vulkan-loader shaderc')"
|
||||
depends="desktop-file-utils hicolor-icon-theme $(vopt_if vapoursynth vapoursynth-mvtools)"
|
||||
short_desc="Video player based on MPlayer/mplayer2"
|
||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||
|
@ -32,8 +33,8 @@ distfiles="https://github.com/mpv-player/${pkgname}/archive/v${version}.tar.gz"
|
|||
checksum=772af878cee5495dcd342788a6d120b90c5b1e677e225c7198f1e76506427319
|
||||
|
||||
build_options="alsa caca jack lua oss pulseaudio sdl2 smb sndio vapoursynth
|
||||
vdpau v4l2 wayland x11"
|
||||
build_options_default="alsa jack lua pulseaudio sndio vdpau wayland x11 v4l2"
|
||||
vdpau v4l2 wayland x11 vulkan"
|
||||
build_options_default="alsa jack lua pulseaudio sndio vdpau wayland x11 v4l2 vulkan"
|
||||
desc_option_caca="Enable support for libcaca video output"
|
||||
desc_option_oss="Enable support for OSS audio output"
|
||||
vopt_conflict sdl2 wayland
|
||||
|
|
Loading…
Reference in New Issue