mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
extra/opencv to 4.5.5-1
This commit is contained in:
parent
83275097c6
commit
834afa025c
1 changed files with 4 additions and 10 deletions
|
@ -9,8 +9,8 @@
|
|||
|
||||
pkgbase=opencv
|
||||
pkgname=(opencv opencv-samples python-opencv)
|
||||
pkgver=4.5.4
|
||||
pkgrel=11
|
||||
pkgver=4.5.5
|
||||
pkgrel=1
|
||||
pkgdesc="Open Source Computer Vision Library"
|
||||
arch=(x86_64)
|
||||
license=(BSD)
|
||||
|
@ -26,22 +26,16 @@ optdepends=('opencv-samples: samples'
|
|||
'java-runtime: Java interface')
|
||||
source=(https://github.com/opencv/opencv/archive/$pkgver/$pkgname-$pkgver.tar.gz
|
||||
https://github.com/opencv/opencv_contrib/archive/$pkgver/opencv_contrib-$pkgver.tar.gz
|
||||
opencv-lapack-3.10.patch::https://github.com/opencv/opencv/commit/54c18009.patch
|
||||
fix-cvv-build.patch::https://github.com/opencv/opencv_contrib/commit/2a4348e0.patch
|
||||
vtk9.patch
|
||||
0001-link-with-libatomic.patch)
|
||||
sha256sums=('c20bb83dd790fc69df9f105477e24267706715a9d3c705ca1e7f613c7b3bad3d'
|
||||
'ad74b440b4539619dc9b587995a16b691246023d45e34097c73e259f72de9f81'
|
||||
'fec670f7d1f7f6a92db9f871d73d736775c6e5875a7d9cd9894b9753d073f9a1'
|
||||
'a992cbdfe40730c584df41b9d18ab6c799bf060a67cf4332e5e3301b95720369'
|
||||
sha256sums=('a1cfdcf6619387ca9e232687504da996aaa9f7b5689986b8331ec02cb61d28ad'
|
||||
'a97c2eaecf7a23c6dbd119a609c6d7fae903e5f9ff5f1fe678933e01c67a6c11'
|
||||
'f35a2d4ea0d6212c7798659e59eda2cb0b5bc858360f7ce9c696c77d3029668e'
|
||||
'3376bc87ac7404c6f396f1bee03b76ab0e5cb18829f535bbc97cef71d28ab168')
|
||||
|
||||
|
||||
prepare() {
|
||||
patch -d $pkgname-$pkgver -p1 < opencv-lapack-3.10.patch # Fix build with LAPACK 3.10
|
||||
patch -d $pkgname-$pkgver -p1 < vtk9.patch # Don't require all vtk optdepends
|
||||
patch -d opencv_contrib-$pkgver -p1 < fix-cvv-build.patch # Fix build of cvv module
|
||||
cd $pkgname-$pkgver
|
||||
if [[ $CARCH == "arm" || $CARCH == "armv6h" ]]; then
|
||||
patch -p1 -i ../0001-link-with-libatomic.patch
|
||||
|
|
Loading…
Reference in a new issue