From 05fd3e701b50364dd032d3fff2b1a607e2c6f239 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 20 Jun 2014 19:21:18 +0200 Subject: 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. --- wscript_build.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'wscript_build.py') 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 " -- cgit v1.2.3