mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-02-16 23:57:11 +00:00
extra/opencv to 4.3.0-1
This commit is contained in:
parent
68af9d99b4
commit
e008ca0fa5
1 changed files with 4 additions and 7 deletions
|
@ -7,8 +7,8 @@
|
|||
|
||||
pkgbase=opencv
|
||||
pkgname=(opencv opencv-samples)
|
||||
pkgver=4.2.0
|
||||
pkgrel=2
|
||||
pkgver=4.3.0
|
||||
pkgrel=1
|
||||
pkgdesc="Open Source Computer Vision Library"
|
||||
arch=(x86_64)
|
||||
license=(BSD)
|
||||
|
@ -25,12 +25,10 @@ optdepends=('opencv-samples: samples'
|
|||
source=("$pkgbase-$pkgver.tar.gz::https://github.com/opencv/opencv/archive/$pkgver.zip"
|
||||
"opencv_contrib-$pkgver.tar.gz::https://github.com/opencv/opencv_contrib/archive/$pkgver.tar.gz"
|
||||
opencv-includedir.patch
|
||||
opencv-install-samples_utils.patch::"https://github.com/opencv/opencv/commit/981e63d8.patch"
|
||||
0001-link-with-libatomic.patch)
|
||||
sha256sums=('55bd939079d141a50fca74bde5b61b339dd0f0ece6320ec76859aaff03c90d9f'
|
||||
'8a6b5661611d89baa59a26eb7ccf4abb3e55d73f99bb52d8f7c32265c8a43020'
|
||||
sha256sums=('36799186756c1e12adde97f0a8d1afc395d5b0f86d8ad9ef951bc33aa732f9b9'
|
||||
'acb8e89c9e7d1174e63e40532125b60d248b00e517255a98a419d415228c6a55'
|
||||
'a96e35c9592e655b21a62cfe04e864a10e21535ad900e5de67356b9e9f40ca10'
|
||||
'c370f234931d46cd01234d48a01af02642d7e90a0486278fa7845d3bac1c514a'
|
||||
'3376bc87ac7404c6f396f1bee03b76ab0e5cb18829f535bbc97cef71d28ab168')
|
||||
|
||||
prepare() {
|
||||
|
@ -38,7 +36,6 @@ prepare() {
|
|||
|
||||
cd $pkgname-$pkgver
|
||||
patch -p1 -i ../opencv-includedir.patch # Fix wrong include patch in pkgconfig file
|
||||
patch -p1 -i ../opencv-install-samples_utils.patch # Install all CMake files required to build samples
|
||||
|
||||
sed -e '/ocv_tbb_cmake_guess(HAVE_TBB)/d' -i cmake/OpenCVDetectTBB.cmake # Don't use TBB's cmake config, it breaks build
|
||||
|
||||
|
|
Loading…
Reference in a new issue