opencv: Allow building against 4.6.x
authorJan Alexander Steffens (heftig) <heftig@archlinux.org>
Sun, 5 Jun 2022 22:30:15 +0000 (00:30 +0200)
committerJan Alexander Steffens (heftig) <heftig@archlinux.org>
Sun, 5 Jun 2022 22:30:15 +0000 (00:30 +0200)
commitd86ad30be2648dca354315597b706c6fdb7e6d4c
tree7427cc864fc61a461174f36d6f130c9d3d8a3286
parenta02f0ea3922ffacde04731108b19fcfc8037e00a
opencv: Allow building against 4.6.x

Replace the broken version checks with one modeled after
`GLIB_CHECK_VERSION`.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2557>
subprojects/gst-plugins-bad/ext/opencv/gstcvtracker.cpp
subprojects/gst-plugins-bad/ext/opencv/gstcvtracker.h
subprojects/gst-plugins-bad/ext/opencv/meson.build