mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
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:
@@ -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 "
|
||||
|
||||
Reference in New Issue
Block a user