summaryrefslogtreecommitdiff
path: root/extra/opencv
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2012-11-22 14:05:07 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2012-11-22 14:05:07 -0300
commitc5d0267480dce7ea1149cae6f63111678588c772 (patch)
treed06726989018701c05b8c93b1b548f14cfc541f3 /extra/opencv
parenta221a452890917ec65b617a0be21b472a63e2a81 (diff)
parent13c6302fab6118693af345756375923b9fb7da69 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/allegro/PKGBUILD community/erlang/PKGBUILD community/python-openbabel/PKGBUILD core/vi/PKGBUILD extra/accountsservice/PKGBUILD extra/calligra/PKGBUILD kde-unstable/kactivities/PKGBUILD kde-unstable/kdeaccessibility-jovie/PKGBUILD kde-unstable/kdeaccessibility-kaccessible/PKGBUILD kde-unstable/kdeaccessibility-kmag/PKGBUILD kde-unstable/kdeaccessibility-kmousetool/PKGBUILD kde-unstable/kdeaccessibility-kmouth/PKGBUILD kde-unstable/kdeadmin/PKGBUILD kde-unstable/kdeartwork/PKGBUILD kde-unstable/kdebase-konsole/PKGBUILD kde-unstable/kdebase-workspace/PKGBUILD kde-unstable/kdebase-workspace/kde-np.pam kde-unstable/kdebase-workspace/kde.pam kde-unstable/kdebase-workspace/kdebase-workspace.install kde-unstable/kdebase/PKGBUILD kde-unstable/kdebindings-kimono/PKGBUILD kde-unstable/kdebindings-korundum/PKGBUILD kde-unstable/kdebindings-korundum/ruby19.patch kde-unstable/kdebindings-kross/PKGBUILD kde-unstable/kdebindings-perlkde/PKGBUILD kde-unstable/kdebindings-perlqt/PKGBUILD kde-unstable/kdebindings-python/PKGBUILD kde-unstable/kdebindings-qtruby/PKGBUILD kde-unstable/kdebindings-qyoto/PKGBUILD kde-unstable/kdebindings-smokegen/PKGBUILD kde-unstable/kdebindings-smokekde/PKGBUILD kde-unstable/kdebindings-smokeqt/PKGBUILD kde-unstable/kdeedu-analitza/PKGBUILD kde-unstable/kdeedu-blinken/PKGBUILD kde-unstable/kdeedu-cantor/PKGBUILD kde-unstable/kdeedu-kalgebra/PKGBUILD kde-unstable/kdeedu-kalzium/PKGBUILD kde-unstable/kdeedu-kalzium/kdeedu-kalzium.install kde-unstable/kdeedu-kanagram/PKGBUILD kde-unstable/kdeedu-kbruch/PKGBUILD kde-unstable/kdeedu-kgeography/PKGBUILD kde-unstable/kdeedu-khangman/PKGBUILD kde-unstable/kdeedu-kig/PKGBUILD kde-unstable/kdeedu-kiten/PKGBUILD kde-unstable/kdeedu-klettres/PKGBUILD kde-unstable/kdeedu-kmplot/PKGBUILD kde-unstable/kdeedu-kstars/PKGBUILD kde-unstable/kdeedu-ktouch/PKGBUILD kde-unstable/kdeedu-kturtle/PKGBUILD kde-unstable/kdeedu-kwordquiz/PKGBUILD kde-unstable/kdeedu-marble/PKGBUILD kde-unstable/kdeedu-marble/kdeedu-marble.install kde-unstable/kdeedu-pairs/PKGBUILD kde-unstable/kdeedu-parley/PKGBUILD kde-unstable/kdeedu-rocs/PKGBUILD kde-unstable/kdeedu-step/PKGBUILD kde-unstable/kdegraphics-gwenview/PKGBUILD kde-unstable/kdegraphics-kamera/PKGBUILD kde-unstable/kdegraphics-kcolorchooser/PKGBUILD kde-unstable/kdegraphics-kgamma/PKGBUILD kde-unstable/kdegraphics-kolourpaint/PKGBUILD kde-unstable/kdegraphics-kruler/PKGBUILD kde-unstable/kdegraphics-ksaneplugin/PKGBUILD kde-unstable/kdegraphics-ksnapshot/PKGBUILD kde-unstable/kdegraphics-mobipocket/PKGBUILD kde-unstable/kdegraphics-okular/PKGBUILD kde-unstable/kdegraphics-strigi-analyzer/PKGBUILD kde-unstable/kdegraphics-svgpart/PKGBUILD kde-unstable/kdegraphics-thumbnailers/PKGBUILD kde-unstable/kdemultimedia-audiocd-kio/PKGBUILD kde-unstable/kdemultimedia-dragonplayer/PKGBUILD kde-unstable/kdemultimedia-ffmpegthumbs/PKGBUILD kde-unstable/kdemultimedia-juk/PKGBUILD kde-unstable/kdemultimedia-kmix/PKGBUILD kde-unstable/kdemultimedia-kscd/PKGBUILD kde-unstable/kdemultimedia-mplayerthumbs/PKGBUILD kde-unstable/kdenetwork/PKGBUILD kde-unstable/kdepim-runtime/PKGBUILD kde-unstable/kdepim/PKGBUILD kde-unstable/kdepim/fix-build.patch kde-unstable/kdepimlibs/PKGBUILD kde-unstable/kdeplasma-addons/PKGBUILD kde-unstable/kdesdk-kate/PKGBUILD kde-unstable/kdesdk-kate/pkgbuild-syntax-highlight.patch kde-unstable/kdesdk/PKGBUILD kde-unstable/kdetoys/PKGBUILD kde-unstable/kdeutils-filelight/PKGBUILD kde-unstable/kdeutils-kcalc/PKGBUILD kde-unstable/kdeutils-kcharselect/PKGBUILD kde-unstable/kdeutils-kdf/PKGBUILD kde-unstable/kdeutils-kfloppy/PKGBUILD kde-unstable/kdeutils-kgpg/PKGBUILD kde-unstable/kdeutils-kremotecontrol/PKGBUILD kde-unstable/kdeutils-ktimer/PKGBUILD kde-unstable/kdeutils-kwallet/PKGBUILD kde-unstable/kdeutils-superkaramba/PKGBUILD kde-unstable/kdeutils-sweeper/PKGBUILD kde-unstable/kdewebdev/PKGBUILD kde-unstable/libkcddb/PKGBUILD kde-unstable/libkcompactdisc/PKGBUILD kde-unstable/libkdcraw/PKGBUILD kde-unstable/libkdeedu/PKGBUILD kde-unstable/libkexiv2/PKGBUILD kde-unstable/libkipi/PKGBUILD kde-unstable/libksane/PKGBUILD kde-unstable/nepomuk-core/PKGBUILD
Diffstat (limited to 'extra/opencv')
-rw-r--r--extra/opencv/PKGBUILD50
1 files changed, 26 insertions, 24 deletions
diff --git a/extra/opencv/PKGBUILD b/extra/opencv/PKGBUILD
index cd9b5a620..12688a67f 100644
--- a/extra/opencv/PKGBUILD
+++ b/extra/opencv/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 170692 2012-11-09 19:50:58Z schiv $
+# $Id: PKGBUILD 171611 2012-11-20 13:12:19Z schiv $
# Maintainer: Ray Rashif <schiv@archlinux.org>
# Contributor: Tobias Powalowski <tpowa@archlinux.org>
@@ -6,17 +6,19 @@ pkgbase=opencv
pkgname=('opencv' 'opencv-docs' 'opencv-samples')
_realname=OpenCV
pkgver=2.4.3
-pkgrel=2
+pkgrel=3
pkgdesc="Open Source Computer Vision Library"
arch=('i686' 'x86_64' 'mips64el')
license=('BSD')
url="http://opencv.org/"
depends=('jasper' 'gstreamer0.10-base' 'intel-tbb'
- 'xine-lib' 'libdc1394' 'openexr' 'gtk2')
-makedepends=('cmake' 'python2-numpy' 'eigen2')
+ 'xine-lib' 'libdc1394' 'openexr' 'gtkglext')
+makedepends=('cmake' 'python2-numpy' 'eigen2'
+ 'libcl' 'opencl-headers' 'mesa')
optdepends=('opencv-docs'
'opencv-samples'
'eigen2'
+ 'libcl'
'python2-numpy: Python 2.x interface')
source=("http://downloads.sourceforge.net/opencvlibrary/$_realname-${pkgver}.tar.bz2"
'pkgconfig.patch'
@@ -25,23 +27,23 @@ md5sums=('c0a5af4ff9d0d540684c0bf00ef35dbe'
'cb916260b5ec594fe7a0cc2e54fc569f'
'35256e3ccace373feba8131d1540a0de')
-_cmakeopts=('-D CMAKE_BUILD_TYPE=Release'
- '-D CMAKE_INSTALL_PREFIX=/usr'
- '-D CMAKE_SKIP_RPATH=ON'
+_cmakeopts=('-D WITH_OPENCL=ON'
+ '-D WITH_OPENGL=ON'
+ '-D WITH_TBB=ON'
+ '-D WITH_XINE=ON'
+ '-D ENABLE_SSE=OFF'
+ '-D ENABLE_SSE2=OFF'
+ '-D ENABLE_SSE3=OFF'
+ '-D BUILD_PACKAGE=OFF'
+ '-D BUILD_WITH_DEBUG_INFO=OFF'
'-D BUILD_TESTS=OFF'
+ '-D BUILD_PERF_TESTS=OFF'
'-D BUILD_EXAMPLES=ON'
'-D INSTALL_C_EXAMPLES=ON'
'-D INSTALL_PYTHON_EXAMPLES=ON'
- '-D WITH_XINE=ON'
- '-D WITH_QT=OFF'
- '-D WITH_QT_OPENGL=OFF'
- '-D WITH_UNICAP=OFF'
- '-D WITH_PVAPI=OFF'
- '-D WITH_OPENNI=OFF'
- '-D WITH_TBB=ON'
- '-D WITH_IPP=OFF'
- '-D WITH_CUDA=OFF'
- '-D USE_FAST_MATH=ON')
+ '-D CMAKE_BUILD_TYPE=Release'
+ '-D CMAKE_INSTALL_PREFIX=/usr'
+ '-D CMAKE_SKIP_RPATH=ON')
build() {
cd "$srcdir/$_realname-$pkgver"
@@ -87,11 +89,11 @@ package_opencv-docs() {
cd "$srcdir"
mkdir -p "$pkgdir/usr/share/doc"
- cp -r opencv-doc "$pkgdir/usr/share/doc/$pkgname"
+ cp -r opencv-doc "$pkgdir/usr/share/doc/opencv"
# install license file
- install -Dm644 "$srcdir/$_realname-$pkgver/doc/license.txt" \
- "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ #install -Dm644 "$srcdir/$_realname-$pkgver/doc/license.txt" \
+ # "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
package_opencv-samples() {
@@ -102,12 +104,12 @@ package_opencv-samples() {
cd "$srcdir"
- mkdir -p "$pkgdir/usr/share/$pkgname"
- cp -r opencv-samples "$pkgdir/usr/share/$pkgname/samples"
+ mkdir -p "$pkgdir/usr/share/opencv"
+ cp -r opencv-samples "$pkgdir/usr/share/opencv/samples"
# install license file
- install -Dm644 "$srcdir/$_realname-$pkgver/doc/license.txt" \
- "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ #install -Dm644 "$srcdir/$_realname-$pkgver/doc/license.txt" \
+ # "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
# vim:set ts=2 sw=2 et: