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

Loading…
Cancel
Save