diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2017-08-25 20:18:27 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2017-08-25 20:18:27 -0500 |
commit | f6eb7bb89645c60e93dc9a8fabef20b16331e3ef (patch) | |
tree | 63222c3fa666bad2a653a59e6c0a8b7ef570d17f /libre/opencv | |
parent | a5c6428e7d2e35af5a7ecb985311ce2742f022dc (diff) | |
download | abslibre-f6eb7bb89645c60e93dc9a8fabef20b16331e3ef.tar.gz abslibre-f6eb7bb89645c60e93dc9a8fabef20b16331e3ef.tar.bz2 abslibre-f6eb7bb89645c60e93dc9a8fabef20b16331e3ef.zip |
opencv-3.3.0-1.parabola1: updating version
Diffstat (limited to 'libre/opencv')
-rw-r--r-- | libre/opencv/PKGBUILD | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/libre/opencv/PKGBUILD b/libre/opencv/PKGBUILD index cd5c29e23..74c293165 100644 --- a/libre/opencv/PKGBUILD +++ b/libre/opencv/PKGBUILD @@ -7,14 +7,14 @@ pkgbase=opencv pkgname=opencv -pkgver=3.2.0 -pkgrel=4.parabola1 +pkgver=3.3.0 +pkgrel=1.parabola1 pkgdesc="Free Computer Vision Library, without nonfree SIFT and SURF algorithms, nonfree Milky icons and lena images" arch=('i686' 'x86_64' 'armv7h') license=('BSD') url="http://opencv.org/" depends=('intel-tbb' 'openexr' 'xine-lib' 'libdc1394' 'gtkglext') -makedepends=('cmake' 'python-numpy' 'python2-numpy' 'mesa' 'eigen' 'hdf5' 'protobuf') +makedepends=('cmake' 'python-numpy' 'python2-numpy' 'mesa' 'eigen' 'hdf5') optdepends=('opencv-samples' 'hdf5: support for HDF5 format' 'opencl-icd-loader: For coding with OpenCL' @@ -23,9 +23,9 @@ optdepends=('opencv-samples' mksource=("$pkgbase-$pkgver.zip::https://github.com/Itseez/opencv/archive/$pkgver.zip" "opencv_contrib-$pkgver.tar.gz::https://github.com/Itseez/opencv_contrib/archive/$pkgver.tar.gz") source=("https://repo.parabola.nu/other/${pkgname}-libre/${pkgname}-libre-${pkgver}.zip") -mkmd5sums=('bfc6a261eb069b709bcfe7e363ef5899' - 'd7d50c70c31df3b31310f548f31fd2a2') -md5sums=('020b142fa33a668f23eb3c2391e4b374') +mkmd5sums=('cc586ebe960a7cdd87100e89088abc06' + '7878ff39d3488b335861831419d30c64') +md5sums=('08ef0bd46d5f447692b873d65ecb7271') _cmakeopts=('-D WITH_OPENCL=ON' '-D WITH_OPENGL=ON' @@ -42,8 +42,6 @@ _cmakeopts=('-D WITH_OPENCL=ON' '-D CMAKE_INSTALL_PREFIX=/usr' '-D CMAKE_SKIP_RPATH=ON' '-D WITH_IPP=OFF' - '-D BUILD_PROTOBUF=OFF' - '-D UPDATE_PROTO_FILES=ON' #'-D INSTALL_CREATE_DISTRIB=ON' ) @@ -77,11 +75,12 @@ prepare() { } build() { - cd "$srcdir/$pkgname-$pkgver" + mkdir -p build + cd build cmake ${_cmakeopts[@]} \ -DOPENCV_EXTRA_MODULES_PATH="$srcdir/opencv_contrib-$pkgver/modules" \ - . + ../$pkgname-$pkgver make } @@ -89,7 +88,7 @@ build() { package_opencv() { options=('staticlibs') - cd "$srcdir/$pkgname-$pkgver" + cd build make DESTDIR="$pkgdir" install |