blob: 792ee681682391975ef62e7dc5efc79f1e2f797b (
plain)
1 # Description: General Purpose video player based on MPlayer and mplayer2
2 # URL: http://mpv.io
3 # Maintainer: Maximilian Dietrich, dxm at openmailbox dot org
4 # Depends on: libass ffmpeg docutils
5 # Nice to have: libquvi libdvdread
6
7 name=mpv
8 version=0.2.1
9 release=1
10 source=(https://github.com/$name-player/$name/archive/v$version.tar.gz)
11
12 build () {
13 cd $name-$version
14
15 # custom CFLAGS LDFLAGS might break the build
16 unset CFLAGS LDFLAGS
17 ./configure \
18 --prefix=/usr \
19 --mandir=/usr/man \
20 --disable-lircc \
21 --disable-joystick \
22 --disable-radio \
23 --disable-radio-capture \
24 --disable-radio-v4l2 \
25 --disable-rpath \
26 --disable-libbs2b \
27 --disable-direct3d \
28 --disable-corevideo \
29 --disable-cocoa \
30 --disable-coreaudio
31
32 make
33 make DESTDIR=$PKG \
34 install
35 }
|