summaryrefslogtreecommitdiff
path: root/packages/opencv/opencv_1.0.0.bb
diff options
context:
space:
mode:
authorBignaux Ronan <ronan@aimao.org>2008-10-05 16:13:40 +0000
committerKoen Kooi <koen@openembedded.org>2008-10-05 16:13:40 +0000
commit041cecc3618aa016d16d9d3e588365f7cc6cfc0d (patch)
tree8eb8d4ef762aa9da3fb3cfc7bee17d982686a1ab /packages/opencv/opencv_1.0.0.bb
parent5731ad06007b17aa25da00f99776de4c1bc16512 (diff)
opencv: add slightly altered recipe from bug #4508 and keep that bug open till it builds with gcc 4.3
Diffstat (limited to 'packages/opencv/opencv_1.0.0.bb')
-rw-r--r--packages/opencv/opencv_1.0.0.bb45
1 files changed, 45 insertions, 0 deletions
diff --git a/packages/opencv/opencv_1.0.0.bb b/packages/opencv/opencv_1.0.0.bb
new file mode 100644
index 0000000000..64cad74f51
--- /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
+}
+