diff options
author | wm4 <wm4@nowhere> | 2014-06-20 19:21:18 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-06-20 19:26:04 +0200 |
commit | 05fd3e701b50364dd032d3fff2b1a607e2c6f239 (patch) | |
tree | 49fb3a0619f58d518f3a644f16506c1d2badc9f2 /wscript_build.py | |
parent | af9e40119de07d78bf8ed7f95d727627352f979d (diff) | |
download | mpv-05fd3e701b50364dd032d3fff2b1a607e2c6f239.tar.bz2 mpv-05fd3e701b50364dd032d3fff2b1a607e2c6f239.tar.xz |
client API: declare as stable
It is reasonably stable, so all further changes will be versioned.
Also change how the libmpv version number is generated. Fix the patch
version number to 0; I don't think we have a use for this. In
particular, the version doesn't version mpv, just the client API.
Diffstat (limited to 'wscript_build.py')
-rw-r--r-- | wscript_build.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/wscript_build.py b/wscript_build.py index 33e68589a5..88c836e278 100644 --- a/wscript_build.py +++ b/wscript_build.py @@ -448,9 +448,7 @@ def build(ctx): ctx.path.find_node("libmpv/client.h").read(), re.M) .group(1), 16) - libversion = (str(vnum >> 24) + '.' + - str((vnum >> 16) & 0xff) + '.' + - str(vnum & 0xffff)) + libversion = str(vnum >> 16) + '.' + str(vnum & 0xffff) + '.0' def _build_libmpv(shared): features = "c " |