소스 검색

package/bullet: new package

[Thomas:
  - move package to 'Libraries -> Graphics'
  - wrap the Config.in help text
  - change license from "Zlib" to "zlib license" to match what the
    zlib package is doing.]

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Romain Naour 10 년 전
부모
커밋
176e408b36
3개의 변경된 파일30개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      package/Config.in
  2. 11 0
      package/bullet/Config.in
  3. 18 0
      package/bullet/bullet.mk

+ 1 - 0
package/Config.in

@@ -750,6 +750,7 @@ endmenu
 
 menu "Graphics"
 	source "package/atk/Config.in"
+	source "package/bullet/Config.in"
 	source "package/cairo/Config.in"
 	source "package/exiv2/Config.in"
 	source "package/fltk/Config.in"

+ 11 - 0
package/bullet/Config.in

@@ -0,0 +1,11 @@
+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

+ 18 - 0
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 license
+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))