From f9525c25fdba3b2768fe1a189ec4e2a7c36c113f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Barnab=C3=A1s=20P=C5=91cze?= Date: Fri, 30 Jan 2026 12:18:33 +0100 Subject: [PATCH] meson: Add `apps-output-dng` option to control libtiff dependency MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Previously it was not possible to disable the use of libtiff in the cam and qcam applications if it was detected. Fix that by adding a meson feature option. Signed-off-by: Barnabás Pőcze Reviewed-by: Kieran Bingham --- meson_options.txt | 5 +++++ src/apps/meson.build | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/meson_options.txt b/meson_options.txt index 8bf6c2bd..8049496e 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -62,6 +62,11 @@ option('libdw', value : 'auto', description : 'Enable libdw integration for backtrace symbolization') +option('apps-output-dng', + type : 'feature', + value : 'auto', + description : 'Enable DNG file creation support in the cam and qcam applications') + option('libunwind', type : 'feature', value : 'auto', diff --git a/src/apps/meson.build b/src/apps/meson.build index af632b9a..bc3a7919 100644 --- a/src/apps/meson.build +++ b/src/apps/meson.build @@ -10,7 +10,7 @@ if not libevent.found() libevent = dependency('libevent_pthreads', required : opt_lc_compliance) endif -libtiff = dependency('libtiff-4', required : false) +libtiff = dependency('libtiff-4', required : get_option('apps-output-dng')) subdir('common')