Return-Path: Received: from mailout4.zoneedit.com (mailout4.zoneedit.com [64.68.198.64]) by arago-project.org (Postfix) with ESMTPS id 383CC52A29 for ; Wed, 8 Apr 2020 00:47:25 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mailout4.zoneedit.com (Postfix) with ESMTP id 3372D40A6E; Wed, 8 Apr 2020 00:45:11 +0000 (UTC) Received: from mailout4.zoneedit.com ([127.0.0.1]) by localhost (zmo14-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aYok5x6PSN0d; Wed, 8 Apr 2020 00:45:11 +0000 (UTC) Received: from mail.denix.org (pool-100-15-86-127.washdc.fios.verizon.net [100.15.86.127]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailout4.zoneedit.com (Postfix) with ESMTPSA id 204F540C1F; Wed, 8 Apr 2020 00:45:10 +0000 (UTC) Received: from gimli.denix (unknown [192.168.30.6]) by mail.denix.org (Postfix) with ESMTP id C5BE5171901; Tue, 7 Apr 2020 20:45:08 -0400 (EDT) From: Denys Dmytriyenko To: meta-arago@arago-project.org Date: Tue, 7 Apr 2020 20:44:44 -0400 Message-Id: <1586306702-7953-6-git-send-email-denis@denix.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1586306702-7953-1-git-send-email-denis@denix.org> References: <1586306702-7953-1-git-send-email-denis@denix.org> Subject: [master][PATCH 06/24] point-cloud-viewer: require opencv distro feature X-BeenThere: meta-arago@arago-project.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Arago metadata layer for TI SDKs - OE-Core/Yocto compatible List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Apr 2020 00:47:27 -0000 From: Denys Dmytriyenko Signed-off-by: Denys Dmytriyenko --- .../recipes-apps/point-cloud-viewer/point-cloud-viewer_git.bb | 4 ++++ .../recipes-core/matrix/matrix-gui-machinevision-demos_2.0.bb | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/meta-arago-extras/recipes-apps/point-cloud-viewer/point-cloud-viewer_git.bb b/meta-arago-extras/recipes-apps/point-cloud-viewer/point-cloud-viewer_git.bb index baac49e..6e4394b 100644 --- a/meta-arago-extras/recipes-apps/point-cloud-viewer/point-cloud-viewer_git.bb +++ b/meta-arago-extras/recipes-apps/point-cloud-viewer/point-cloud-viewer_git.bb @@ -3,6 +3,10 @@ HOMEPAGE = "https://git.ti.com/processor-sdk/point-cloud-viewer/" LICENSE = "TI-TSPA" LIC_FILES_CHKSUM := "file://PointCloudViewer_manifest.html;md5=7ea694db2dd8d82fd91a18cab8c2c2db" +inherit features_check + +REQUIRED_DISTRO_FEATURES = "opencv" + PR = "r2" COMPATIBLE_MACHINE = "dra7xx" diff --git a/meta-arago-extras/recipes-core/matrix/matrix-gui-machinevision-demos_2.0.bb b/meta-arago-extras/recipes-core/matrix/matrix-gui-machinevision-demos_2.0.bb index d164c71..25b1158 100644 --- a/meta-arago-extras/recipes-core/matrix/matrix-gui-machinevision-demos_2.0.bb +++ b/meta-arago-extras/recipes-core/matrix/matrix-gui-machinevision-demos_2.0.bb @@ -28,7 +28,7 @@ RDEPENDS_matrix-machinevision-demo-dlp3dscanner = " \ " RDEPENDS_matrix-machinevision-demo-dlp3dscanner_append_dra7xx = " \ - ${@bb.utils.contains('MACHINE_FEATURES','gpu','point-cloud-viewer','',d)} \ + ${@['','point-cloud-viewer'][oe.utils.all_distro_features(d, 'opencv', True, False) and bb.utils.contains('MACHINE_FEATURES', 'gpu', True, False, d)]} \ " RDEPENDS_matrix-machinevision-demo-barcoderoi = " \ -- 2.7.4