[oe] [PATCH v2] libQGLViewer: New program

Jayen Ashar jayen at cse.unsw.edu.au
Sun Nov 28 02:33:26 UTC 2010


* Starting with libQGLViewer 2.3.8
* libqglviewer (also known as libQGLViewer) is a free C++ library based on
*  Qt that enables the quick creation of OpenGL 3D viewers. It features a
*  powerful camera trackball and simple applications simply require an
*  implementation of the draw() function. It is a tool of choice for OpenGL
*  beginners and assignements. It provides screenshot saving, mouse
*  manipulated frames, stereo display, interpolated keyFrames, object
*  selection, and much more. It is fully customizable and easy to extend to
*  create complex applications, with a possible Qt GUI.

Signed-off-by: Jayen Ashar <jayen at cse.unsw.edu.au>
---
 recipes/libqglviewer/libqglviewer.inc      |   20 ++++++++++++++++++++
 recipes/libqglviewer/libqglviewer_2.3.8.bb |    3 +++
 2 files changed, 23 insertions(+), 0 deletions(-)
 create mode 100644 recipes/libqglviewer/libqglviewer.inc
 create mode 100644 recipes/libqglviewer/libqglviewer_2.3.8.bb

diff --git a/recipes/libqglviewer/libqglviewer.inc b/recipes/libqglviewer/libqglviewer.inc
new file mode 100644
index 0000000..48ea5bc
--- /dev/null
+++ b/recipes/libqglviewer/libqglviewer.inc
@@ -0,0 +1,20 @@
+DESCRIPTION = "an OpenGL 3D viewer library based on Qt4 - development files\
+libqglviewer (also known as libQGLViewer) is a free C++ library based on Qt that enables the quick creation of OpenGL 3D viewers. It features a powerful camera trackball and simple applications simply require an implementation of the draw() function. It is a tool of choice for OpenGL beginners and assignements. It provides screenshot saving, mouse manipulated frames, stereo display, interpolated keyFrames, object selection, and much more. It is fully customizable and easy to extend to create complex applications, with a possible Qt GUI."
+HOMEPAGE = "http://www.libqglviewer.com/"
+SECTION = "devel/libs" #seems to have more recipes than libs/devel
+LICENSE = "GPL" #You may use, distribute and copy the QGLViewer library under the terms of GNU General Public License version 2 or version 3, both of which are included in the LICENSE file.
+#DEPENDS = "" #requires qt4-x11-free with QT_CONFIG_FLAGS without -no-opengl
+
+INC_PR = "r0"
+
+SRC_URI = "http://www.libqglviewer.com/src/libQGLViewer-${PV}.tar.gz"
+
+S = "${WORKDIR}/libQGLViewer-${PV}/QGLViewer/"
+
+inherit qt4x11
+
+do_install() {
+    oe_runmake install INSTALL_ROOT=${D}
+}
+
+FILES_${PN}-dev += " ${libdir}/libQGLViewer.prl"
diff --git a/recipes/libqglviewer/libqglviewer_2.3.8.bb b/recipes/libqglviewer/libqglviewer_2.3.8.bb
new file mode 100644
index 0000000..813f1a6
--- /dev/null
+++ b/recipes/libqglviewer/libqglviewer_2.3.8.bb
@@ -0,0 +1,3 @@
+require libqglviewer.inc
+
+PR = "${INC_PR}.0"
-- 
1.7.0.4





More information about the Openembedded-devel mailing list