contrib/mpv/Pkgfile

36 lines
854 B
Plaintext
Raw Normal View History

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-09-01 16:08:09 +02:00
version=0.1.4
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-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
}