From patchwork Thu Jul 13 12:40:44 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Naour X-Patchwork-Id: 787704 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 3x7b5x3CVwz9ryk for ; Thu, 13 Jul 2017 22:41:09 +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="htxol1fN"; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id E56938A156; Thu, 13 Jul 2017 12:41:03 +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 3XhAMXzGkXzo; Thu, 13 Jul 2017 12:41:03 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 3ADE28A275; Thu, 13 Jul 2017 12:41:03 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 4C1ED1C411B for ; Thu, 13 Jul 2017 12:41:00 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 439318807F for ; Thu, 13 Jul 2017 12:41:00 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TnrNOhZD7dAj for ; Thu, 13 Jul 2017 12:40:59 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com [74.125.82.66]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 97D3E87C66 for ; Thu, 13 Jul 2017 12:40:59 +0000 (UTC) Received: by mail-wm0-f66.google.com with SMTP id u23so4861977wma.2 for ; Thu, 13 Jul 2017 05:40:59 -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=fo78XrG9XXVOu11e3KsBrpAKWT9+cAdFhYV+qoAmCKA=; b=htxol1fNm1bWgMu6OGfexBi+hRVypZFwigmpkAn7BrLZtCnM4KpOj066Mgs7VkSc66 siXm9kIh/91VuwoBEx7kQ1FQJjO8aSZimTNk0htzq99n3dgn6ES/CBfjkQH7k+T/yg3t +p/nB4VPNpxWEXgKr+Pj0a/LvJz3TlR0RMLM0JoZ7Bgb39VyBNVcI0nbuqOgJRFqJtF0 MxBvAxjHhSF276fiWBtsNbMNR0PvY5h+3hLJVL5N2mi2oJx/uSwc9BXNQqPkmdau7JzN 7l2xuEcVRtpb8wzQqkOl71ULTbm3pGBbc/vRYkkXqgsifUadlFSEFBUewghRhLcGFOaG xPSw== 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=fo78XrG9XXVOu11e3KsBrpAKWT9+cAdFhYV+qoAmCKA=; b=iRRsxYBFgIQbrzAiYeiSKk8SpBg2FxHaT3VA42ucSZ+ODws3BBGk5KpGMT85BMJNAI u4K7sgCHTqPUYU22dr6p6iEoXHgCMbGyAmlTGowxXqfaXURx9k/ErB++6H119Xr5Hcj7 61J7kdeZ/bZppA0bz51DBrGinaymKICFVuG8SDSDCNAXQivvn1cRJMN9lBPpmynrZVbq VjkS1roX8Cataw/d52Ydlwp1cF4u2F890V3UwLBdPmaOzN6CSRRwcxoCAoTfq63xt+OG d7DS/WyCBxsQZf0mo1A/dCu71oynJlIvhW88C3tqCYLjx9UaWDdqA6kVLrrJXN4dHNS3 KcEg== X-Gm-Message-State: AIVw111fA7W19h6ShX/j5QVgloFZ6feO7qB4QSZbCrgb1XvmjIK4/rQN WH+pTmfOKUP3ziyFQ5s= X-Received: by 10.28.184.83 with SMTP id i80mr2074151wmf.98.1499949658001; Thu, 13 Jul 2017 05:40:58 -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.40.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 13 Jul 2017 05:40:57 -0700 (PDT) From: Romain Naour To: buildroot@buildroot.org Date: Thu, 13 Jul 2017 14:40:44 +0200 Message-Id: <20170713124052.13708-2-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 02/10] package/minetest: add libcurl 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" Curl support is strongly recommended for multiplayer game. The build system warn when curl is disabled: cURL is required to load the server list cURL is required to announce to the server list Signed-off-by: Romain Naour --- v3: Add a note in the commit log about curl support. --- 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 df9c00d..de4e3f0 100644 --- a/package/minetest/minetest.mk +++ b/package/minetest/minetest.mk @@ -13,7 +13,6 @@ MINETEST_DEPENDENCIES = gmp irrlicht jsoncpp luajit sqlite zlib MINETEST_CONF_OPTS = \ -DDEFAULT_RUN_IN_PLACE=OFF \ - -DENABLE_CURL=OFF \ -DENABLE_GETTEXT=OFF \ -DENABLE_SOUND=OFF \ -DENABLE_GLES=OFF \ @@ -41,4 +40,11 @@ else MINETEST_CONF_OPTS += -DBUILD_SERVER=OFF endif +ifeq ($(BR2_PACKAGE_LIBCURL),y) +MINETEST_DEPENDENCIES += libcurl +MINETEST_CONF_OPTS += -DENABLE_CURL=ON +else +MINETEST_CONF_OPTS += -DENABLE_CURL=OFF +endif + $(eval $(cmake-package))