Update version and add new dependencies
---
 rules/opencv.in   | 13 +++++++++++++
 rules/opencv.make |  4 ++--
 2 files changed, 15 insertions(+), 2 deletions(-)

diff --git a/rules/opencv.in b/rules/opencv.in
index 12b44606f..8380506ad 100644
--- a/rules/opencv.in
+++ b/rules/opencv.in
@@ -99,6 +99,7 @@ config OPENCV_VIDEO
 config OPENCV_VIDEOIO
        bool
        prompt "videoio"
+       select OPENCV_IMGCODECS
        help
          Video I/O
 
@@ -139,6 +140,18 @@ config OPENCV_QT
 config OPENCV_EXAMPLES
        bool
        prompt "Build Examples"
+       select OPENCV_IMGPROC
+       select OPENCV_FLANN
+       select OPENCV_IMGCODECS
+       select OPENCV_VIDEOIO
+       select OPENCV_HIGHGUI
+       select OPENCV_ML
+       select OPENCV_VIDEO
+       select OPENCV_OBJDETECT
+       select OPENCV_PHOTO
+       select OPENCV_FEATURES2D
+       select OPENCV_CALIB3D
+       select OPENCV_STITCHING
        help
          Build the OpenCV example applications and install them into 
/usr/share/opencv/examples.
 endif
diff --git a/rules/opencv.make b/rules/opencv.make
index 029293225..9d8120040 100644
--- a/rules/opencv.make
+++ b/rules/opencv.make
@@ -17,8 +17,8 @@ PACKAGES-$(PTXCONF_OPENCV) += opencv
 # Paths and names
 #
 
-OPENCV_VERSION := 4.1.2
-OPENCV_MD5     := 6b390578d57131ae9d6c2a183257399d
+OPENCV_VERSION := 4.2.0
+OPENCV_MD5     := b02b54115f1f99cb9e885d1e5988ff70
 OPENCV         := opencv-$(OPENCV_VERSION)
 OPENCV_SUFFIX  := zip
 OPENCV_URL     := \
-- 
2.20.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

Reply via email to