diff options
author | Daniel Bermond | 2023-12-02 13:43:13 -0300 |
---|---|---|
committer | Daniel Bermond | 2023-12-02 13:43:13 -0300 |
commit | 950a09a51d538c53df08ea88385657fac7f3f04f (patch) | |
tree | 1a48e8c9d390642b4d00576dd276468b2c52fc49 | |
parent | 468927f834c5f535aebaef25af2d5632c3174db8 (diff) | |
download | aur-950a09a51d538c53df08ea88385657fac7f3f04f.tar.gz |
Enable v4l internal code
It only links to v4l libraries when using 'WITH_LIBV4L'.
The option 'WITH_V4L' seems to use internal code only.
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 4 insertions, 4 deletions
@@ -1,7 +1,7 @@ pkgbase = opencv2 pkgdesc = Open Source Computer Vision Library (version 2.x) pkgver = 2.4.13.7 - pkgrel = 2 + pkgrel = 3 url = https://opencv.org/ arch = x86_64 license = BSD @@ -7,7 +7,7 @@ pkgname=opencv2 pkgver=2.4.13.7 -pkgrel=2 +pkgrel=3 pkgdesc='Open Source Computer Vision Library (version 2.x)' arch=('x86_64') license=('BSD') @@ -30,7 +30,7 @@ build() { cmake -S "opencv-${pkgver}" -B build \ -G 'Unix Makefiles' \ -DCMAKE_BUILD_TYPE:STRING='None' \ - -DCMAKE_INSTALL_PREFIX:STRING='/opt/opencv2' \ + -DCMAKE_INSTALL_PREFIX:PATH='/opt/opencv2' \ -DCMAKE_SKIP_INSTALL_RPATH:BOOL='YES' \ -DBUILD_JASPER:BOOL='ON' \ -DBUILD_opencv_java:BOOL='OFF' \ @@ -48,7 +48,7 @@ build() { -DWITH_OPENCL:BOOL='ON' \ -DWITH_OPENGL:BOOL='ON' \ -DWITH_TBB:BOOL='OFF' \ - -DWITH_V4L:BOOL='OFF' \ + -DWITH_V4L:BOOL='ON' \ -DWITH_XINE:BOOL='OFF' \ -DENABLE_SSE3:BOOL='OFF' \ -DENABLE_SSSE4:BOOL='OFF' \ |