From patchwork Tue Aug 24 14:15:46 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 13458 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 01914C3242 for ; Tue, 24 Aug 2021 14:16:12 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id BB3EA68915; Tue, 24 Aug 2021 16:16:12 +0200 (CEST) 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="jkqKylvk"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 79E6268892 for ; Tue, 24 Aug 2021 16:16:08 +0200 (CEST) Received: from pendragon.lan (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 260E42A5 for ; Tue, 24 Aug 2021 16:16:08 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1629814568; bh=Zpftkvc5IaWtRLrT44ArI7d1KWfEe3GopT14VtXE9Jw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=jkqKylvkE/uaqh0G4vHDTFPpbKqxqkxOrghWAqPD3zhIYZEM1+WWvoPRHaxP9kNQZ DApQ5Gym1GBoHTZknvZ18jqvuG+wzNTPTQO2h97dVOU7OJ25WM31zXn4e6VtnlIFxR nWGc2J0i8JTcPDgmKrmYFZcD9lis+vxqlfDG3cMo= From: Laurent Pinchart To: libcamera-devel@lists.libcamera.org Date: Tue, 24 Aug 2021 17:15:46 +0300 Message-Id: <20210824141546.10543-5-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210824141546.10543-1-laurent.pinchart@ideasonboard.com> References: <20210824141546.10543-1-laurent.pinchart@ideasonboard.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v1 4/4] package: gentoo: Select build type through debug USE flag 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" Make the build type selectable between debug and plain through the debug USE flag. Signed-off-by: Laurent Pinchart --- package/gentoo/media-libs/libcamera/libcamera-9999.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/gentoo/media-libs/libcamera/libcamera-9999.ebuild b/package/gentoo/media-libs/libcamera/libcamera-9999.ebuild index e627a09d50c7..ca216c0ae909 100644 --- a/package/gentoo/media-libs/libcamera/libcamera-9999.ebuild +++ b/package/gentoo/media-libs/libcamera/libcamera-9999.ebuild @@ -14,7 +14,7 @@ EGIT_BRANCH="master" LICENSE="LGPL-2.1+" SLOT="0" KEYWORDS="*" -IUSE="doc test udev" +IUSE="debug doc test udev" RDEPEND=" >=net-libs/gnutls-3.3:= @@ -31,6 +31,7 @@ src_configure() { local emesonargs=( $(meson_feature doc documentation) $(meson_use test) + --buildtype $(usex debug debug plain) ) meson_src_configure }