diff options
Diffstat (limited to 'community/mpv/PKGBUILD')
-rw-r--r-- | community/mpv/PKGBUILD | 32 |
1 files changed, 14 insertions, 18 deletions
diff --git a/community/mpv/PKGBUILD b/community/mpv/PKGBUILD index 4ea19c68e..ba55e1e7a 100644 --- a/community/mpv/PKGBUILD +++ b/community/mpv/PKGBUILD @@ -1,53 +1,49 @@ -# $Id: PKGBUILD 100387 2013-11-03 11:15:18Z bpiotrowski $ +# $Id: PKGBUILD 103194 2013-12-29 19:04:18Z bpiotrowski $ # Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl> # Contributor: Eivind Uggedal <eivind@uggedal.com> pkgname=mpv -pkgver=0.2.2 +pkgver=0.3.0 pkgrel=1 pkgdesc='Video player based on MPlayer/mplayer2' arch=('i686' 'x86_64') license=('GPL') url='http://mpv.io' depends=( - 'portaudio' 'ffmpeg' 'lcms2' 'libdvdread' 'libcdio-paranoia' 'libxinerama' - 'libquvi' 'mpg123' 'libxv' 'libxkbcommon' 'libva' 'lirc-utils' - 'desktop-file-utils' 'hicolor-icon-theme' 'xdg-utils' 'lua51' + 'portaudio' 'ffmpeg' 'lcms2' 'libdvdread' 'libcdio-paranoia' 'libquvi' + 'libxinerama' 'mpg123' 'libxv' 'libxkbcommon' 'libva' 'lirc-utils' + 'desktop-file-utils' 'hicolor-icon-theme' 'xdg-utils' 'lua' 'libdvdnav' ) -makedepends=('mesa' 'python-docutils') -options=(!emptydirs) +makedepends=('mesa' 'python-docutils' 'waf') +options=('!emptydirs' '!buildflags') install=mpv.install source=(https://github.com/mpv-player/$pkgname/archive/v$pkgver.tar.gz) -md5sums=('632d1ee368fe7355563047bbdcd7b08a') +md5sums=('47c9ea5fc8cf0c15cc6a15631bfbc770') build() { - unset CFLAGS - unset LDFLAGS - cd $pkgname-$pkgver - ./configure --prefix=/usr \ + waf configure --prefix=/usr \ --confdir=/etc/mpv \ - --disable-lircc \ - --disable-joystick \ + --enable-joystick \ + --enable-wayland \ --disable-radio \ --disable-radio-capture \ --disable-radio-v4l2 \ - --disable-rpath \ --disable-libbs2b \ --disable-direct3d \ --disable-corevideo \ --disable-cocoa \ --disable-coreaudio - make + waf build } package() { cd $pkgname-$pkgver - make -j1 DESTDIR="$pkgdir" install + waf install --destdir="$pkgdir" install -d "$pkgdir"/usr/share/doc/mpv/examples - install -m644 etc/{input,example,encoding-example-profiles}.conf \ + install -m644 etc/{input,example}.conf \ "$pkgdir"/usr/share/doc/mpv/examples install -m644 DOCS/{encoding.rst,tech-overview.txt} \ "$pkgdir"/usr/share/doc/mpv |