Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Romain Naour <romain.naour@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 08/14] package/minetest: add gles optional dependency
Date: Wed, 12 Apr 2017 00:26:37 +0200	[thread overview]
Message-ID: <20170411222643.9770-8-romain.naour@gmail.com> (raw)
In-Reply-To: <20170411222643.9770-1-romain.naour@gmail.com>

Signed-off-by: Romain Naour <romain.naour@gmail.com>
---
 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 9cffc78..fe6e015 100644
--- a/package/minetest/minetest.mk
+++ b/package/minetest/minetest.mk
@@ -14,7 +14,6 @@ MINETEST_DEPENDENCIES = irrlicht gmp jpeg jsoncpp luajit sqlite zlib
 MINETEST_CONF_OPTS = \
 	-DDEFAULT_RUN_IN_PLACE=OFF \
 	-DENABLE_SOUND=OFF \
-	-DENABLE_GLES=OFF \
 	-DENABLE_LUAJIT=ON \
 	-DENABLE_CURSES=OFF \
 	-DENABLE_POSTGRESQL=OFF \
@@ -52,6 +51,13 @@ else
 MINETEST_CONF_OPTS += -DENABLE_GETTEXT=OFF
 endif
 
+ifeq ($(BR2_PACKAGE_HAS_LIBGLES),y)
+MINETEST_DEPENDENCIES += libgles
+MINETEST_CONF_OPTS += -DENABLE_GLES=ON
+else
+MINETEST_CONF_OPTS += -DENABLE_GLES=OFF
+endif
+
 ifeq ($(BR2_PACKAGE_LIBCURL),y)
 MINETEST_DEPENDENCIES += libcurl
 MINETEST_CONF_OPTS += -DENABLE_CURL=ON
-- 
2.9.3

  parent reply	other threads:[~2017-04-11 22:26 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-11 22:26 [Buildroot] [PATCH 01/14] package/hiredis: add missing library symlink Romain Naour
2017-04-11 22:26 ` [Buildroot] [PATCH 02/14] package/irrlicht: new package Romain Naour
2017-06-11 16:54   ` Bernd Kuhls
2017-04-11 22:26 ` [Buildroot] [PATCH 03/14] package/libspatialindex: " Romain Naour
2017-06-11 17:02   ` Bernd Kuhls
2017-04-11 22:26 ` [Buildroot] [PATCH 04/14] package/minetest: " Romain Naour
2017-06-11 17:38   ` Bernd Kuhls
2017-06-11 21:18     ` Romain Naour
2017-06-12  3:59       ` Bernd Kuhls
2017-04-11 22:26 ` [Buildroot] [PATCH 05/14] package/minetest: add libcurl optional dependency Romain Naour
2017-04-11 22:26 ` [Buildroot] [PATCH 06/14] package/minetest: add gettext " Romain Naour
2017-04-11 22:26 ` [Buildroot] [PATCH 07/14] package/minetest: add freetype " Romain Naour
2017-04-11 22:26 ` Romain Naour [this message]
2017-04-11 22:26 ` [Buildroot] [PATCH 09/14] package/minetest: enable sound support Romain Naour
2017-04-11 22:26 ` [Buildroot] [PATCH 10/14] package/minetest: add postgresql optional dependency Romain Naour
2017-04-11 22:26 ` [Buildroot] [PATCH 11/14] package/minetest: add hiredis " Romain Naour
2017-04-11 22:26 ` [Buildroot] [PATCH 12/14] package/minetest: add leveldb " Romain Naour
2017-04-11 22:26 ` [Buildroot] [PATCH 13/14] package/minetest: add libspatialindex " Romain Naour
2017-04-11 22:26 ` [Buildroot] [PATCH 14/14] package/minetest_game: new package Romain Naour
2017-04-12 19:37 ` [Buildroot] [PATCH 01/14] package/hiredis: add missing library symlink Thomas Petazzoni
     [not found] ` <1108a7ef-12c0-8e55-1a6f-22f9b4bae251@t-online.de>
2017-06-11 21:09   ` [Buildroot] [PATCH 02/14] package/irrlicht: new package Romain Naour
2017-06-11 21:33     ` Arnout Vandecappelle
2017-06-12  4:08       ` Bernd Kuhls

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170411222643.9770-8-romain.naour@gmail.com \
    --to=romain.naour@gmail.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox