[Version] 4.5.0-4
[Issue type] new feature
imgcodecs module supports webp using libwebp which is installed in
system, not using 3rdparty webp library in OpenCV itself.
Change-Id: Iab628361d6f53175631a9bd58d1c6a2bccffbcf8
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
(cherry picked from commit
5583797beed871cdd9d15ca4e2d6c03979af7aa3)
Name: opencv
Summary: OpenCV library
Version: 4.5.0
-Release: 3
+Release: 4
Group: Development/Libraries
License: Apache-2.0 and BSD-3-Clause
Source0: %{name}-%{version}.tar.gz
%if "%{?profile}" != "tv"
BuildRequires: python3-devel
BuildRequires: python3-numpy-devel
+%else
+BuildRequires: pkgconfig(libwebp)
%endif
Requires(post): /sbin/ldconfig
-DWITH_INTELPERC=OFF \
-DWITH_IPP=OFF \
-DWITH_JASPER=OFF \
+%if "%{?profile}" != "tv"
-DWITH_WEBP=OFF \
+%else
+ -DWITH_WEBP=ON \
+%endif
-DWITH_MSMF=OFF \
-DWITH_NVCUVID=OFF \
-DWITH_OPENCL=OFF \