]> git.pld-linux.org Git - packages/opencv.git/blobdiff - opencv.spec
- release 5 (by relup.sh)
[packages/opencv.git] / opencv.spec
index e66f4b9ac154c9d8e1dc691f394a374c919f193b..d068527ede9396d80d17a0fd4ae2c9a9fb7ff011 100644 (file)
@@ -53,7 +53,7 @@ Summary:      A library of programming functions mainly aimed at real time computer v
 Summary(pl.UTF-8):     Biblioteka funkcji do grafiki komputerowej w czasie rzeczywistym
 Name:          opencv
 Version:       3.1.0
-Release:       2
+Release:       5
 Epoch:         1
 %if %{with unicap} || %{with xine}
 License:       GPL (enforced by used libraries), BSD (opencv itself)
@@ -66,9 +66,10 @@ Source0:     https://github.com/Itseez/opencv/archive/%{version}/%{name}-%{version}.
 Source1:       https://github.com/Itseez/opencv_contrib/archive/%{version}/%{name}_contrib-%{version}.tar.gz
 # Source1-md5: a822839ad3ab79ff837c16785ea9dd10
 Patch0:                %{name}-cflags.patch
-Patch5:                %{name}-ximea.patch
-Patch7:                java-ant-sourcelevel.patch
-Patch10:       cmake-install-path.patch
+Patch1:                %{name}-ximea.patch
+Patch2:                java-ant-sourcelevel.patch
+Patch3:                cmake-install-path.patch
+Patch4:                vtk7.patch
 URL:           http://www.opencv.org/
 %{?with_pvapi:BuildRequires:   AVT_GigE_SDK-devel}
 %{?with_opencl:BuildRequires:  OpenCL-devel}
@@ -86,7 +87,9 @@ BuildRequires:        doxygen
 BuildRequires: eigen3 >= 3
 %{?with_ffmpeg:BuildRequires:  ffmpeg-devel >= 0.7}
 %{?with_openmp:BuildRequires:  gcc-c++ >= 6:4.2}
+BuildRequires: gflags-devel
 BuildRequires: gl2ps-devel
+BuildRequires: glog-devel
 %if %{with gstreamer}
 BuildRequires: gstreamer-devel >= 1.0
 BuildRequires: gstreamer-plugins-base-devel >= 1.0
@@ -290,9 +293,10 @@ Wiązania Pythona 3 do OpenCV.
 %undos CMakeLists.txt
 
 %patch0 -p1
-%patch5 -p1
-%patch7 -p1
-%patch10 -p1
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
+%patch4 -p1
 
 %build
 install -d build
@@ -311,6 +315,7 @@ fi
 
 %cmake .. \
        $ccache \
+       -DENABLE_PRECOMPILED_HEADERS=OFF \
        -DOPENCV_EXTRA_MODULES_PATH=../opencv_contrib-%{version}/modules \
        -DENABLE_AVX=%{?with_avx:ON}%{!?with_avx:OFF} \
        -DENABLE_SSE=%{?with_sse:ON}%{!?with_sse:OFF} \
This page took 0.052798 seconds and 4 git commands to generate.