From e74bfc475fed91dd8636495dcc416004e2eb862e Mon Sep 17 00:00:00 2001 From: Rmys Date: Sat, 24 Mar 2018 14:46:42 +0300 Subject: [PATCH] opencv-3.4.1:ver.bump --- science/robotics/opencv/actions.py | 13 ++++++++++--- science/robotics/opencv/pspec.xml | 13 ++++++++++++- 2 files changed, 22 insertions(+), 4 deletions(-) diff --git a/science/robotics/opencv/actions.py b/science/robotics/opencv/actions.py index 7cd3a0b186..1ce20540f8 100644 --- a/science/robotics/opencv/actions.py +++ b/science/robotics/opencv/actions.py @@ -15,9 +15,12 @@ def setup(): #temporary workaround for error: "'UINT64_C' was not declared in this scope" shelltools.export("CXXFLAGS", "%s -D__STDC_CONSTANT_MACROS" % get.CXXFLAGS()) - + + shelltools.makedirs("build") + shelltools.cd("build") cmaketools.configure("-D CMAKE_BUILD_TYPE=Release \ -D CMAKE_INSTALL_PREFIX=/usr \ + -D CMAKE_INSTALL_LIBDIR=lib \ -D CMAKE_SKIP_RPATH=ON \ DESTDIR=%s \ -DBUILD_EXAMPLES=1 \ @@ -45,15 +48,17 @@ def setup(): -DWITH_TIFF=1 \ -DWITH_V4L=1 \ -DWITH_XINE=1 \ - -DCMAKE_SKIP_RPATH=1" % get.installDIR()) + -DCMAKE_SKIP_RPATH=1", sourceDir="..") # -DUSE_O3=OFF # -DUSE_OMIT_FRAME_POINTER=OFF def build(): - cmaketools.make("VERBOSE=1") + shelltools.cd("build") + cmaketools.make() def install(): + shelltools.cd("build") cmaketools.rawInstall("DESTDIR=%s" % get.installDIR()) # Move other docs and samples under standart doc dir @@ -61,6 +66,8 @@ def install(): #pisitools.domove("usr/share/opencv/doc", doc_dir) #pisitools.domove("usr/share/opencv/samples", doc_dir) + + shelltools.cd("..") pisitools.dodoc("README.md", "LICENSE", ) diff --git a/science/robotics/opencv/pspec.xml b/science/robotics/opencv/pspec.xml index a8cb9e0ba0..5ec51bed32 100644 --- a/science/robotics/opencv/pspec.xml +++ b/science/robotics/opencv/pspec.xml @@ -12,7 +12,7 @@ library Computer vision library opencv is a programming library mainly aimed at the real time computer vision. Example applications are human-computer interaction, object identification, face recognition, motion tracking, mobile robotics. - https://github.com/opencv/opencv/archive/3.2.0.tar.gz + https://github.com/opencv/opencv/archive/3.4.1.tar.gz cmake gtk2-devel @@ -25,11 +25,14 @@ lapack-devel python-numpy python-devel + python3-devel + python3-numpy xine-lib-devel libdc1394-devel gstreamer-devel gdk-pixbuf-devel libjpeg-turbo-devel + libgphoto2-devel gst-plugins-base-devel @@ -46,6 +49,7 @@ libpng libv4l ilmbase + libgphoto2 openexr-libs xine-lib libdc1394 @@ -84,6 +88,13 @@ + + 2018-03-23 + 3.4.1 + Version bump + Mustafa Cinasal + muscnsl@gmail.com + 2018-02-14 3.2.0