2013-08-19 20:26:13 +02:00
|
|
|
# Description: General Purpose video player based on MPlayer and mplayer2
|
|
|
|
# URL: http://mpv.io
|
|
|
|
# Maintainer: Maximilian Dietrich, dxm at openmailbox dot org
|
2014-06-30 11:16:04 +02:00
|
|
|
# Depends on: libass ffmpeg docutils python
|
2013-12-31 19:22:18 +01:00
|
|
|
# Nice to have: libquvi libdvdread libdvdnav
|
2013-08-19 20:26:13 +02:00
|
|
|
|
|
|
|
name=mpv
|
2015-01-27 11:50:38 +00:00
|
|
|
version=0.7.3
|
2013-11-08 12:30:17 +01:00
|
|
|
release=1
|
2013-08-19 20:26:13 +02:00
|
|
|
source=(https://github.com/$name-player/$name/archive/v$version.tar.gz)
|
|
|
|
|
|
|
|
build () {
|
2013-08-25 14:40:25 +02:00
|
|
|
cd $name-$version
|
2013-08-19 20:26:13 +02:00
|
|
|
|
2014-06-30 11:16:04 +02:00
|
|
|
./bootstrap.py
|
|
|
|
./waf configure \
|
2013-08-25 14:40:25 +02:00
|
|
|
--prefix=/usr \
|
|
|
|
--mandir=/usr/man \
|
|
|
|
--disable-joystick \
|
|
|
|
--disable-direct3d \
|
|
|
|
--disable-cocoa \
|
|
|
|
--disable-coreaudio
|
2013-08-19 20:26:13 +02:00
|
|
|
|
2014-06-30 11:16:04 +02:00
|
|
|
./waf build
|
|
|
|
./waf install --destdir=$PKG
|
2014-10-12 17:28:37 +02:00
|
|
|
rm -rf $PKG/usr/share/doc
|
2013-08-19 20:26:13 +02:00
|
|
|
}
|