shithub: dav1d

Download patch

ref: c2ade34fb266c5090f1a2022145cb99e9e21f263
parent: 3634ef1f40eef737a9ec0b3d7d10bfe3b083a302
author: Hugo Beauzée-Luyssen <[email protected]>
date: Fri Sep 28 07:26:48 EDT 2018

meson: Extract version components

--- a/meson.build
+++ b/meson.build
@@ -27,6 +27,11 @@
     default_options: ['c_std=c99'],
     meson_version: '>= 0.47.0')
 
+dav1d_version_array    = meson.project_version().split('.')
+dav1d_version_major    = dav1d_version_array[0]
+dav1d_version_minor    = dav1d_version_array[1]
+dav1d_version_revision = dav1d_version_array[2]
+
 dav1d_src_root = meson.current_source_dir()
 cdata = configuration_data()
 cdata_asm = configuration_data()