| Recent opencv API changes break upstream filter and example. |
| Make opencv explicitly configurable. |
| |
| Upstream-Status: Inappropriate [configuration] |
| |
| Signed-off-by: Tim Orling <TicoTimo@gmail.com> |
| |
| --- a/configure.ac |
| +++ b/configure.ac |
| @@ -1892,7 +1892,16 @@ PKG_ENABLE_MODULES_VLC([BLURAY], [libblu |
| dnl |
| dnl OpenCV wrapper and example filters |
| dnl |
| -PKG_ENABLE_MODULES_VLC([OPENCV], [opencv_example opencv_wrapper], [opencv > 2.0], (OpenCV (computer vision) filter), [auto]) |
| +AC_ARG_ENABLE(opencv, |
| + [AS_HELP_STRING([--disable-opencv], |
| + [disable OpenCV computer vision filter and example (default auto)])]) |
| +if test "${enable_opencv}" != "no" |
| +then |
| + PKG_ENABLE_MODULES_VLC([OPENCV], |
| + [opencv_example opencv_wrapper], |
| + [opencv > 2.0], |
| + (OpenCV (computer vision) filter), [auto]) |
| +fi |
| |
| |
| dnl |