#Packager: Dimitris Tzemos pkgname=mpv pkgver=0.35.1 pkgrel=1dj _wafver=2.0.23 source=("https://github.com/mpv-player/mpv/archive/refs/tags/v${pkgver}.tar.gz") docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") url=https://mpv.io/ slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "mpv (Video player based on MPlayer/mplayer2)" "mpv is a fork of mplayer2 and MPlayer. It shares some features with" "the former projects while introducing many more." ) build() { cd $startdir/src/$pkgname-$pkgver ./bootstrap.py ./waf configure --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --confdir=/etc/mpv \ --enable-cdda \ --enable-dvdnav \ --enable-libarchive \ --enable-sdl2 \ --enable-libmpv-shared ./waf build || return 1 ./waf install --destdir="$startdir/pkg" install -m644 DOCS/{encoding.rst,tech-overview.txt} \ "$startdir/pkg"/usr/share/doc/mpv }