]> git.pld-linux.org Git - packages/mpv.git/blob - mpv-wafsyms.patch
- up to 0.5.0
[packages/mpv.git] / mpv-wafsyms.patch
1 --- mpv-0.5.0.orig/wscript_build.py     2014-08-12 18:58:12.336633168 +0200
2 +++ mpv-0.5.0/wscript_build.py  2014-08-12 19:05:20.233234905 +0200
3 @@ -451,7 +451,9 @@
4      build_static = ctx.dependency_satisfied('libmpv-static')
5      if build_shared or build_static:
6          if build_shared:
7 -            ctx.load("syms")
8 +            import os
9 +            waftoolsdir = os.path.dirname(__file__) + os.sep + "waftools"
10 +            ctx.load("syms", tooldir=waftoolsdir)
11          vre = '^#define MPV_CLIENT_API_VERSION MPV_MAKE_VERSION\((.*), (.*)\)$'
12          libmpv_header = ctx.path.find_node("libmpv/client.h").read()
13          major, minor = re.search(vre, libmpv_header, re.M).groups()
This page took 0.060609 seconds and 3 git commands to generate.