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
|
|
|
|
# Depends on: libass ffmpeg docutils
|
2013-12-31 19:22:18 +01:00
|
|
|
# Nice to have: libquvi libdvdread libdvdnav
|
2013-08-19 20:26:13 +02:00
|
|
|
|
|
|
|
name=mpv
|
2014-01-01 22:49:17 +01:00
|
|
|
version=0.3.1
|
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
|
|
|
|
|
|
|
# custom CFLAGS LDFLAGS might break the build
|
|
|
|
unset CFLAGS LDFLAGS
|
2013-12-31 19:22:18 +01:00
|
|
|
./old-configure \
|
2013-08-25 14:40:25 +02:00
|
|
|
--prefix=/usr \
|
|
|
|
--mandir=/usr/man \
|
|
|
|
--disable-joystick \
|
|
|
|
--disable-radio \
|
|
|
|
--disable-radio-capture \
|
|
|
|
--disable-radio-v4l2 \
|
|
|
|
--disable-rpath \
|
|
|
|
--disable-libbs2b \
|
|
|
|
--disable-direct3d \
|
|
|
|
--disable-corevideo \
|
|
|
|
--disable-cocoa \
|
|
|
|
--disable-coreaudio
|
2013-08-19 20:26:13 +02:00
|
|
|
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG \
|
|
|
|
install
|
2013-11-05 23:37:25 +01:00
|
|
|
|
|
|
|
rm -rf $PKG/usr/share/doc
|
2013-08-19 20:26:13 +02:00
|
|
|
}
|