mpv: update to 0.28.2.
This commit is contained in:
parent
a5d7bff55b
commit
d89ec79c6b
|
@ -1,30 +1,44 @@
|
||||||
# Template file for 'mpv'
|
# Template file for 'mpv'
|
||||||
pkgname=mpv
|
pkgname=mpv
|
||||||
version=0.27.2
|
version=0.28.2
|
||||||
revision=2
|
revision=1
|
||||||
build_options="smb vapoursynth"
|
|
||||||
short_desc="Video player based on MPlayer/mplayer2"
|
short_desc="Video player based on MPlayer/mplayer2"
|
||||||
|
build_options="alsa caca jack lua oss pulseaudio sdl sdl2 smb sndio vapoursynth
|
||||||
|
vdpau v4l2 wayland x11"
|
||||||
|
build_options_default="alsa jack lua pulseaudio sndio vdpau wayland x11 v4l2"
|
||||||
|
desc_option_caca="Enable support for libcaca video output"
|
||||||
|
desc_option_oss="Enable support for OSS audio output"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
license="GPL-2, LGPL-2.1"
|
license="GPL-2.0-or-later"
|
||||||
homepage="https://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-dvdread --enable-dvdnav --enable-cdda --enable-libmpv-shared
|
--enable-dvdread --enable-dvdnav --enable-cdda --enable-libmpv-shared
|
||||||
--enable-dvbin --enable-tv --enable-sndio
|
--enable-dvbin $(vopt_enable alsa) $(vopt_enable caca) $(vopt_enable jack)
|
||||||
--disable-oss-audio --disable-sdl2
|
$(vopt_enable lua) $(vopt_enable oss oss-audio)
|
||||||
$(vopt_enable smb libsmbclient) $(vopt_enable vapoursynth)"
|
$(vopt_enable pulseaudio pulse) $(vopt_enable sdl sdl1) $(vopt_enable sdl2)
|
||||||
hostmakedepends="pkg-config python-docutils perl"
|
$(vopt_enable smb libsmbclient) $(vopt_enable sndio) $(vopt_enable v4l2 tv)
|
||||||
makedepends="
|
$(vopt_enable vapoursynth) $(vopt_enable vdpau) $(vopt_enable wayland)
|
||||||
ffmpeg-devel libass-devel lcms2-devel libXinerama-devel lua52-devel v4l-utils-devel
|
$(vopt_enable x11)"
|
||||||
libXv-devel libxkbcommon-devel libva-glx-devel libvdpau-devel alsa-lib-devel
|
hostmakedepends="pkg-config python-docutils perl $(vopt_if wayland wayland-devel)"
|
||||||
pulseaudio-devel libbluray-devel libcdio-paranoia-devel libdvdread-devel
|
makedepends="MesaLib-devel ffmpeg-devel harfbuzz-devel lcms2-devel libXv-devel
|
||||||
MesaLib-devel harfbuzz-devel libXScrnSaver-devel jack-devel libdvdnav-devel
|
libass-devel libbluray-devel libcdio-paranoia-devel libdvdnav-devel
|
||||||
wayland-devel libwayland-egl libuuid-devel libguess-devel libXrandr-devel
|
libdvdread-devel libguess-devel libuuid-devel libva-glx-devel rubberband-devel
|
||||||
rubberband-devel sndio-devel
|
$(vopt_if alsa alsa-lib-devel) $(vopt_if caca libcaca-devel)
|
||||||
$(vopt_if smb samba-devel) $(vopt_if vapoursynth vapoursynth-devel)"
|
$(vopt_if jack jack-devel) $(vopt_if lua lua52-devel)
|
||||||
|
$(vopt_if pulseaudio pulseaudio-devel) $(vopt_if sdl SDL-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 vdpau libvdpau-devel)
|
||||||
|
$(vopt_if wayland "wayland-devel wayland-protocols libwayland-egl
|
||||||
|
libxkbcommon-devel")
|
||||||
|
$(vopt_if x11 "libXScrnSaver-devel libXinerama-devel libXrandr-devel")
|
||||||
|
"
|
||||||
depends="desktop-file-utils hicolor-icon-theme $(vopt_if vapoursynth vapoursynth-mvtools)"
|
depends="desktop-file-utils hicolor-icon-theme $(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=2ad104d83fd3b2b9457716615acad57e479fd1537b8fc5e37bfe9065359b50be
|
checksum=aada14e025317b5b3e8e58ffaf7902e8b6e4ec347a93d25a7c10d3579426d795
|
||||||
|
vopt_conflict sdl sdl2
|
||||||
|
vopt_conflict sdl2 wayland
|
||||||
|
|
||||||
if [ -z "$CROSS_BUILD" ]; then
|
if [ -z "$CROSS_BUILD" ]; then
|
||||||
configure_args+=" --enable-zsh-comp"
|
configure_args+=" --enable-zsh-comp"
|
||||||
|
|
Loading…
Reference in New Issue