mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
package/opencv3: add webp support
webp support is available since version 3.0.0 and
500b7318be
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
committed by
Yann E. MORIN
parent
30d866c11d
commit
1705e2aee8
@@ -313,6 +313,14 @@ config BR2_PACKAGE_OPENCV3_WITH_V4L
|
|||||||
If the package libv4l is enabled, its support is
|
If the package libv4l is enabled, its support is
|
||||||
automatically enabled.
|
automatically enabled.
|
||||||
|
|
||||||
|
config BR2_PACKAGE_OPENCV3_WITH_WEBP
|
||||||
|
bool "webp support"
|
||||||
|
select BR2_PACKAGE_WEBP
|
||||||
|
help
|
||||||
|
Enable WebP support.
|
||||||
|
|
||||||
|
Use shared libwebp from the target system.
|
||||||
|
|
||||||
comment "Install options"
|
comment "Install options"
|
||||||
|
|
||||||
config BR2_PACKAGE_OPENCV3_INSTALL_DATA
|
config BR2_PACKAGE_OPENCV3_INSTALL_DATA
|
||||||
|
|||||||
@@ -223,7 +223,6 @@ OPENCV3_CONF_OPTS += \
|
|||||||
-DWITH_VA=OFF \
|
-DWITH_VA=OFF \
|
||||||
-DWITH_VA_INTEL=OFF \
|
-DWITH_VA_INTEL=OFF \
|
||||||
-DWITH_VTK=OFF \
|
-DWITH_VTK=OFF \
|
||||||
-DWITH_WEBP=OFF \
|
|
||||||
-DWITH_XINE=OFF
|
-DWITH_XINE=OFF
|
||||||
|
|
||||||
OPENCV3_DEPENDENCIES += host-pkgconf zlib
|
OPENCV3_DEPENDENCIES += host-pkgconf zlib
|
||||||
@@ -318,6 +317,13 @@ else
|
|||||||
OPENCV3_CONF_OPTS += -DWITH_V4L=OFF -DWITH_LIBV4L=OFF
|
OPENCV3_CONF_OPTS += -DWITH_V4L=OFF -DWITH_LIBV4L=OFF
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_OPENCV3_WITH_WEBP),y)
|
||||||
|
OPENCV3_CONF_OPTS += -DWITH_WEBP=ON
|
||||||
|
OPENCV3_DEPENDENCIES += webp
|
||||||
|
else
|
||||||
|
OPENCV3_CONF_OPTS += -DWITH_WEBP=OFF
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_OPENCV3_LIB_PYTHON),y)
|
ifeq ($(BR2_PACKAGE_OPENCV3_LIB_PYTHON),y)
|
||||||
OPENCV3_CONF_OPTS += \
|
OPENCV3_CONF_OPTS += \
|
||||||
-DBUILD_opencv_python2=OFF \
|
-DBUILD_opencv_python2=OFF \
|
||||||
|
|||||||
Reference in New Issue
Block a user