New recipe

Signed-off-by: Ricardo Ribalda Delgado <[email protected]>
---

v3: So I think we have got into the root of why it failed.

There was a capitalization error on the cmake file.

I have posted the change to upstream and they have merged it
(btw extremely fast, thanks ypnos).

Hope this time it also builds on on your test system.

Sorry again for the inconveniences, and thanks for your work!

 meta-oe/recipes-graphics/gerbil/gerbil_git.bb | 30 +++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 meta-oe/recipes-graphics/gerbil/gerbil_git.bb

diff --git a/meta-oe/recipes-graphics/gerbil/gerbil_git.bb 
b/meta-oe/recipes-graphics/gerbil/gerbil_git.bb
new file mode 100644
index 000000000000..cad67d01c724
--- /dev/null
+++ b/meta-oe/recipes-graphics/gerbil/gerbil_git.bb
@@ -0,0 +1,30 @@
+DESCRIPTION = "Generic framework for visualization and analysis of 
multispectral and hyperspectral data that strives to both bring new innovations 
in analysis capabilities and be of use in a wide range of hyperspectral data 
applications"
+HOMEPAGE = "http://gerbilvis.org/";
+LICENSE = "GPLv3"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=d32239bcb673463ab874e80d47fae504"
+DEPENDS = "boost qt4-x11-free tbb opencv libglu virtual/libgl"
+SRCREV = "b5cc1dc05b89c6c0d5190f0a49a18a77526fffa9"
+
+SRC_URI = "git://github.com/gerbilvis/gerbil.git"
+
+S = "${WORKDIR}/git"
+
+inherit distutils-base cmake qt4x11
+
+export EXTRA_OECMAKE = "\
+                        -DQT_MOC_EXECUTABLE=${OE_QMAKE_MOC} \
+                        -DQT_UIC_EXECUTABLE=${OE_QMAKE_UIC} \
+                        -DQT_RCC_EXECUTABLE=${OE_QMAKE_RCC} \
+                        "
+
+do_configure() {
+        # Ensure we get the cmake configure and not qmake
+        cmake_do_configure
+}
+do_install() {
+        install -d ${D}${bindir}
+        install -m 755 bin/gerbil ${D}${bindir}/
+        install -m 755 bin/qgerbil ${D}${bindir}/
+}
+
+RDEPENDS_${PN} += "qt4-x11-free"
-- 
2.6.1

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Reply via email to