Skip to content

Commit 46f8ea7

Browse files
committed
add c++ chipmunk lib (no python)
1 parent 74ca703 commit 46f8ea7

File tree

2 files changed

+34
-1
lines changed

2 files changed

+34
-1
lines changed

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ Available modules
213213
-----------------
214214

215215
List of available modules: jpeg pil png sdl sqlite3 pygame kivy android
216-
libxml2 libxslt lxml ffmpeg openssl
216+
libxml2 libxslt lxml ffmpeg openssl chipmunk
217217

218218
The up-to-date list is available at:
219219
https://github.com/kivy/python-for-android/tree/master/recipes

recipes/chipmunk/recipe.sh

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
#!/bin/bash
2+
3+
VERSION_chipmunk=
4+
URL_chipmunk=http://chipmunk-physics.net/release/ChipmunkLatest.tgz
5+
DEPS_chipmunk=()
6+
MD5_chipmunk=c5fb7d1ea529a0180e32456980f8f4a7
7+
BUILD_chipmunk=$BUILD_PATH/chipmunk/$(get_directory $URL_chipmunk)
8+
RECIPE_chipmunk=$RECIPES_PATH/chipmunk
9+
10+
function prebuild_chipmunk() {
11+
true
12+
}
13+
14+
function build_chipmunk() {
15+
cd $BUILD_chipmunk
16+
17+
if [ -f .libs/chipmunk.a ]; then
18+
return
19+
fi
20+
21+
push_arm
22+
23+
try mkdir build
24+
try cd build
25+
try cmake -DBUILD_DEMOS=OFF -DBUILD_SHARED=OFF ..
26+
try make
27+
28+
pop_arm
29+
}
30+
31+
function postbuild_chipmunk() {
32+
true
33+
}

0 commit comments

Comments
 (0)