diff --git a/opencv.spec b/opencv.spec index a0d3605..4b57f32 100644 --- a/opencv.spec +++ b/opencv.spec @@ -51,6 +51,7 @@ %bcond_without clp %bcond_without va %bcond_without java +%bcond_without vulkan %global srcname opencv %global abiver 4.1 @@ -170,6 +171,7 @@ BuildRequires: lapack-devel BuildRequires: ant BuildRequires: java-devel } +%{?with_vulkan:BuildRequires: vulkan-headers} Requires: opencv-core%{_isa} = %{version}-%{release} @@ -316,6 +318,7 @@ popd %{?with_clp: -DWITH_CLP=ON } \ %{?with_va: -DWITH_VA=ON } \ %{!?with_vtk: -DWITH_VTK=OFF} \ + %{?with_vulkan: -DWITH_VULKAN=ON -DVULKAN_INCLUDE_DIRS=%{_includedir}/vulkan } \ .. # -DENABLE_CXX11=ON \ @@ -451,9 +454,11 @@ popd * Fri Sep 13 2019 Sérgio Basto - 4.1.0-1 - Update opencv to 4.1.0 +* Fri Sep 13 2019 Christopher N. Hesse - 4.1.0-0 +- Enable vulkan compute backend + * Fri Sep 13 2019 Sérgio Basto - 3.4.6-9 - Reenable pylint and vtk, they are working now. - * Wed Sep 11 2019 Mamoru TASAKA - 3.4.6-8 - F-32: remove vtk gcdm dependency for now because they have broken dependency (bug 1751406)