summaryrefslogtreecommitdiff
path: root/community/mpv
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2013-12-30 03:34:59 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2013-12-30 03:34:59 +0000
commit53db844f5c8c3d0a6752bb40f65c613020084541 (patch)
treed910e83c076bbb5d07951bceaf8570aa2bcdea90 /community/mpv
parentce34930a04e783323d0a92208729b9e5fa1994c5 (diff)
Mon Dec 30 03:31:50 UTC 2013
Diffstat (limited to 'community/mpv')
-rw-r--r--community/mpv/PKGBUILD25
1 files changed, 12 insertions, 13 deletions
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 <nospam@bpiotrowski.pl>
# Contributor: Eivind Uggedal <eivind@uggedal.com>
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