From 53db844f5c8c3d0a6752bb40f65c613020084541 Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Mon, 30 Dec 2013 03:34:59 +0000 Subject: Mon Dec 30 03:31:50 UTC 2013 --- community/mpv/PKGBUILD | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) (limited to 'community/mpv') diff --git a/community/mpv/PKGBUILD b/community/mpv/PKGBUILD index a6683683b..ba55e1e7a 100644 --- a/community/mpv/PKGBUILD +++ b/community/mpv/PKGBUILD @@ -1,50 +1,49 @@ -# $Id: PKGBUILD 103161 2013-12-28 10:21:00Z bpiotrowski $ +# $Id: PKGBUILD 103194 2013-12-29 19:04:18Z bpiotrowski $ # Maintainer: Bartłomiej Piotrowski # Contributor: Eivind Uggedal pkgname=mpv -pkgver=0.2.4 -pkgrel=4 +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' 'lua' + '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') +makedepends=('mesa' 'python-docutils' 'waf') options=('!emptydirs' '!buildflags') install=mpv.install source=(https://github.com/mpv-player/$pkgname/archive/v$pkgver.tar.gz) -md5sums=('465e99ed24478f3a2afe5ae1c4fdd7f4') +md5sums=('47c9ea5fc8cf0c15cc6a15631bfbc770') build() { cd $pkgname-$pkgver - ./configure --prefix=/usr \ + waf configure --prefix=/usr \ --confdir=/etc/mpv \ --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 -- cgit v1.2.3-54-g00ecf