shithub: dav1d

Download patch

ref: d85fdf524dc88e0d9b3bb2bf4d45089c46d3abf0
parent: 5173de3032572e7aabdfacf0c0fac2a9a65fab8c
author: Janne Grunau <[email protected]>
date: Sun Sep 20 08:19:10 EDT 2020

build: increase minimal meson to 0.49

Fixes #350.

--- a/meson.build
+++ b/meson.build
@@ -28,7 +28,7 @@
                       'warning_level=2',
                       'buildtype=release',
                       'b_ndebug=if-release'],
-    meson_version: '>= 0.47.0')
+    meson_version: '>= 0.49.0')
 
 dav1d_soname_version       = '5.0.0'
 dav1d_api_version_array    = dav1d_soname_version.split('.')
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -31,8 +31,6 @@
     subdir_done()
 endif
 
-libdav1d_nasm_objs_if_needed = []
-
 if is_asm_enabled
     checkasm_sources = files(
         'checkasm/checkasm.c',
@@ -73,14 +71,9 @@
 
     m_lib = cc.find_library('m', required: false)
 
-    if meson.version().version_compare('< 0.48.999')
-        libdav1d_nasm_objs_if_needed = libdav1d_nasm_objs
-    endif
-
     checkasm = executable('checkasm',
         checkasm_sources,
         checkasm_nasm_objs,
-        libdav1d_nasm_objs_if_needed,
 
         objects: [
             checkasm_bitdepth_objs,
@@ -132,9 +125,7 @@
 
 
 # fuzzing binaries
-if meson.version().version_compare('>=0.49')
-    subdir('libfuzzer')
-endif
+subdir('libfuzzer')
 
 # Include dav1d test data repository with additional tests
 if get_option('testdata_tests')