shithub: dav1d

Download patch

ref: 1a00be48bda44708e02f8dadb4b9cfacd9e2f78c
parent: 6649ca3f96cdb1597f0a98e3cb85b60f0e82f987
author: Marvin Scholz <epirat07@gmail.com>
date: Sat Sep 29 08:40:41 EDT 2018

Build: Add option to disable building tools

--- a/meson_options.txt
+++ b/meson_options.txt
@@ -9,3 +9,8 @@
     type: 'boolean',
     value: true,
     description: 'Build asm files, if available')
+
+option('build_tools',
+    type: 'boolean',
+    value: true,
+    description: 'Build dav1d cli tools')
--- a/tools/meson.build
+++ b/tools/meson.build
@@ -26,6 +26,11 @@
 # Build definition for the dav1d tools
 #
 
+# Leave subdir if tools are disabled
+if not get_option('build_tools')
+    subdir_done()
+endif
+
 # dav1d cli tool sources
 dav1d_sources = files(
     'dav1d.c',