# 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 libdvdnav name=mpv version=0.3.11 release=1 source=(https://github.com/$name-player/$name/archive/v$version.tar.gz) build () { cd $name-$version # custom CFLAGS LDFLAGS might break the build unset CFLAGS LDFLAGS ./old-configure \ --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 make make DESTDIR=$PKG \ install rm -rf $PKG/usr/share/doc }