]> git.pld-linux.org Git - packages/mpv.git/commitdiff
- up to 0.5.0 auto/th/mpv-0.5.0-1
authorJan Palus <atler@pld-linux.org>
Tue, 12 Aug 2014 17:34:56 +0000 (19:34 +0200)
committerJan Palus <atler@pld-linux.org>
Tue, 12 Aug 2014 17:34:56 +0000 (19:34 +0200)
- patch for building with system waf

mpv-wafsyms.patch [new file with mode: 0644]
mpv.spec

diff --git a/mpv-wafsyms.patch b/mpv-wafsyms.patch
new file mode 100644 (file)
index 0000000..34e31a8
--- /dev/null
@@ -0,0 +1,13 @@
+--- mpv-0.5.0.orig/wscript_build.py    2014-08-12 18:58:12.336633168 +0200
++++ mpv-0.5.0/wscript_build.py 2014-08-12 19:05:20.233234905 +0200
+@@ -451,7 +451,9 @@
+     build_static = ctx.dependency_satisfied('libmpv-static')
+     if build_shared or build_static:
+         if build_shared:
+-            ctx.load("syms")
++            import os
++            waftoolsdir = os.path.dirname(__file__) + os.sep + "waftools"
++            ctx.load("syms", tooldir=waftoolsdir)
+         vre = '^#define MPV_CLIENT_API_VERSION MPV_MAKE_VERSION\((.*), (.*)\)$'
+         libmpv_header = ctx.path.find_node("libmpv/client.h").read()
+         major, minor = re.search(vre, libmpv_header, re.M).groups()
index c32dc2df895e9ea86b32201aa764f4bbfda9116e..f7041fb375ebb1999f5ea98a51b6d80e428eeb5e 100644 (file)
--- a/mpv.spec
+++ b/mpv.spec
@@ -1,14 +1,15 @@
 Summary:       Movie player based on MPlayer and mplayer2
 Name:          mpv
-Version:       0.4.2
+Version:       0.5.0
 Release:       1
 License:       GPL v2+
 Group:         Applications/Multimedia
 Source0:       http://github.com/mpv-player/mpv/archive/v%{version}.tar.gz?/%{name}-%{version}.tar.gz
-# Source0-md5: b10a95e579962d8f514cd78fb9e37a2b
+# Source0-md5: 85e4895dfdce888fb436e7c217958b8b
 Source1:       %{name}.conf
 Patch0:                %{name}-zshcompdir.patch
 Patch1:                %{name}-lua.patch
+Patch2:                %{name}-wafsyms.patch
 URL:           http://mpv.io/
 BuildRequires: Mesa-libwayland-egl-devel >= 9.0.0
 BuildRequires: OpenAL-devel >= 1.13
@@ -95,6 +96,7 @@ zsh-completion for mpv.
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 %waf configure \
This page took 0.212372 seconds and 4 git commands to generate.