Reenable gstreamer

Remove architecture checks for tbb and enable it, inspired on (#1262788)
epel9
Sérgio M. Basto 7 years ago
parent 89187c095c
commit 114cbf390b

@ -1,10 +1,10 @@
#global indice a
%bcond_with ffmpeg
%bcond_with gstreamer
%bcond_without gstreamer
%bcond_with eigen2
%bcond_with eigen3
%bcond_with openni
%bcond_with tbb
%bcond_without tbb
%bcond_with sse3
%bcond_with cuda
%bcond_with xine
@ -21,7 +21,7 @@
Name: opencv
Version: 3.2.0
Release: 7%{?dist}
Release: 8%{?dist}
Summary: Collection of algorithms for computer vision
Group: Development/Libraries
# This is normal three clause BSD.
@ -82,11 +82,9 @@ BuildRequires: openni-devel
BuildRequires: openni-primesense
}
%endif
%ifarch %{ix86} x86_64 ia64 ppc %{power64} aarch64
%{?with_tbb:
BuildRequires: tbb-devel
}
%endif
BuildRequires: zlib-devel pkgconfig
BuildRequires: python2-devel
BuildRequires: python3-devel
@ -240,9 +238,7 @@ pushd build
%{!?with_sse3:-DENABLE_SSE3=OFF} \
-DCMAKE_BUILD_TYPE=ReleaseWithDebInfo \
-DBUILD_opencv_java=OFF \
%ifarch %{ix86} x86_64 ia64 ppc %{power64} aarch64
%{?with_tbb: -DWITH_TBB=ON } \
%endif
%{!?with_gstreamer:-DWITH_GSTREAMER=OFF} \
%{!?with_ffmpeg:-DWITH_FFMPEG=OFF} \
%{?with_cuda: \
@ -381,6 +377,10 @@ popd
%{_libdir}/libopencv_xphoto.so.%{abiver}*
%changelog
* Sun Aug 20 2017 Sérgio Basto <sergio@serjux.com> - 3.2.0-8
- Reenable gstreamer
- Remove architecture checks for tbb and enable it, inspired on (#1262788)
* Sun Aug 20 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 3.2.0-7
- Add Provides for the old name without %%_isa

Loading…
Cancel
Save