extra/opencv to 3.3.1-2

This commit is contained in:
David Beauchamp 2017-11-04 18:53:46 -04:00
parent 1da3c0c12c
commit 7b3f657540

View file

@ -9,7 +9,7 @@
pkgbase=opencv pkgbase=opencv
pkgname=('opencv' 'opencv-samples') pkgname=('opencv' 'opencv-samples')
pkgver=3.3.1 pkgver=3.3.1
pkgrel=1 pkgrel=2
pkgdesc="Open Source Computer Vision Library" pkgdesc="Open Source Computer Vision Library"
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
license=('BSD') license=('BSD')
@ -47,10 +47,8 @@ _cmakeopts=('-D WITH_OPENCL=ON'
) )
# SSE only available from Pentium 3 onwards (i686 is way older) # SSE only available from Pentium 3 onwards (i686 is way older)
[[ "$CARCH" = 'i686' ]] && \ [[ "$CARCH" = 'i686' ]] && _cmakeopts+=('-D CPU_BASELINE_DISABLE=SSE2')
_cmakeopts+=('-D ENABLE_SSE=OFF' [[ "$CARCH" = 'x86_64' ]] && _cmakeopts+=('-D CPU_BASELINE_DISABLE=SSE3 -D CPU_BASELINE_REQUIRE=SSE2')
'-D ENABLE_SSE2=OFF'
'-D ENABLE_SSE3=OFF')
build() { build() {
mkdir -p build mkdir -p build