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
|
|
|
|
# Nice to have: libquvi libdvdread
|
|
|
|
|
|
|
|
name=mpv
|
2013-11-04 13:11:39 +01:00
|
|
|
version=0.2.2
|
2013-11-05 23:37:25 +01:00
|
|
|
release=2
|
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-08-25 14:40:25 +02:00
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--mandir=/usr/man \
|
|
|
|
--disable-lircc \
|
|
|
|
--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
|
|
|
}
|