From 4db6106d00f0908c7c7ad602eda9eee3cc0fbc17 Mon Sep 17 00:00:00 2001 From: Dominik Honnef Date: Thu, 29 Oct 2015 15:05:07 +0100 Subject: [PATCH] mpv: update to 0.12.0 --- srcpkgs/mpv/template | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/srcpkgs/mpv/template b/srcpkgs/mpv/template index f6bb512915..2dc0b18678 100644 --- a/srcpkgs/mpv/template +++ b/srcpkgs/mpv/template @@ -1,7 +1,7 @@ # Template file for 'mpv' pkgname=mpv -version=0.11.0 -revision=3 +version=0.12.0 +revision=1 short_desc="Video player based on MPlayer/mplayer2" maintainer="Juan RP " license="GPL-2" @@ -19,7 +19,7 @@ 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=a2157174e46db46dad5deb1fde94283e72ebe922fd15447cb16a2a243fae5bda +checksum=df242044c749d850344f5499860d852849147f20c63d36d2cd678627bd8d6cc4 if [ -z "$CROSS_BUILD" ]; then configure_args+=" --enable-zsh-comp" @@ -28,6 +28,13 @@ fi pre_configure() { python bootstrap.py sed -i 's,/usr/local/etc/mpv.conf,/etc/mpv/mpv.conf,' etc/example.conf + + # TODO remove this patch once a new ffmpeg is out + # + # use "best" as default for youtube videos, not DASH. DASH in mpv + # >=0.12.0 needs fixes in ffmpeg, but ffmpeg hasn't been released + # yet. + sed -i 's,.lua_ytdl_format = NULL,.lua_ytdl_format = "best",' options/options.c } mpv-devel_package() {