From patchwork Tue Aug 24 14:15:45 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 13457 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 8C53CBD87C 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 587A06890C; 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="VW2cEkos"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 3299468892 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 CBFF93F0 for ; Tue, 24 Aug 2021 16:16:07 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1629814567; bh=KlhEYFiLI7/xvu4yqxWpczMrjzcPMU5MUwClJxWbPz0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=VW2cEkosVcLYEpXkaAkk8d8cxVCWvATHX2DLwfWJpx1Z+w1Appx7mBGZUK6gaA4l4 5PdQbcRWt2D5vsMp08SRKCqeOX+hqybQIIrVobbONVCyJO7eFX8Ocb6EiF2/vfQfct FEGNUVHZAgWVKwEN8+O/PQ4YWqnWOlMnZkMAJGpg= From: Laurent Pinchart To: libcamera-devel@lists.libcamera.org Date: Tue, 24 Aug 2021 17:15:45 +0300 Message-Id: <20210824141546.10543-4-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 3/4] package: gentoo: Add USE flags to build documentation and tests 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" Add two new use flags, doc and test, to select building of documentation and tests instead of unconditionally disabling them. Signed-off-by: Laurent Pinchart --- package/gentoo/media-libs/libcamera/libcamera-9999.ebuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gentoo/media-libs/libcamera/libcamera-9999.ebuild b/package/gentoo/media-libs/libcamera/libcamera-9999.ebuild index 00bb0a501149..e627a09d50c7 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="udev" +IUSE="doc test udev" RDEPEND=" >=net-libs/gnutls-3.3:= @@ -29,8 +29,8 @@ DEPEND=" src_configure() { local emesonargs=( - -Ddocumentation=false - -Dtests=false + $(meson_feature doc documentation) + $(meson_use test) ) meson_src_configure }