mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-27 23:44:04 +00:00
extra/opencv to 2.4.10-2.1
This commit is contained in:
parent
826aa913af
commit
8d2f4684a5
1 changed files with 6 additions and 3 deletions
|
@ -3,7 +3,7 @@
|
|||
# Contributor: Tobias Powalowski <tpowa@archlinux.org>
|
||||
|
||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - remove intel-tbb depend
|
||||
# - remove intel-tbb depend for v5 and v6
|
||||
# - remove libcl (opt)depend, disable in cmakeopts
|
||||
#
|
||||
# ALARM: David Beauchamp <alarm@davidbeauchamp.com>
|
||||
|
@ -12,12 +12,13 @@
|
|||
pkgbase=opencv
|
||||
pkgname=('opencv' 'opencv-samples')
|
||||
pkgver=2.4.10
|
||||
pkgrel=2
|
||||
pkgrel=2.1
|
||||
pkgdesc="Open Source Computer Vision Library"
|
||||
arch=('i686' 'x86_64')
|
||||
license=('BSD')
|
||||
url="http://opencv.org/"
|
||||
depends=('openexr' 'xine-lib' 'libdc1394' 'gtkglext')
|
||||
depends_armv7h=('intel-tbb')
|
||||
makedepends=('cmake' 'python2-numpy' 'mesa' 'eigen2')
|
||||
optdepends=('opencv-samples'
|
||||
'eigen2'
|
||||
|
@ -31,7 +32,6 @@ md5sums=('ec63952d3a3dff965d5fdde765926821'
|
|||
|
||||
_cmakeopts=('-D WITH_OPENCL=OFF'
|
||||
'-D WITH_OPENGL=ON'
|
||||
'-D WITH_TBB=OFF'
|
||||
'-D WITH_XINE=ON'
|
||||
'-D WITH_GSTREAMER=OFF'
|
||||
'-D BUILD_WITH_DEBUG_INFO=OFF'
|
||||
|
@ -53,6 +53,9 @@ _cmakeopts=('-D WITH_OPENCL=OFF'
|
|||
# all x64 CPUs support SSE2 but not SSE3
|
||||
[[ "$CARCH" = 'x86_64' ]] && _cmakeopts+=('-D ENABLE_SSE3=OFF')
|
||||
|
||||
# ARMv7 supports Intel TBB
|
||||
[[ "$CARCH" = 'armv7h' ]] && _cmakeopts+=('-D WITH_TBB=ON')
|
||||
|
||||
prepare() {
|
||||
cd "$srcdir/$pkgname-$pkgver"
|
||||
|
||||
|
|
Loading…
Reference in a new issue