summaryrefslogtreecommitdiff
path: root/testing/opencv/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/opencv/PKGBUILD')
-rw-r--r--testing/opencv/PKGBUILD15
1 files changed, 6 insertions, 9 deletions
diff --git a/testing/opencv/PKGBUILD b/testing/opencv/PKGBUILD
index b371f6930..b909207c7 100644
--- a/testing/opencv/PKGBUILD
+++ b/testing/opencv/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 119711 2011-04-13 23:48:14Z schiv $
+# $Id: PKGBUILD 120048 2011-04-18 20:44:58Z schiv $
# Maintainer: Ray Rashif <schiv@archlinux.org>
# Contributor: Tobias Powalowski <tpowa@archlinux.org>
pkgname=opencv
_realname=OpenCV
pkgver=2.2.0
-pkgrel=4
+pkgrel=5
pkgdesc="Open Source Computer Vision Library"
arch=('i686' 'x86_64')
license=('BSD')
@@ -20,20 +20,17 @@ options=('!libtool')
source=(http://downloads.sourceforge.net/opencvlibrary/$_realname-$pkgver.tar.bz2
ptrcvcapture.patch
gcc46.patch
- nov4l1.patch)
+ v4l_2.6.38.patch)
md5sums=('122c9ac793a46854ef2819fedbbd6b1b'
'461a8b1b0f2264521e13d9ae051d13be'
'b5fb8d6786578ae7bf272615279e8865'
- '0164bdbd54ee28b1f6cba20fcfd53812')
+ '82c8a8a76275acd4a73a4f8e948c3f78')
build() {
cd "$srcdir/$_realname-$pkgver"
# Please do not remove any patches from trunk #
- # libpng 1.4 compatibility
- #patch -Np1 -i "$srcdir/libpng-1.4.patch"
-
# fix v4l issue
#patch -Np0 -i "$srcdir/v4l-mmap.patch"
@@ -50,8 +47,8 @@ build() {
patch -Np3 -i "$srcdir/gcc46.patch"
# distro kernel no longer has v4l1
- # see https://code.ros.org/trac/opencv/ticket/862
- patch -Np1 -i "$srcdir/nov4l1.patch"
+ # see https://bugs.archlinux.org/task/23826
+ patch -Np1 -i "$srcdir/v4l_2.6.38.patch"
cmake . -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \