opencv: ffmpeg supports needs largefile / ipv6
authorPeter Korsgaard <jacmet@sunsite.dk>
Sat, 19 Nov 2011 21:40:33 +0000 (22:40 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sat, 19 Nov 2011 21:40:33 +0000 (22:40 +0100)
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/opencv/Config.in

index 1f454b677623646f015bc937579b0d4439b33906..961282f5e721f75fdc2b3399a0acdddb528d21ea 100644 (file)
@@ -31,11 +31,16 @@ config BR2_PACKAGE_OPENCV_WITH_PYTHON
 
 config BR2_PACKAGE_OPENCV_WITH_FFMPEG
        bool "ffmpeg support"
+       depends on BR2_LARGEFILE
+       depends on BR2_INET_IPV6
        select BR2_PACKAGE_FFMPEG
        select BR2_PACKAGE_FFMPEG_SWSCALE
        help
          Use ffmpeg from the target system.
 
+comment "ffmpeg support requires a toolchain with LARGEFILE and IPV6 support"
+       depends on !(BR2_LARGEFILE && BR2_INET_IPV6)
+
 config BR2_PACKAGE_OPENCV_WITH_GSTREAMER
        bool "gstreamer support"
        select BR2_PACKAGE_GSTREAMER