From patchwork Mon Feb 16 15:11:05 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Barnab=C3=A1s_P=C5=91cze?= X-Patchwork-Id: 26162 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id ABE82C0DA4 for ; Mon, 16 Feb 2026 15:11:11 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id D622D62201; Mon, 16 Feb 2026 16:11:10 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="FkZzyc2t"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 2D8F662084 for ; Mon, 16 Feb 2026 16:11:09 +0100 (CET) Received: from pb-laptop.local (185.221.141.206.nat.pool.zt.hu [185.221.141.206]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 49A3B250 for ; Mon, 16 Feb 2026 16:10:18 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1771254618; bh=uD1ZRKrdEVC1F+uyF+DX0AMmViafrvKD4O4pp38nyIQ=; h=From:To:Subject:Date:From; b=FkZzyc2t1iWPA4AH0T/nYsNGPSEU+9ww73muaUGoLTL3GdpFJttJni4KlB9V2BZvx yCGZOWWAaOTv1gFymima67VG7hjzZZTef9GRNtEDstmkmvtEUIaawBwxXf17INts8l LxKbUcpgE+SqRQX2YGPA8Fgkq7n9Zr8OWzSklZ+I= From: =?utf-8?q?Barnab=C3=A1s_P=C5=91cze?= To: libcamera-devel@lists.libcamera.org Subject: [PATCH v2] meson: Add `apps-output-dng` option to control libtiff dependency Date: Mon, 16 Feb 2026 16:11:05 +0100 Message-ID: <20260216151105.502264-1-barnabas.pocze@ideasonboard.com> X-Mailer: git-send-email 2.53.0 MIME-Version: 1.0 X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" 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 --- changes in v2: * rename option v1: https://patchwork.libcamera.org/patch/26056/ --- meson_options.txt | 5 +++++ src/apps/meson.build | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) -- 2.53.0 diff --git a/meson_options.txt b/meson_options.txt index c27e377ad..f1dbfcee5 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -11,6 +11,11 @@ option('android_platform', value : 'generic', description : 'Select the Android platform to compile for') +option('apps-output-dng', + type : 'feature', + value : 'auto', + description : 'Enable DNG file creation support in the cam and qcam applications') + option('cam', type : 'feature', value : 'auto', diff --git a/src/apps/meson.build b/src/apps/meson.build index af632b9a7..bc3a79196 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')