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.
This commit is contained in:
wm4
2014-06-20 19:21:18 +02:00
parent af9e40119d
commit 05fd3e701b
2 changed files with 7 additions and 13 deletions

View File

@@ -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 "