--- /dev/null
+--- gst-plugins-bad-0.10.23/configure.ac.orig 2012-10-06 08:00:31.847697403 +0200
++++ gst-plugins-bad-0.10.23/configure.ac 2012-10-06 08:29:02.444328416 +0200
+@@ -1372,7 +1372,7 @@
+ dnl a new version and the no-backward-compatibility define. (There doesn't
+ dnl seem to be a switch to suppress the warnings the cvcompat.h header
+ dnl causes.)
+- PKG_CHECK_MODULES(OPENCV, opencv >= 2.0.0 opencv <= 2.3.1 , [
++ PKG_CHECK_MODULES(OPENCV, opencv >= 2.0.0 opencv < 2.5.0 , [
+ AC_PROG_CXX
+ AC_LANG_CPLUSPLUS
+ OLD_CPPFLAGS=$CPPFLAGS
Patch0: %{name}-libdts.patch
Patch1: %{name}-timidity.patch
Patch2: %{name}-nas.patch
+Patch3: %{name}-opencv.patch
URL: http://gstreamer.freedesktop.org/
BuildRequires: autoconf >= 2.62
BuildRequires: automake >= 1:1.11
%{?with_neon:BuildRequires: neon-devel >= 0.27.0}
%if %{with opencv}
BuildRequires: opencv-devel >= 1:2.2.0
-BuildRequires: opencv-devel < 1:2.4.0
+BuildRequires: opencv-devel < 1:2.5.0
%endif
BuildRequires: openssl-devel >= 0.9.5
BuildRequires: opus-devel >= 0.9.4
Summary(pl.UTF-8): Wtyczka OpenCV do GStreamera
Group: Libraries
Requires: gstreamer >= %{gst_req_ver}
-Requires: opencv >= 2.2.0
+Requires: opencv >= 1:2.2.0
%description -n gstreamer-opencv
GStreamer OpenCV plugin. It contains the following elements:
%patch0 -p1
%patch1 -p1
%patch2 -p1
+%patch3 -p1
%build
%{__libtoolize}