From: Jan Rękorajski Date: Sun, 5 Apr 2015 17:50:39 +0000 (+0000) Subject: - fix 'parse error at BOOST_JOIN' in moc run X-Git-Tag: auto/th/qt-gstreamer-1.2.0-2~1 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fqt-gstreamer.git;a=commitdiff_plain;h=0ffada7 - fix 'parse error at BOOST_JOIN' in moc run --- diff --git a/boost-moc.patch b/boost-moc.patch new file mode 100644 index 0000000..6d7280b --- /dev/null +++ b/boost-moc.patch @@ -0,0 +1,28 @@ +--- 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 + #include + #include ++#ifndef Q_MOC_RUN + #include + #include + #include + #include ++#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 + #include + #include ++#ifndef Q_MOC_RUN + #include + #include ++#endif + + namespace QGlib { + diff --git a/qt-gstreamer.spec b/qt-gstreamer.spec index e7cd418..55abe47 100644 --- a/qt-gstreamer.spec +++ b/qt-gstreamer.spec @@ -13,6 +13,7 @@ License: LGPL v2+ 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 @@ -213,6 +214,7 @@ Wtyczka Qt GStreamer dla Qt5Qml (Quick2). %prep %setup -q +%patch0 -p1 %build %if %{with qt4}