Commit 74ee5029 authored by Xuetian Weng's avatar Xuetian Weng

fix opencv library path

parent d048ccb8
pkgbase=opencv pkgbase=opencv
pkgname=('opencv' 'opencv-samples') pkgname=('opencv' 'opencv-samples')
pkgver=3.4.0 pkgver=3.4.0
pkgrel=1 pkgrel=2
pkgdesc="Open Source Computer Vision Library" pkgdesc="Open Source Computer Vision Library"
arch=('x86_64') arch=('x86_64')
license=('BSD') license=('BSD')
...@@ -17,23 +17,24 @@ source=("opencv-$pkgver.zip::https://github.com/Itseez/opencv/archive/${pkgver}. ...@@ -17,23 +17,24 @@ source=("opencv-$pkgver.zip::https://github.com/Itseez/opencv/archive/${pkgver}.
"opencv_contrib-$pkgver.zip::https://github.com/Itseez/opencv_contrib/archive/${pkgver}.zip") "opencv_contrib-$pkgver.zip::https://github.com/Itseez/opencv_contrib/archive/${pkgver}.zip")
sha1sums=('b60908c5f52c7897be40e20f4b064911dbe8de0d' sha1sums=('b60908c5f52c7897be40e20f4b064911dbe8de0d'
'7aafd8ce8cf2de62fe686f6ea21410b0c9c1c978') '7aafd8ce8cf2de62fe686f6ea21410b0c9c1c978')
_cmakeopts=('-D CMAKE_BUILD_TYPE=Release'
'-D CMAKE_INSTALL_PREFIX=/usr' _cmakeopts=('-D WITH_OPENCL=ON'
'-D CMAKE_SKIP_RPATH=ON' '-D WITH_OPENGL=ON'
'-D BUILD_SHARED_LIBS=ON' '-D WITH_TBB=ON'
'-D WITH_XINE=ON'
'-D WITH_GSTREAMER=ON'
'-D BUILD_WITH_DEBUG_INFO=OFF'
'-D BUILD_TESTS=OFF' '-D BUILD_TESTS=OFF'
'-D BUILD_PERF_TESTS=OFF'
'-D BUILD_EXAMPLES=ON' '-D BUILD_EXAMPLES=ON'
'-D INSTALL_C_EXAMPLES=ON' '-D INSTALL_C_EXAMPLES=ON'
'-D INSTALL_PYTHON_EXAMPLES=ON' '-D INSTALL_PYTHON_EXAMPLES=ON'
'-D WITH_XINE=ON' '-D CMAKE_BUILD_TYPE=Release'
'-D WITH_OPENGL=ON' '-D CMAKE_INSTALL_PREFIX=/usr'
'-D WITH_OPENCL=ON' '-D CMAKE_INSTALL_LIBDIR=lib'
'-D CMAKE_SKIP_RPATH=ON'
'-D WITH_QT=5' '-D WITH_QT=5'
'-D WITH_GTK=OFF' '-D WITH_GTK=OFF'
'-D WITH_GSTREAMER=ON'
'-D ENABLE_SSE41=OFF'
'-D ENABLE_SSE42=OFF'
'-D ENABLE_FAST_MATH=OFF'
'-D CPU_BASELINE_DISABLE=SSE3 -D CPU_BASELINE_REQUIRE=SSE2' '-D CPU_BASELINE_DISABLE=SSE3 -D CPU_BASELINE_REQUIRE=SSE2'
) )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment