extra/opencv to 4.7.0-1

This commit is contained in:
Kevin Mihelich 2023-01-07 15:29:44 +00:00
parent a23e1d307a
commit 4725a503e8

View file

@ -8,8 +8,8 @@
pkgbase=opencv
pkgname=(opencv opencv-samples python-opencv)
pkgver=4.6.0
pkgrel=7
pkgver=4.7.0
pkgrel=1
pkgdesc='Open Source Computer Vision Library'
arch=(x86_64)
license=(BSD)
@ -25,16 +25,13 @@ 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
https://github.com/opencv/opencv/commit/496eed95.patch
vtk9.patch)
sha256sums=('1ec1cba65f9f20fe5a41fda1586e01c70ea0c9a6d7b67c9e13edf0cfe2239277'
'1777d5fd2b59029cf537e5fd6f8aa68d707075822f90bde683fcde086f85f7a7'
'28edbd94c443b6aaa3054b4f9b35a4ad9a89dc45f40d408bcf3036950a072a32'
sha256sums=('8df0079cdbe179748a18d44731af62a245a45ebf5085223dc03133954c662973'
'42df840cf9055e59d0e22c249cfb19f04743e1bdad113d31b1573d3934d62584'
'f35a2d4ea0d6212c7798659e59eda2cb0b5bc858360f7ce9c696c77d3029668e')
prepare() {
patch -d $pkgname-$pkgver -p1 < vtk9.patch # Don't require all vtk optdepends
patch -d $pkgname-$pkgver -p1 < 496eed95.patch # Fix build with ffmpeg 5.1
}
build() {