Skip to contentSkip to conversation

New recipe for Bullet Physics library

PATCH In review dbatzle 3 participants 3 messages Oct 26, 2010

lore
Share & tools
lore

dbatzle

author
#0 lore raw

PATCH 1/1 New recipe for Bullet Physics library

---
 recipes/bullet/bullet.bb |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)
 create mode 100644 recipes/bullet/bullet.bb
recipes/bullet/bullet.bb new file +18 -0
new file mode 100644
index 0000000..d28734f
@@ -0,0 +1,18 @@
+DESCRIPTION = "Bullet Physics Library"
+LICENSE = "Zlib"
+
+PR = "r1"
+SRCREV="2218"
+PV="2.77+svnr${SRCPV}"
+
+#SRC_URI = "file:///home/David/gamestuff/bullet-2.75"
+SRC_URI = "svn://bullet.googlecode.com/svn;module=trunk;proto=http"
+
+#If you want to build the demos you will have to have xlib and glut installed.
+#Then set BUILD_DEMOS, BUILD_EXTRAS, and USE_GLUT to ON
+
+EXTRA_OECMAKE="-DBUILD_DEMOS:BOOL=OFF -DBUILD_EXTRAS:BOOL=OFF -DUSE_GLUT:BOOL=OFF -DBUILD_SHARED_LIBS:BOOL=ON"
+
+inherit cmake
+
+S = "${WORKDIR}/trunk"
Signature · 1 line
1.6.0.6
#1 lore raw

2010/10/26 dbatzle <[email protected]>:

Quoted 12 lines

---
 recipes/bullet/bullet.bb |   18 ++++++++++++++++++

 1 files changed, 18 insertions(+), 0 deletions(-)

 create mode 100644 recipes/bullet/bullet.bb

recipes/bullet/bullet.bb new file +0 -0
new file mode 100644
index 0000000..d28734f

recipes/bullet/bullet.bb line 4

Quoted 4 lines
recipes/bullet/bullet.bb new file +4 -0
@@ -0,0 +1,18 @@
+DESCRIPTION = "Bullet Physics Library"
+LICENSE = "Zlib"
+
+PR = "r1"

A recipe should start at r0.
Can you also add HOMEPAGE (and maybe some more of the header fields)

recipes/bullet/bullet.bb line 8

Quoted 4 lines
recipes/bullet/bullet.bb new file +4 -0
+SRCREV="2218"
+PV="2.77+svnr${SRCPV}"
+
+#SRC_URI = "file:///home/David/gamestuff/bullet-2.75"

suggest to remove the line above

Quoted 11 lines
recipes/bullet/bullet.bb new file +10 -1
+SRC_URI = "svn://bullet.googlecode.com/svn;module=trunk;proto=http"
+
+#If you want to build the demos you will have to have xlib and glut installed.
+#Then set BUILD_DEMOS, BUILD_EXTRAS, and USE_GLUT to ON
+
+EXTRA_OECMAKE="-DBUILD_DEMOS:BOOL=OFF -DBUILD_EXTRAS:BOOL=OFF -DUSE_GLUT:BOOL=OFF -DBUILD_SHARED_LIBS:BOOL=ON"
+
+inherit cmake
+
+S = "${WORKDIR}/trunk"
--
Quoted 2 lines

1.6.0.6

Best regards, Frans

#2 lore raw

Am Dienstag, den 26.10.2010, 08:38 +0200 schrieb Frans Meulenbroeks:

Quoted 1 line

2010/10/26 dbatzle <[email protected]>:

The commit summary should start with the recipe name as suggested by the commit policy [1].

Quoted 1 line
Quoted 1 line

I guess a real name would be preferred. But if you want to stay anonymous that is alright too I guess.

Quoted 26 lines
Quoted 11 lines
---
 recipes/bullet/bullet.bb |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)
 create mode 100644 recipes/bullet/bullet.bb
recipes/bullet/bullet.bb new file +0 -0
new file mode 100644
index 0000000..d28734f

recipes/bullet/bullet.bb line 4

Quoted 4 lines
recipes/bullet/bullet.bb new file +4 -0
@@ -0,0 +1,18 @@
+DESCRIPTION = "Bullet Physics Library"
+LICENSE = "Zlib"
+
+PR = "r1"

A recipe should start at r0.
Can you also add HOMEPAGE (and maybe some more of the header fields)

recipes/bullet/bullet.bb line 8

Quoted 4 lines
recipes/bullet/bullet.bb new file +4 -0
+SRCREV="2218"
+PV="2.77+svnr${SRCPV}"
+
+#SRC_URI = "file:///home/David/gamestuff/bullet-2.75"

suggest to remove the line above

Quoted 12 lines
Quoted 11 lines
recipes/bullet/bullet.bb new file +10 -1
+SRC_URI = "svn://bullet.googlecode.com/svn;module=trunk;proto=http"
+
+#If you want to build the demos you will have to have xlib and glut installed.
+#Then set BUILD_DEMOS, BUILD_EXTRAS, and USE_GLUT to ON
+
+EXTRA_OECMAKE="-DBUILD_DEMOS:BOOL=OFF -DBUILD_EXTRAS:BOOL=OFF -DUSE_GLUT:BOOL=OFF -DBUILD_SHARED_LIBS:BOOL=ON"
+
+inherit cmake
+
+S = "${WORKDIR}/trunk"
--
Quoted 1 line

1.6.0.6

I agree with Frans’ suggestions. You can also run oe-stylize.py [2] if you have not done so already.

Please do not forget to update the patch queue [3].

Thanks,

Paul

[1] http://wiki.openembedded.org/index.php/Commit_Policy
[2] http://cgit.openembedded.org/cgit.cgi/openembedded/tree/contrib/oe-stylize.py
[3] http://wiki.openembedded.org/index.php/Patchwork