contrib/mpv/Pkgfile

22 lines
499 B
Plaintext
Raw Normal View History

2013-08-19 20:26:13 +02:00
# Description: General Purpose video player based on MPlayer and mplayer2
2016-08-17 07:41:17 +02:00
# URL: http://mpv.io/
2016-06-10 10:50:46 +02:00
# Maintainer: Svyatoslav Mishyn, juef at openmailbox dot org
2015-03-23 13:26:36 +01:00
# Depends on: ffmpeg docutils
2016-08-17 07:41:17 +02:00
# Optional: libquvi libdvdread libdvdnav
2013-08-19 20:26:13 +02:00
name=mpv
2017-05-28 14:26:54 +02:00
version=0.25.0
2015-04-25 20:11:14 +02:00
release=1
2013-08-19 20:26:13 +02:00
source=(https://github.com/$name-player/$name/archive/v$version.tar.gz)
2016-06-10 11:02:55 +02:00
build() {
2013-08-25 14:40:25 +02:00
cd $name-$version
2013-08-19 20:26:13 +02:00
2015-03-23 13:15:23 +01:00
./bootstrap.py
2016-06-10 11:02:55 +02:00
./waf configure --prefix=/usr
2016-06-10 10:50:46 +02:00
2015-03-23 13:15:23 +01: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
}