shithub: dav1d

Download patch

ref: 3634ef1f40eef737a9ec0b3d7d10bfe3b083a302
parent: 0b9808c5ccb572c12ba4a0950c575a577c803246
author: Hugo Beauzée-Luyssen <hugo@videolan.org>
date: Fri Sep 28 07:26:37 EDT 2018

meson: Don't hardcode the version multiple times

--- a/meson.build
+++ b/meson.build
@@ -285,7 +285,7 @@
 
 libdav1d = library('dav1d',
     libdav1d_sources, nasm_objs,
-    version: '0.0.1',
+    version: meson.project_version(),
     objects: [bitdepth_objs, entrypoints_objs],
     include_directories: dav1d_inc_dirs,
     c_args: [stackalign_flag],
@@ -325,7 +325,7 @@
 #
 pkg_mod = import('pkgconfig')
 pkg_mod.generate(libraries: libdav1d,
-    version: '0.0.1',
+    version: meson.project_version(),
     name: 'libdav1d',
     filebase: 'dav1d',
     description: 'AV1 decoding library'