[arch-commits] Commit in opencv/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Fri Oct 18 21:29:38 UTC 2019
Date: Friday, October 18, 2019 @ 21:29:38
Author: arojas
Revision: 365168
openexr 2.4 rebuild
Modified:
opencv/trunk/PKGBUILD
----------+
PKGBUILD | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-18 19:25:30 UTC (rev 365167)
+++ PKGBUILD 2019-10-18 21:29:38 UTC (rev 365168)
@@ -4,7 +4,7 @@
pkgbase=opencv
pkgname=(opencv opencv-samples)
pkgver=4.1.2
-pkgrel=1
+pkgrel=2
pkgdesc="Open Source Computer Vision Library"
arch=(x86_64)
license=(BSD)
@@ -30,6 +30,9 @@
cd $pkgname-$pkgver
patch -p1 -i ../opencv-includedir.patch # Fix wrong include patch in pkgconfig file
+# Fix build with openexr 2.4
+ sed -e 's|Half|Half-2_4|' -e 's|Iex|Iex-2_4|' -e 's|Imath|Imath-2_4|' -e 's|IlmImf|IlmImf-2_4|' -e 's|IlmThread|IlmThread-2_4|' \
+ -i cmake/OpenCVFindOpenEXR.cmake
}
build() {
More information about the arch-commits
mailing list