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