From 9d9da647d270b7f1c9488aa1a03691bcc3bc26c1 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 26 Jun 2014 11:33:12 +0200 Subject: [PATCH] mpv: update to 0.4.0. --- srcpkgs/mpv/template | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/srcpkgs/mpv/template b/srcpkgs/mpv/template index d158d32dbd7..4a0d13718d2 100644 --- a/srcpkgs/mpv/template +++ b/srcpkgs/mpv/template @@ -1,6 +1,6 @@ # Template file for 'mpv' pkgname=mpv -version=0.3.11 +version=0.4.0 revision=1 short_desc="Video player based on MPlayer/mplayer2" maintainer="Juan RP " @@ -12,18 +12,19 @@ hostmakedepends="which pkg-config python-docutils" makedepends="ffmpeg-devel>=2.1 libass-devel lcms2-devel libXinerama-devel libquvi-devel mpg123-devel libXv-devel libxkbcommon-devel libva-devel libvdpau-devel alsa-lib-devel libbluray-devel libcdio-devel libdvdread-devel pulseaudio-devel MesaLib-devel - harfbuzz-devel libXScrnSaver-devel jack-devel desktop-file-utils hicolor-icon-theme" + harfbuzz-devel libXScrnSaver-devel jack-devel libdvdnav-devel wayland-devel + desktop-file-utils hicolor-icon-theme" depends="desktop-file-utils hicolor-icon-theme" +conf_files="/etc/mpv/encoding-profiles.conf" do_fetch() { git clone -b v${version} git://github.com/mpv-player/mpv.git mpv-${version} } - +pre_configure() { + sed -e 's,rst2man.py,rst2man,' -i old-configure +} do_configure() { ./old-configure --prefix=/usr --confdir=/etc/mpv --enable-joystick \ - --disable-radio --disable-radio-capture --disable-radio-v4l2 \ - --disable-libbs2b --disable-direct3d --disable-corevideo \ - --disable-coreaudio --disable-portaudio --disable-ossaudio \ - --disable-sdl2 --disable-wayland --disable-rpath \ - --disable-sdl --disable-cocoa + --disable-libbs2b --disable-portaudio --disable-ossaudio \ + --disable-sdl2 }