From patchwork Wed Nov 20 17:39:43 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Preston X-Patchwork-Id: 1198372 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=codethink.co.uk Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 47J92w2q6Lz9sPJ for ; Thu, 21 Nov 2019 04:40:56 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 6DF0624C2A; Wed, 20 Nov 2019 17:40:54 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8kj7pgz85N6E; Wed, 20 Nov 2019 17:40:51 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 984C124074; Wed, 20 Nov 2019 17:40:51 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id EF92F1BF3D0 for ; Wed, 20 Nov 2019 17:40:03 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id E3C3287D80 for ; Wed, 20 Nov 2019 17:40:03 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FaevQ8HvPR5z for ; Wed, 20 Nov 2019 17:40:00 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from imap1.codethink.co.uk (imap1.codethink.co.uk [176.9.8.82]) by whitealder.osuosl.org (Postfix) with ESMTPS id AA3D487D57 for ; Wed, 20 Nov 2019 17:39:58 +0000 (UTC) Received: from [167.98.27.226] (helo=ts007-build.ts007.codethink.co.uk) by imap1.codethink.co.uk with esmtpsa (Exim 4.84_2 #1 (Debian)) id 1iXTxM-0008QV-RI; Wed, 20 Nov 2019 17:39:56 +0000 From: Thomas Preston To: buildroot@buildroot.org Date: Wed, 20 Nov 2019 17:39:43 +0000 Message-Id: <20191120173944.130142-30-thomas.preston@codethink.co.uk> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191120173944.130142-1-thomas.preston@codethink.co.uk> References: <20191120173944.130142-1-thomas.preston@codethink.co.uk> MIME-Version: 1.0 Subject: [Buildroot] [RFC PATCH v3 29/30] package/mesa3d: Add host package. X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Michael Drake Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: Michael Drake Signed-off-by: Michael Drake --- package/mesa3d/mesa3d.mk | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/package/mesa3d/mesa3d.mk b/package/mesa3d/mesa3d.mk index 6e7fa7692c..75e19fbfb8 100644 --- a/package/mesa3d/mesa3d.mk +++ b/package/mesa3d/mesa3d.mk @@ -13,6 +13,23 @@ MESA3D_LICENSE_FILES = docs/license.html MESA3D_INSTALL_STAGING = YES +HOST_MESA3D_DEPENDENCIES += \ + host-libdrm \ + host-libxcb \ + host-xlib_libX11 \ + host-xlib_libXext \ + host-xlib_libXfixes \ + host-xlib_libXrandr \ + host-xorgproto + +HOST_MESA3D_CONF_OPTS = \ + -Dplatforms=x11 \ + -Dgles2=true \ + -Dglx=xlib \ + -Dgallium-drivers= \ + -Dvulkan-drivers= \ + -Ddri-drivers= + MESA3D_PROVIDES = MESA3D_DEPENDENCIES = \ @@ -242,3 +259,4 @@ MESA3D_CONF_OPTS += -Dlmsensors=false endif $(eval $(meson-package)) +$(eval $(host-meson-package))