mpv: update to 0.5.1.

This commit is contained in:
Juan RP 2014-08-28 00:05:03 +02:00
parent f7d242f6f3
commit 7c8d41cc7b

View file

@ -1,6 +1,6 @@
# Template file for 'mpv'
pkgname=mpv
version=0.5.0
version=0.5.1
revision=1
short_desc="Video player based on MPlayer/mplayer2"
maintainer="Juan RP <xtraeme@gmail.com>"
@ -16,20 +16,18 @@ makedepends="
depends="desktop-file-utils hicolor-icon-theme"
conf_files="/etc/mpv/encoding-profiles.conf"
distfiles="https://github.com/mpv-player/${pkgname}/archive/v${version}.tar.gz"
checksum=263d105c1707ae5fb9eedac030b4f8f4e6e3f9c000c074c615397a54bb61b59e
checksum=c15073221efa9ec91a067dcbc801b71b5b9bd77e907eaf1e97fd5e9a4eaf256f
pre_configure() {
python bootstrap.py
sed -i 's,vendor-completions,site-functions,' wscript_build.py
sed -i 's,/usr/local/etc/mpv.conf,/etc/mpv/mpv.conf,' etc/example.conf
}
do_configure() {
python waf configure --prefix=/usr --confdir=/etc/mpv --enable-zsh-comp \
--enable-joystick --enable-cdda --disable-libbs2b --disable-portaudio \
--disable-oss-audio --disable-sdl2
}
post_install() {
vsconf etc/input.conf
vsconf etc/example.conf