Skip to contentSkip to conversation

chipmunk: new package

PATCH Superseded Francois Perrad 2 participants 2 messages Apr 11, 2018

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 chipmunk: new package

---
 DEVELOPERS                     |  1 +
 package/Config.in              |  1 +
 package/chipmunk/Config.in     | 12 ++++++++++++
 package/chipmunk/chipmunk.hash |  2 ++
 package/chipmunk/chipmunk.mk   | 16 ++++++++++++++++
 5 files changed, 32 insertions(+)
 create mode 100644 package/chipmunk/Config.in
 create mode 100644 package/chipmunk/chipmunk.hash
 create mode 100644 package/chipmunk/chipmunk.mk
DEVELOPERS +1 -0
index 41e1b54d9..c978a5601 100644
@@ -657,6 +657,7 @@ F:	board/olimex/a20_olinuxino
 F:	configs/olimex_a20_olinuxino_*
 F:	package/4th/
 F:	package/botan/
+F:	pacakge/chipmunk/
 F:	package/dado/
 F:	package/ficl/
 F:	package/gdbm/
package/Config.in +1 -0
index 9cd5d9c08..94347edbb 100644
@@ -1097,6 +1097,7 @@ menu "Graphics"
 	source "package/bullet/Config.in"
 	source "package/cairo/Config.in"
 	source "package/cairomm/Config.in"
+	source "package/chipmunk/Config.in"
 	source "package/exiv2/Config.in"
 	source "package/fltk/Config.in"
 	source "package/fontconfig/Config.in"
package/chipmunk/Config.in new file +12 -0
new file mode 100644
index 000000000..7275d684a
@@ -0,0 +1,12 @@
+
+comment "chipmunk needs an OpenGL backend"
+	depends on !BR2_PACKAGE_HAS_LIBGL
+
+config BR2_PACKAGE_CHIPMUNK
+	bool "chipmunk"
+	depends on BR2_PACKAGE_HAS_LIBGL
+	help
+	  Chipmunk2D is a simple, lightweight, fast and portable 2D
+	  rigid body physics library written in C.
+
+	  http://chipmunk-physics.net/
package/chipmunk/chipmunk.hash new file +2 -0
new file mode 100644
index 000000000..53e13c38d
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256	6b6d8d5d910c4442fb9c8c4c46a178126d8c21d075cdb3ce439a7f8d8757b0ca  Chipmunk-7.0.2.tar.gz
package/chipmunk/chipmunk.mk new file +16 -0
new file mode 100644
index 000000000..61b7a2e7b
@@ -0,0 +1,16 @@
+################################################################################
+#
+# chipmunk
+#
+################################################################################
+
+CHIPMUNK_VERSION = 7.0.2
+CHIPMUNK_SITE = https://github.com/slembcke/Chipmunk2D/archive
+CHIPMUNK_SOURCE = Chipmunk-$(CHIPMUNK_VERSION).tar.gz
+CHIPMUNK_INSTALL_STAGING = YES
+CHIPMUNK_LICENSE = MIT
+CHIPMUNK_LICENSE_FILES = LICENSE.txt
+CHIPMUNK_DEPENDENCIES = libgl
+CHIPMUNK_CONF_OPTS = -DBUILD_DEMOS=OFF
+
+$(eval $(cmake-package))
Signature · 1 line
2.11.0
#1 lore raw

PATCH 1/1 chipmunk: new package

Hello Francois,

Quoted 18 lines · Francois Perrad
---
 DEVELOPERS                     |  1 +
 package/Config.in              |  1 +
 package/chipmunk/Config.in     | 12 ++++++++++++
 package/chipmunk/chipmunk.hash |  2 ++
 package/chipmunk/chipmunk.mk   | 16 ++++++++++++++++
 5 files changed, 32 insertions(+)
 create mode 100644 package/chipmunk/Config.in
 create mode 100644 package/chipmunk/chipmunk.hash
 create mode 100644 package/chipmunk/chipmunk.mk
package/chipmunk/chipmunk.hash new file +0 -0
new file mode 100644
index 000000000..53e13c38d

package/chipmunk/chipmunk.hash line 2

Quoted 2 lines
package/chipmunk/chipmunk.hash new file +2 -0
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256	6b6d8d5d910c4442fb9c8c4c46a178126d8c21d075cdb3ce439a7f8d8757b0ca  Chipmunk-7.0.2.tar.gz

Please add hash for LICENSE.txt as well.

Otherwise I think it looks good.

Best regards
Marcus Folkesson

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20180411/2d922064/attachment.asc>