# Description: General Purpose video player based on MPlayer and mplayer2
# URL:         http://mpv.io
# Maintainer:  Maximilian Dietrich, dxm at openmailbox dot org
# Depends on:  libass ffmpeg docutils python
# Nice to have: libquvi libdvdread libdvdnav

name=mpv
version=0.4.2
release=1
source=(https://github.com/$name-player/$name/archive/v$version.tar.gz)

build () {
	cd $name-$version

	./bootstrap.py
	./waf configure \
		--prefix=/usr \
		--mandir=/usr/man \
      		--disable-joystick \
      		--disable-direct3d \
      		--disable-corevideo \
      		--disable-cocoa \
      		--disable-coreaudio
	
	./waf build
	./waf install --destdir=$PKG
}
