From patchwork Fri Feb 23 17:47:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kieran Bingham X-Patchwork-Id: 19534 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 C2272C0F1B for ; Fri, 23 Feb 2024 17:47:27 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id E530B62813; Fri, 23 Feb 2024 18:47:25 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="ujblBtiB"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 3FAF461CA1 for ; Fri, 23 Feb 2024 18:47:23 +0100 (CET) Received: from Monstersaurus.local (aztw-30-b2-v4wan-166917-cust845.vm26.cable.virginm.net [82.37.23.78]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id CAAB514B1; Fri, 23 Feb 2024 18:47:13 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1708710433; bh=8mVtX8l+ezpYxLbdX2mHQU0eCEMZYgkNmWCPhM0zNqE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ujblBtiBRC0CvQuaENM1Div6uTl1z/4Rg1Jrbz2vXOiI+aRc5qasHlUDk2798ltqv pHIhigkJv7vld6tOtNb9UaCbeByPlVqi9kOZ6fLYprSXQZ8Y4Qmk93tAHNXCtlWl2H y/q1ZWLcd1a8heNXA9cTloqs8d71xvIPzs9I89S4= From: Kieran Bingham To: libcamera devel Subject: [PATCH v2 2/2] meson_options: Autodetect pycamera support Date: Fri, 23 Feb 2024 17:47:18 +0000 Message-Id: <20240223174718.198950-3-kieran.bingham@ideasonboard.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240223174718.198950-1-kieran.bingham@ideasonboard.com> References: <20240223174718.198950-1-kieran.bingham@ideasonboard.com> 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" The pycamera was defaulted to be disabled due to a requirement on a specialised branch of the pybind dependency. This requirement on a subproject has been removed and we can now build the pycamera component provided that the distribution packages pybind directly which is common. Enable the pycamera build option to be selected automatically when both Python and pybind are detected on the system. Signed-off-by: Kieran Bingham Reviewed-by: Laurent Pinchart --- meson_options.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson_options.txt b/meson_options.txt index 5fdc7be87a54..99dab96d7b21 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -53,7 +53,7 @@ option('pipelines', option('pycamera', type : 'feature', - value : 'disabled', + value : 'auto', description : 'Enable libcamera Python bindings (experimental)') option('qcam',