[oe-commits] : opencv: add slightly altered recipe from bug #4508 and keep that bug open till it builds with gcc 4 .3
OE GIT Trial
gittrial at amethyst.openembedded.net
Sun Oct 5 16:22:59 UTC 2008
Module: org.openembedded.dev.git
Branch: org.openembedded.dev
Commit: ee925b27486f5695007ca8deee69f8fb44f67900
URL: http://gitweb.openembedded.net/?p=org.openembedded.dev.git&a=commit;h=ee925b27486f5695007ca8deee69f8fb44f67900
Author: <ronan at aimao.org>
Date: Sun Oct 5 16:13:40 2008 +0000
opencv: add slightly altered recipe from bug #4508 and keep that bug open till it builds with gcc 4.3
---
packages/opencv/opencv_1.0.0.bb | 45 +++++++++++++++++++++++++++++++++++++++
1 files changed, 45 insertions(+), 0 deletions(-)
diff --git a/packages/opencv/.mtn2git_empty b/packages/opencv/.mtn2git_empty
new file mode 100644
index 0000000..e69de29
diff --git a/packages/opencv/opencv_1.0.0.bb b/packages/opencv/opencv_1.0.0.bb
new file mode 100644
index 0000000..64cad74
--- /dev/null
+++ b/packages/opencv/opencv_1.0.0.bb
@@ -0,0 +1,45 @@
+DESCRIPTION = "Opencv : The Open Computer Vision Library"
+HOMEPAGE = "http://sourceforge.net/projects/opencvlibrary"
+SECTION = "libs"
+PRIORITY = "optional"
+LICENSE = "GPLv2"
+
+DEPENDS = "libtool swig swig-native python jpeg zlib libpng tiff glib-2.0"
+#RDEPENDS = "python jpeg zlib libpng tiff glib-2.0"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/opencvlibrary/opencv-${PV}.tar.gz"
+
+inherit autotools pkgconfig
+
+EXTRA_OECONF = "--disable-debug --disable-apps"
+
+do_configure() {
+ gnu-configize
+ cp ${STAGING_DATADIR}/libtool/config.{sub,guess} autotools
+ oe_runconf
+}
+
+
+PACKAGES = "${PN} ${PN}-dev ${PN}-doc ${PN}-dbg python-opencv"
+
+FILES_${PN} = "${libdir}/*.so*"
+# ${libdir}/libcv.so* \
+# ${libdir}/libcvaux.so* \
+# ${libdir}/libcxcore.so* \
+# ${libdir}/libhighgui.so* \
+# ${libdir}/libml.so* "
+
+FILES_${PN}-dev += " ${libdir}/*.la "
+FILES_${PN}-doc += "${datadir}/opencv/"
+FILES_${PN}-dbg += "${libdir}/.debug/"
+
+DESCRIPTION_python-opencv = "Python bindings to opencv"
+FILES_python-opencv = "${libdir}/*/site-packages/*"
+RDEPENDS_python-opencv = "python-core opencv"
+
+LEAD_SONAME = "libcv.so"
+
+do_stage() {
+ autotools_stage_all
+}
+
More information about the Openembedded-commits
mailing list