summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libre/opencv/PKGBUILD16
1 files changed, 5 insertions, 11 deletions
diff --git a/libre/opencv/PKGBUILD b/libre/opencv/PKGBUILD
index 240143378..6e23bb87b 100644
--- a/libre/opencv/PKGBUILD
+++ b/libre/opencv/PKGBUILD
@@ -6,8 +6,8 @@
pkgbase=opencv
pkgname=opencv
-pkgver=4.0.0
-pkgrel=4
+pkgver=4.0.1
+pkgrel=1
pkgrel+=.par1
pkgdesc="Free Computer Vision Library, without nonfree SIFT and SURF algorithms, nonfree Milky icons and lena images"
arch=(x86_64)
@@ -25,9 +25,9 @@ optdepends=('opencv-samples: samples'
mksource=("$pkgbase-$pkgver.zip::https://github.com/opencv/opencv/archive/$pkgver.zip"
"opencv_contrib-$pkgver.tar.gz::https://github.com/opencv/opencv_contrib/archive/$pkgver.tar.gz")
source=("https://repo.parabola.nu/other/$pkgname-libre/$pkgname-libre-$pkgver.zip")
-mksha256sums=('86fd08fc02893e05e2944fa7b0daa7d02643232450f020b475e1b2f24587b99a'
- '4fb0681414df4baedce6e3f4a01318d6f4fcde6ee14854d761fd4e397a397763')
-sha256sums=('71fd849ccbf648876bb8288f05591a5314082761a4028a4953b4cccc81f325e3')
+mksha256sums=('b79ccdc4797a959c5ab17249a8a302c066248ae070e4d7010e2d77a625fdb30a'
+ '0d8acbad4b7074cfaafd906a7419c23629179d5e98894714402090b192ef8237')
+sha256sums=('62118c4fa2bf720c86ec669c06b1dd6f194880bf4f4da99c4838e136b441956f')
mksource() {
cd "$srcdir/opencv_contrib-$pkgver"
@@ -101,10 +101,4 @@ package_opencv() {
# separate samples package
cd "$pkgdir"/usr/share
rm -r opencv4/samples
-
- # install missing headers https://github.com/opencv/opencv/issues/13201
- for _module in imgcodecs videoio photo; do
- cp -r "$srcdir"/$pkgname-$pkgver/modules/$_module/include/opencv2/$_module/legacy \
- "$pkgdir"/usr/include/opencv4/opencv2/$_module
- done
}