All of lore.kernel.org
 help / color / mirror / Atom feed
From: Romain Naour <romain.naour@openwide.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/3] package/bullet: new package
Date: Fri, 24 Apr 2015 21:46:11 +0200	[thread overview]
Message-ID: <1429904773-460-2-git-send-email-romain.naour@openwide.fr> (raw)
In-Reply-To: <1429904773-460-1-git-send-email-romain.naour@openwide.fr>

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
---
 package/Config.in        |  1 +
 package/bullet/Config.in | 10 ++++++++++
 package/bullet/bullet.mk | 18 ++++++++++++++++++
 3 files changed, 29 insertions(+)
 create mode 100644 package/bullet/Config.in
 create mode 100644 package/bullet/bullet.mk

diff --git a/package/Config.in b/package/Config.in
index afa145e..fcd9b8f 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -222,6 +222,7 @@ comment "Graphic applications"
 	source "package/rrdtool/Config.in"
 
 comment "Graphic libraries"
+	source "package/bullet/Config.in"
 	source "package/cegui06/Config.in"
 	source "package/directfb/Config.in"
 	source "package/directfb-examples/Config.in"
diff --git a/package/bullet/Config.in b/package/bullet/Config.in
new file mode 100644
index 0000000..8e57bbf
--- /dev/null
+++ b/package/bullet/Config.in
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_BULLET
+	bool "bullet"
+	depends on BR2_INSTALL_LIBSTDCPP
+	help
+	  Bullet is a Collision Detection and Rigid Body Dynamics Library.
+
+	  http://bulletphysics.org
+
+comment "bullet needs a toolchain w/ C++"
+	depends on !BR2_INSTALL_LIBSTDCPP
diff --git a/package/bullet/bullet.mk b/package/bullet/bullet.mk
new file mode 100644
index 0000000..8cb273e
--- /dev/null
+++ b/package/bullet/bullet.mk
@@ -0,0 +1,18 @@
+################################################################################
+#
+# bullet
+#
+################################################################################
+
+# This is the git id of the 2.82 release.
+BULLET_VERSION = 19f999ac087e68ffc2551ffb73e35e60271a0d27
+BULLET_SITE = $(call github,bulletphysics,bullet3,$(BULLET_VERSION))
+BULLET_INSTALL_STAGING = YES
+BULLET_LICENSE = Zlib
+BULLET_LICENSE_FILES = BulletLicense.txt COPYING
+
+# Disable GLUT support since there is no freeglut or OpenGLUT package and we
+# don't build the demos apps.
+BULLET_CONF_OPTS = -DUSE_GLUT=OFF -DBUILD_DEMOS=OFF
+
+$(eval $(cmake-package))
-- 
1.9.3

  reply	other threads:[~2015-04-24 19:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-24 19:46 [Buildroot] [PATCH 0/3] packages needed by the upcomming efl 1.14 package Romain Naour
2015-04-24 19:46 ` Romain Naour [this message]
2015-04-25  9:10   ` [Buildroot] [PATCH 1/3] package/bullet: new package Thomas Petazzoni
2015-04-24 19:46 ` [Buildroot] [PATCH 2/3] package/x11r7/xproto_printproto: " Romain Naour
2015-04-24 19:46 ` [Buildroot] [PATCH 3/3] package/x11r7/xlib_libXp: " Romain Naour

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=1429904773-460-2-git-send-email-romain.naour@openwide.fr \
    --to=romain.naour@openwide.fr \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.