From patchwork Thu Jul 13 12:40:51 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Naour X-Patchwork-Id: 787711 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3x7b6S3FYSz9s4q for ; Thu, 13 Jul 2017 22:41:36 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="n6f578tm"; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 54EF08A2C6; Thu, 13 Jul 2017 12:41:21 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YBhTW9i-QRay; Thu, 13 Jul 2017 12:41:20 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id BF08A8A2C8; Thu, 13 Jul 2017 12:41:20 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 5E1351BFB1F for ; Thu, 13 Jul 2017 12:41:06 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 51F2D8A268 for ; Thu, 13 Jul 2017 12:41:06 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SgXI-q3t2o1v for ; Thu, 13 Jul 2017 12:41:05 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm0-f68.google.com (mail-wm0-f68.google.com [74.125.82.68]) by hemlock.osuosl.org (Postfix) with ESMTPS id 9901E8A263 for ; Thu, 13 Jul 2017 12:41:05 +0000 (UTC) Received: by mail-wm0-f68.google.com with SMTP id j85so4845285wmj.0 for ; Thu, 13 Jul 2017 05:41:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=EcBZ0H0u2/xlRcUyRpkV6Ni+oi+j3wHWEgWc1vxi6kA=; b=n6f578tmhH5dCGe1qmMKm4tH7zK5tNcr4Sx/YJLnqINE8a4iIjNw1FURz6nTXCSVci MaXA9dUSzq6oPZhT4bnpckDB0SstcqhlmOPUau8wwjWYEQYRLbK+T+vC+Mxpz/pn0Mpu lefIq+6062SUzkl0WoCVxFezRWcddNHQ0qnNbJtRJszBVVh2e1hjPJCA07n2mXLm27F/ DSlch7iKoszUhlLlfxeublCFQZMh0GMd6MZHKE3NpKOEqtHAMtngP5Yjcn9DIHX5+YCZ smrhjaZU/lvXsHAChk1Va1oN9pKPJ1xIj5sxXzAe2D8TmXJcgWJ3eLtfVdjKiGPplCr/ 84wA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=EcBZ0H0u2/xlRcUyRpkV6Ni+oi+j3wHWEgWc1vxi6kA=; b=AHYMmqEzX/66ULyivwDud8kT4qTFoqpV+7t3VJedHemBQsuKxwx4WkIye4gs3DUpfl 1Ynj68v/JdjJPqBr6SD2IW0yAoGayBAYANOx+avWKEsoVrQTq5zWm+N19A84rr9p/0Xb b02F2wuflprstU+FbQGbKQgwK8tmxPomYQyx71UfhHt02NvU4Qj6+dN0Vdk0jUCz693R 5qK5/Jn8ARDcFdBr30jhW4/7xR807G04mOH882e0muK77hAaLI3ONH/Nqpb6i9pU8t7N V75aD8D9ogM2DAYjEAoFFxBI2LcHeMRzxtQEMxLw0bJXgXWLIep9+USmu2SxQoOv02C+ nXFg== X-Gm-Message-State: AIVw111KmDm//bS3lbuopFgmJT/WmVkT0TN8eIscO/Xfn/HkGPSRv4hB F2Pii7qqvoIdfzpq1LQ= X-Received: by 10.28.46.132 with SMTP id u126mr2071966wmu.48.1499949664007; Thu, 13 Jul 2017 05:41:04 -0700 (PDT) Received: from localhost.localdomain (gam75-1-81-57-22-125.fbx.proxad.net. [81.57.22.125]) by smtp.gmail.com with ESMTPSA id 67sm110047wrc.34.2017.07.13.05.41.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 13 Jul 2017 05:41:03 -0700 (PDT) From: Romain Naour To: buildroot@buildroot.org Date: Thu, 13 Jul 2017 14:40:51 +0200 Message-Id: <20170713124052.13708-9-romain.naour@gmail.com> X-Mailer: git-send-email 2.9.4 In-Reply-To: <20170713124052.13708-1-romain.naour@gmail.com> References: <20170713124052.13708-1-romain.naour@gmail.com> Cc: Romain Naour Subject: [Buildroot] [PATCH v3 09/10] package/minetest: add libspatialindex optional dependency X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Romain Naour --- package/minetest/minetest.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/package/minetest/minetest.mk b/package/minetest/minetest.mk index 2d1a90d..a813a0d 100644 --- a/package/minetest/minetest.mk +++ b/package/minetest/minetest.mk @@ -16,7 +16,6 @@ MINETEST_CONF_OPTS = \ -DENABLE_GLES=OFF \ -DENABLE_LUAJIT=ON \ -DENABLE_CURSES=OFF \ - -DENABLE_SPATIAL=OFF \ -DAPPLY_LOCALE_BLACKLIST=OFF \ -DENABLE_SYSTEM_GMP=ON \ -DENABLE_SYSTEM_JSONCPP=ON @@ -69,6 +68,13 @@ else MINETEST_CONF_OPTS += -DENABLE_CURL=OFF endif +ifeq ($(BR2_PACKAGE_LIBSPATIALINDEX),y) +MINETEST_DEPENDENCIES += libspatialindex +MINETEST_CONF_OPTS += -DENABLE_SPATIAL=ON +else +MINETEST_CONF_OPTS += -DENABLE_SPATIAL=OFF +endif + ifeq ($(BR2_PACKAGE_POSTGRESQL),y) MINETEST_DEPENDENCIES += postgresql MINETEST_CONF_OPTS += -DENABLE_POSTGRESQL=ON