summaryrefslogtreecommitdiffstats
path: root/extra/opencv/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/opencv/Pkgfile')
-rw-r--r--extra/opencv/Pkgfile14
1 files changed, 8 insertions, 6 deletions
diff --git a/extra/opencv/Pkgfile b/extra/opencv/Pkgfile
index efb06c48a..1cc7a9432 100644
--- a/extra/opencv/Pkgfile
+++ b/extra/opencv/Pkgfile
@@ -2,17 +2,19 @@
# URL: http://opencv.willowgarage.com/wiki/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
-# Depends on: libjpeg, libtiff, libjasper, libpng, zlib, ffmpeg, libgstreamer, libxine, libdc1394
+# Depends on: libjpeg, libtiff, jasper, libpng, zlib, ffmpeg, gstreamer, xine-lib, libdc1394
name=opencv
version=1.1pre1
release=1
-source=(http://ovh.dl.sourceforge.net/sourceforge/opencvlibrary/$name-$version.tar.gz)
+source=(http://ovh.dl.sourceforge.net/sourceforge/opencvlibrary/$name-$version.tar.gz\
+ opencv-1.0.0-gcc44.patch)
build() {
- cd $name-1.1.0
- ./configure --prefix=/usr
- make -j3
- make DESTDIR=$PKG install
+ cd $name-1.1.0
+ patch -Np1 -i ../opencv-1.0.0-gcc44.patch
+ ./configure --prefix=/usr
+ make -j3
+ make DESTDIR=$PKG install
}