--- /dev/null
+--- qt-gstreamer-1.2.0/src/QGlib/connect.cpp~ 2014-07-08 18:38:36.000000000 +0000
++++ qt-gstreamer-1.2.0/src/QGlib/connect.cpp 2015-04-05 17:47:44.623508930 +0000
+@@ -20,10 +20,12 @@
+ #include <glib-object.h>
+ #include <QtCore/QHash>
+ #include <QtCore/QMutex>
++#ifndef Q_MOC_RUN
+ #include <boost/multi_index_container.hpp>
+ #include <boost/multi_index/sequenced_index.hpp>
+ #include <boost/multi_index/ordered_index.hpp>
+ #include <boost/multi_index/member.hpp>
++#endif
+
+ namespace QGlib {
+ namespace Private {
+--- qt-gstreamer-1.2.0/src/QGlib/connect.h~ 2014-07-08 18:38:36.000000000 +0000
++++ qt-gstreamer-1.2.0/src/QGlib/connect.h 2015-04-05 17:47:10.706840481 +0000
+@@ -25,8 +25,10 @@
+ #include <QtCore/QSharedPointer>
+ #include <QtCore/QFlags>
+ #include <QtCore/QHash>
++#ifndef Q_MOC_RUN
+ #include <boost/type_traits.hpp>
+ #include <boost/utility/enable_if.hpp>
++#endif
+
+ namespace QGlib {
+
Group: Libraries
Source0: http://gstreamer.freedesktop.org/src/qt-gstreamer/%{name}-%{version}.tar.xz
# Source0-md5: fd794045a828c184acc1794b08a463fd
+Patch0: boost-moc.patch
URL: http://gstreamer.net/
BuildRequires: OpenGL-devel
BuildRequires: bison
%prep
%setup -q
+%patch0 -p1
%build
%if %{with qt4}