diff options
author | sibel <lesibel at free dot fr> | 2010-07-15 14:50:11 +0200 |
---|---|---|
committer | sibel <lesibel at free dot fr> | 2010-07-15 14:50:11 +0200 |
commit | c0adc2e90826b7764b97ce94ea49fb4940df2f30 (patch) | |
tree | d0ce5dd411500b600985052af9ddfcc167029219 /extra/opencv/Pkgfile | |
parent | c29e4346f549783de7afbdffba54fe3f88f34eae (diff) | |
download | nutyx-extra-c0adc2e90826b7764b97ce94ea49fb4940df2f30.tar.gz nutyx-extra-c0adc2e90826b7764b97ce94ea49fb4940df2f30.tar.bz2 nutyx-extra-c0adc2e90826b7764b97ce94ea49fb4940df2f30.tar.xz nutyx-extra-c0adc2e90826b7764b97ce94ea49fb4940df2f30.zip |
maj de opencv#2.1.0-1
Diffstat (limited to 'extra/opencv/Pkgfile')
-rw-r--r-- | extra/opencv/Pkgfile | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/extra/opencv/Pkgfile b/extra/opencv/Pkgfile index 4db03ec76..667ae9b8a 100644 --- a/extra/opencv/Pkgfile +++ b/extra/opencv/Pkgfile @@ -2,18 +2,28 @@ # URL: http://opencv.willowgarage.com/wiki/ # Maintainer: NuTyX core team # Packager: thierryn1 at hispeed dot ch -# Depends on: libjpeg, libtiff, jasper, libpng, ffmpeg, gstreamer, xine-lib, libdc1394 +# Depends on: libjpeg, libtiff, jasper, libpng, ffmpeg, gstreamer, xine-lib, libdc1394, libv4l name=opencv -version=1.1pre1 +version=2.1.0 release=1 -source=(http://ovh.dl.sourceforge.net/sourceforge/opencvlibrary/$name-$version.tar.gz\ - opencv-1.0.0-gcc44.patch) +source=(http://downloads.sourceforge.net/opencvlibrary/OpenCV-$version.tar.bz2 + opencv-1.0.0-gcc44.patch + libpng-1.4.patch) build() { - cd $name-1.1.0 - patch -Np1 -i ../opencv-1.0.0-gcc44.patch - ./configure --prefix=/usr + cd OpenCV-$version +# patch -Np1 -i ../opencv-1.0.0-gcc44.patch + patch -p1 -i $SRC/libpng-1.4.patch + cd $SRC + mkdir build + cd build + cmake ../OpenCV-$version \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_SKIP_RPATH=ON \ + -DWITH_XINE=ON \ + -DWITH_UNICAP=OFF make -j3 make DESTDIR=$PKG install } |