[oe-commits] Koen Kooi : openscenegraph: add 2.9.7

git version control git at git.openembedded.org
Thu Jul 8 12:30:46 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 0e24e6eb835d856a27cb9a135f2679c494dc2752
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=0e24e6eb835d856a27cb9a135f2679c494dc2752

Author: Koen Kooi <koen at openembedded.org>
Date:   Thu Jul  8 14:05:47 2010 +0200

openscenegraph: add 2.9.7

---

 recipes/opencv/openscenegraph_2.9.7.bb |   52 ++++++++++++++++++++++++++++++++
 1 files changed, 52 insertions(+), 0 deletions(-)

diff --git a/recipes/opencv/openscenegraph_2.9.7.bb b/recipes/opencv/openscenegraph_2.9.7.bb
new file mode 100644
index 0000000..df9c349
--- /dev/null
+++ b/recipes/opencv/openscenegraph_2.9.7.bb
@@ -0,0 +1,52 @@
+DESCRIPTION = "The OpenSceneGraph is an open source high performance 3D graphics toolkit"
+LICENSE = "OSGPL"
+
+DEPENDS = "libxml2 gtk+ ffmpeg poppler libxrandr"
+
+PR = "r1"
+
+inherit cmake
+
+SRC_URI = "http://www.openscenegraph.org/downloads/developer_releases/OpenSceneGraph-${PV}.zip;name=osg \
+           file://gles.diff "
+
+SRC_URI[osg.md5sum] = "b5118ed07ec2945e23ad5e880f3f0f6d"
+SRC_URI[osg.sha256sum] = "ae0436a854b97a9efb7fe2c8a38630dab5182b1ea23b984ea0ea17fc789a5dd2"
+
+S = "${WORKDIR}/OpenSceneGraph-${PV}"
+
+# From http://www.openscenegraph.org/projects/osg/wiki/Community/OpenGL-ES
+EXTRA_OECMAKE = " -DCMAKE_BUILD_TYPE=Release \
+                  -DOSG_GLU_AVAILABLE=OFF \
+                  -DOSG_GL1_AVAILABLE=OFF \
+                  -DOSG_GL2_AVAILABLE=OFF \
+                  -DOSG_GL3_AVAILABLE=OFF \
+                  -DOSG_GLES1_AVAILABLE=OFF \
+                  -DOSG_GLES2_AVAILABLE=ON \
+                  -DOPENGL_egl_LIBRARY='-lEGL -lGLESv2 -lGLES_CM -lIMGegl -lsrv_um' \
+                  -DOPENGL_LIBRARY='-lGLESv2 -lGLES_CM -lIMGegl -lsrv_um' \
+                  -DOSG_GL_DISPLAYLISTS_AVAILABLE=OFF \
+                  -DOSG_GL_MATRICES_AVAILABLE=OFF \
+                  -DOSG_GL_VERTEX_FUNCS_AVAILABLE=OFF \
+                  -DOSG_GL_VERTEX_ARRAY_FUNCS_AVAILABLE=OFF \
+                  -DOSG_GL_FIXED_FUNCTION_AVAILABLE=OFF \
+                  -DOSG_CPP_EXCEPTIONS_AVAILABLE=OFF \
+                  -DPOPPLER_HAS_CAIRO_EXITCODE=0 \
+                "
+
+TARGET_CC_ARCH += "-D__STDC_CONSTANT_MACROS"
+
+FILES_${PN} = " ${bindir}/* ${libdir}/osgPlugins-${PV}/*.so "
+FILES_${PN}-dbg += "${libdir}/osgPlugins-${PV}/.debug"
+
+python populate_packages_prepend () {
+	glibdir = bb.data.expand('${libdir}', d)
+
+	do_split_packages(d, glibdir, '^lib(.*)\.so\.*', 'lib%s', 'OpenSceneGraph %s library', extra_depends='', allow_links=True)
+}
+
+ALLOW_EMPTY = "1"
+
+
+
+





More information about the Openembedded-commits mailing list