Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/kde-sunset:master commit in: media-libs/qt-gstreamer/, media-libs/qt-gstreamer/files/
Date: Mon, 07 Sep 2020 15:51:25
Message-Id: 1599493607.1d36e1f109781ef9bb94f613c032435d84282098.asturm@gentoo
1 commit: 1d36e1f109781ef9bb94f613c032435d84282098
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Mon Sep 7 15:46:16 2020 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 7 15:46:47 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/kde-sunset.git/commit/?id=1d36e1f1
7
8 media-libs/qt-gstreamer: Import latest version, configure with Qt4
9
10 Required by kde-apps/artikulate.
11
12 - New SLOT="0-qt4" to be able to install it side-by side w/ Qt5 version
13 - Block colliding SLOT="0" versions <1.2.0-r4
14
15 Package-Manager: Portage-3.0.5, Repoman-3.0.1
16 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
17
18 .../files/qt-gstreamer-1.2.0-boost157.patch | 204 +++++++++++++++++++++
19 .../files/qt-gstreamer-1.2.0-clang-38.patch | 67 +++++++
20 .../files/qt-gstreamer-1.2.0-gstreamer15.patch | 39 ++++
21 .../files/qt-gstreamer-1.2.0-gstreamer16.patch | 25 +++
22 media-libs/qt-gstreamer/metadata.xml | 8 +
23 .../qt-gstreamer/qt-gstreamer-1.2.0-r3.ebuild | 55 ++++++
24 6 files changed, 398 insertions(+)
25
26 diff --git a/media-libs/qt-gstreamer/files/qt-gstreamer-1.2.0-boost157.patch b/media-libs/qt-gstreamer/files/qt-gstreamer-1.2.0-boost157.patch
27 new file mode 100644
28 index 00000000..e8227393
29 --- /dev/null
30 +++ b/media-libs/qt-gstreamer/files/qt-gstreamer-1.2.0-boost157.patch
31 @@ -0,0 +1,204 @@
32 +Add include guards to all boost includes, as qt's moc trips
33 +over nested BOOST_JOIN macros:
34 +* AUTOGEN: error: process for /var/tmp/portage/media-libs/qt-gstreamer-1.2.0-r1/work/qt-gstreamer-1.2.0-4/src/QGst/moc_graphicsvideowidget.cpp failed:
35 +* usr/include/boost/type_traits/detail/has_binary_operator.hp:50: Parse error at "BOOST_JOIN"
36 +https://bugs.gentoo.org/show_bug.cgi?id=578906
37 +
38 +--- qt-gstreamer-1.2.0/codegen/generator.cpp
39 ++++ qt-gstreamer-1.2.0/codegen/generator.cpp
40 +@@ -54,7 +54,9 @@
41 + << "*/" << endl
42 + << endl
43 + << "#define INCLUDED_FROM_CODEGEN" << endl
44 ++ << "#ifndef Q_MOC_RUN" << endl
45 + << "#include <boost/static_assert.hpp>" << endl
46 ++ << "#endif" << endl
47 + << endl
48 + << "#define REGISTER_TYPE_IMPLEMENTATION(T, GTYPE) \\" << endl
49 + << " namespace QGlib { \\" << endl
50 +--- qt-gstreamer-1.2.0/src/QGlib/connect.cpp
51 ++++ qt-gstreamer-1.2.0/src/QGlib/connect.cpp
52 +@@ -20,10 +20,12 @@
53 + #include <glib-object.h>
54 + #include <QtCore/QHash>
55 + #include <QtCore/QMutex>
56 ++#ifndef Q_MOC_RUN
57 + #include <boost/multi_index_container.hpp>
58 + #include <boost/multi_index/sequenced_index.hpp>
59 + #include <boost/multi_index/ordered_index.hpp>
60 + #include <boost/multi_index/member.hpp>
61 ++#endif
62 +
63 + namespace QGlib {
64 + namespace Private {
65 +--- qt-gstreamer-1.2.0/src/QGlib/connect.h
66 ++++ qt-gstreamer-1.2.0/src/QGlib/connect.h
67 +@@ -25,8 +25,10 @@
68 + #include <QtCore/QSharedPointer>
69 + #include <QtCore/QFlags>
70 + #include <QtCore/QHash>
71 ++#ifndef Q_MOC_RUN
72 + #include <boost/type_traits.hpp>
73 + #include <boost/utility/enable_if.hpp>
74 ++#endif
75 +
76 + namespace QGlib {
77 +
78 +--- qt-gstreamer-1.2.0/src/QGlib/connectimpl.h
79 ++++ qt-gstreamer-1.2.0/src/QGlib/connectimpl.h
80 +@@ -26,7 +26,9 @@
81 + # include "refpointer.h"
82 + # include <QtCore/QList>
83 + # include <stdexcept>
84 ++#ifndef Q_MOC_RUN
85 + # include <boost/type_traits.hpp>
86 ++#endif
87 +
88 +
89 + namespace QGlib {
90 +@@ -203,9 +205,11 @@
91 +
92 + # else //QGLIB_HAVE_CXX0X
93 +
94 ++#ifndef Q_MOC_RUN
95 + # include <boost/function.hpp>
96 + # include <boost/preprocessor.hpp>
97 + # include <boost/bind.hpp>
98 ++#endif
99 +
100 + // include the second part of this file as many times as QGLIB_CONNECT_MAX_ARGS specifies
101 + # define BOOST_PP_ITERATION_PARAMS_1 (3,(0, QGLIB_CONNECT_MAX_ARGS, "QGlib/connectimpl.h"))
102 +--- qt-gstreamer-1.2.0/src/QGlib/emitimpl.h
103 ++++ qt-gstreamer-1.2.0/src/QGlib/emitimpl.h
104 +@@ -125,7 +125,9 @@
105 +
106 + # else //QGLIB_HAVE_CXX0X
107 +
108 ++#ifndef Q_MOC_RUN
109 + # include <boost/preprocessor.hpp>
110 ++#endif
111 +
112 + // include the second part of this file as many times as QGLIB_SIGNAL_MAX_ARGS specifies
113 + # define BOOST_PP_ITERATION_PARAMS_1 (3,(0, QGLIB_SIGNAL_MAX_ARGS, "QGlib/emitimpl.h"))
114 +--- qt-gstreamer-1.2.0/src/QGlib/gen.cpp
115 ++++ qt-gstreamer-1.2.0/src/QGlib/gen.cpp
116 +@@ -19,7 +19,9 @@
117 + */
118 +
119 + #define INCLUDED_FROM_CODEGEN
120 ++#ifndef Q_MOC_RUN
121 + #include <boost/static_assert.hpp>
122 ++#endif
123 +
124 + #define REGISTER_TYPE_IMPLEMENTATION(T, GTYPE) \
125 + namespace QGlib { \
126 +--- qt-gstreamer-1.2.0/src/QGlib/global.h
127 ++++ qt-gstreamer-1.2.0/src/QGlib/global.h
128 +@@ -23,7 +23,9 @@
129 + #endif
130 +
131 + #include <QtCore/QtGlobal>
132 ++#ifndef Q_MOC_RUN
133 + #include <boost/config.hpp>
134 ++#endif
135 +
136 + /* defined by cmake when building this library */
137 + #if defined(QtGLib_EXPORTS) || defined(Qt5GLib_EXPORTS)
138 +@@ -84,7 +86,9 @@
139 + # define QGLIB_STATIC_ASSERT(expr, message) static_assert(expr, message)
140 + # define QGLIB_HAVE_CXX0X_STATIC_ASSERT 1
141 + #else
142 ++#ifndef Q_MOC_RUN
143 + # include <boost/static_assert.hpp>
144 ++#endif
145 + # define QGLIB_STATIC_ASSERT(expr, message) BOOST_STATIC_ASSERT(expr)
146 + #endif
147 +
148 +--- qt-gstreamer-1.2.0/src/QGlib/refpointer.h
149 ++++ qt-gstreamer-1.2.0/src/QGlib/refpointer.h
150 +@@ -23,8 +23,10 @@
151 + #include "type.h"
152 + #include "wrap.h"
153 + #include <cstddef>
154 ++#ifndef Q_MOC_RUN
155 + #include <boost/type_traits.hpp>
156 + #include <boost/utility/enable_if.hpp>
157 ++#endif
158 + #include <QtCore/QHash>
159 +
160 + namespace QGlib {
161 +--- qt-gstreamer-1.2.0/src/QGlib/type.h
162 ++++ qt-gstreamer-1.2.0/src/QGlib/type.h
163 +@@ -21,7 +21,9 @@
164 +
165 + #include "global.h"
166 + #include <QtCore/QList>
167 ++#ifndef Q_MOC_RUN
168 + #include <boost/mpl/if.hpp>
169 ++#endif
170 +
171 + /*
172 + * This is a re-definition of GType inside the QGlib::Private namespace.
173 +--- qt-gstreamer-1.2.0/src/QGlib/value.cpp
174 ++++ qt-gstreamer-1.2.0/src/QGlib/value.cpp
175 +@@ -19,7 +19,9 @@
176 + #include "value.h"
177 + #include "string.h"
178 + #include <cstring>
179 ++#ifndef Q_MOC_RUN
180 + #include <boost/type_traits.hpp>
181 ++#endif
182 + #include <glib-object.h>
183 + #include <QtCore/QDebug>
184 + #include <QtCore/QReadWriteLock>
185 +--- qt-gstreamer-1.2.0/src/QGlib/value.h
186 ++++ qt-gstreamer-1.2.0/src/QGlib/value.h
187 +@@ -23,8 +23,10 @@
188 + #include "type.h"
189 + #include "refpointer.h"
190 + #include "error.h"
191 ++#ifndef Q_MOC_RUN
192 + #include <boost/mpl/if.hpp>
193 + #include <boost/type_traits.hpp>
194 ++#endif
195 + #include <stdexcept>
196 + #include <QtCore/QString>
197 + #include <QtCore/QDebug>
198 +--- qt-gstreamer-1.2.0/src/QGst/bin.h
199 ++++ qt-gstreamer-1.2.0/src/QGst/bin.h
200 +@@ -28,8 +28,10 @@
201 + #endif
202 +
203 + #if !QGLIB_HAVE_CXX0X
204 ++#ifndef Q_MOC_RUN
205 + # include <boost/preprocessor.hpp>
206 + #endif
207 ++#endif
208 +
209 + namespace QGst {
210 +
211 +--- qt-gstreamer-1.2.0/src/QGst/element.h
212 ++++ qt-gstreamer-1.2.0/src/QGst/element.h
213 +@@ -22,8 +22,10 @@
214 + #include "clocktime.h"
215 +
216 + #if !QGLIB_HAVE_CXX0X
217 ++#ifndef Q_MOC_RUN
218 + # include <boost/preprocessor.hpp>
219 + #endif
220 ++#endif
221 +
222 + namespace QGst {
223 +
224 +--- qt-gstreamer-1.2.0/src/QGst/gen.cpp
225 ++++ qt-gstreamer-1.2.0/src/QGst/gen.cpp
226 +@@ -19,7 +19,9 @@
227 + */
228 +
229 + #define INCLUDED_FROM_CODEGEN
230 ++#ifndef Q_MOC_RUN
231 + #include <boost/static_assert.hpp>
232 ++#endif
233 +
234 + #define REGISTER_TYPE_IMPLEMENTATION(T, GTYPE) \
235 + namespace QGlib { \
236
237 diff --git a/media-libs/qt-gstreamer/files/qt-gstreamer-1.2.0-clang-38.patch b/media-libs/qt-gstreamer/files/qt-gstreamer-1.2.0-clang-38.patch
238 new file mode 100644
239 index 00000000..977a09d7
240 --- /dev/null
241 +++ b/media-libs/qt-gstreamer/files/qt-gstreamer-1.2.0-clang-38.patch
242 @@ -0,0 +1,67 @@
243 +From fc159e5c4c8ffeabdc7319514c6bb19c9c9e1d3b Mon Sep 17 00:00:00 2001
244 +From: Aleix Pol <aleixpol@×××.org>
245 +Date: Mon, 13 Jun 2016 10:36:34 +0200
246 +Subject: [PATCH] Fix build with Clang 3.8
247 +
248 +error: invalid suffix on literal; C++11 requires a space between literal and identifier
249 +
250 +https://bugzilla.gnome.org/show_bug.cgi?id=767578
251 +---
252 + elements/gstqtvideosink/delegates/basedelegate.cpp | 2 +-
253 + elements/gstqtvideosink/delegates/qwidgetvideosinkdelegate.cpp | 2 +-
254 + elements/gstqtvideosink/gstqtquick2videosink.cpp | 2 +-
255 + elements/gstqtvideosink/gstqtvideosinkbase.cpp | 2 +-
256 + 4 files changed, 4 insertions(+), 4 deletions(-)
257 +
258 +diff --git a/elements/gstqtvideosink/delegates/basedelegate.cpp b/elements/gstqtvideosink/delegates/basedelegate.cpp
259 +index 7dde59c..65f364c 100644
260 +--- a/elements/gstqtvideosink/delegates/basedelegate.cpp
261 ++++ b/elements/gstqtvideosink/delegates/basedelegate.cpp
262 +@@ -155,7 +155,7 @@ bool BaseDelegate::event(QEvent *event)
263 + BufferEvent *bufEvent = dynamic_cast<BufferEvent*>(event);
264 + Q_ASSERT(bufEvent);
265 +
266 +- GST_TRACE_OBJECT(m_sink, "Received buffer %"GST_PTR_FORMAT, bufEvent->buffer);
267 ++ GST_TRACE_OBJECT(m_sink, "Received buffer %" GST_PTR_FORMAT, bufEvent->buffer);
268 +
269 + if (isActive()) {
270 + gst_buffer_replace (&m_buffer, bufEvent->buffer);
271 +diff --git a/elements/gstqtvideosink/delegates/qwidgetvideosinkdelegate.cpp b/elements/gstqtvideosink/delegates/qwidgetvideosinkdelegate.cpp
272 +index 8f23dc2..c42513f 100644
273 +--- a/elements/gstqtvideosink/delegates/qwidgetvideosinkdelegate.cpp
274 ++++ b/elements/gstqtvideosink/delegates/qwidgetvideosinkdelegate.cpp
275 +@@ -36,7 +36,7 @@ QWidget *QWidgetVideoSinkDelegate::widget() const
276 +
277 + void QWidgetVideoSinkDelegate::setWidget(QWidget *widget)
278 + {
279 +- GST_LOG_OBJECT(m_sink, "Setting \"widget\" property to %"GST_PTR_FORMAT, widget);
280 ++ GST_LOG_OBJECT(m_sink, "Setting \"widget\" property to %" GST_PTR_FORMAT, widget);
281 +
282 + if (m_widget) {
283 + m_widget.data()->removeEventFilter(this);
284 +diff --git a/elements/gstqtvideosink/gstqtquick2videosink.cpp b/elements/gstqtvideosink/gstqtquick2videosink.cpp
285 +index 7889fbf..bedc074 100644
286 +--- a/elements/gstqtvideosink/gstqtquick2videosink.cpp
287 ++++ b/elements/gstqtvideosink/gstqtquick2videosink.cpp
288 +@@ -248,7 +248,7 @@ gst_qt_quick2_video_sink_show_frame(GstVideoSink *sink, GstBuffer *buffer)
289 + {
290 + GstQtQuick2VideoSink *self = GST_QT_QUICK2_VIDEO_SINK (sink);
291 +
292 +- GST_TRACE_OBJECT(self, "Posting new buffer (%"GST_PTR_FORMAT") for rendering.", buffer);
293 ++ GST_TRACE_OBJECT(self, "Posting new buffer (%" GST_PTR_FORMAT ") for rendering.", buffer);
294 +
295 + QCoreApplication::postEvent(self->priv->delegate, new BaseDelegate::BufferEvent(buffer));
296 +
297 +diff --git a/elements/gstqtvideosink/gstqtvideosinkbase.cpp b/elements/gstqtvideosink/gstqtvideosinkbase.cpp
298 +index 118d0a2..a707e02 100644
299 +--- a/elements/gstqtvideosink/gstqtvideosinkbase.cpp
300 ++++ b/elements/gstqtvideosink/gstqtvideosinkbase.cpp
301 +@@ -207,7 +207,7 @@ GstFlowReturn GstQtVideoSinkBase::show_frame(GstVideoSink *video_sink, GstBuffer
302 + {
303 + GstQtVideoSinkBase *sink = GST_QT_VIDEO_SINK_BASE(video_sink);
304 +
305 +- GST_TRACE_OBJECT(sink, "Posting new buffer (%"GST_PTR_FORMAT") for rendering.", buffer);
306 ++ GST_TRACE_OBJECT(sink, "Posting new buffer (%" GST_PTR_FORMAT ") for rendering.", buffer);
307 +
308 + QCoreApplication::postEvent(sink->delegate, new BaseDelegate::BufferEvent(buffer));
309 +
310
311 diff --git a/media-libs/qt-gstreamer/files/qt-gstreamer-1.2.0-gstreamer15.patch b/media-libs/qt-gstreamer/files/qt-gstreamer-1.2.0-gstreamer15.patch
312 new file mode 100644
313 index 00000000..6e875f67
314 --- /dev/null
315 +++ b/media-libs/qt-gstreamer/files/qt-gstreamer-1.2.0-gstreamer15.patch
316 @@ -0,0 +1,39 @@
317 +From e2ca8094aa8d0eac1c3a98df66fe94ce0c754088 Mon Sep 17 00:00:00 2001
318 +From: =?UTF-8?q?Jos=C3=A9=20Manuel=20Santamar=C3=ADa?= <panfaust@×××××.com>
319 +Date: Fri, 2 Oct 2015 15:00:29 +0300
320 +Subject: Fix compilation with GStreamer >= 1.5.1
321 +
322 +apply gstreamer pkg-config definitions To ensure gstreamer builds correctly,
323 +pick up its cflags in FindGstreamer and apply them to the build as definitions
324 +
325 +https://lists.ubuntu.com/archives/kubuntu-devel/2015-August/009819.html
326 +
327 +https://bugzilla.gnome.org/show_bug.cgi?id=751382
328 +
329 +diff --git a/CMakeLists.txt b/CMakeLists.txt
330 +index 4d3e7dd..5744015 100644
331 +--- a/CMakeLists.txt
332 ++++ b/CMakeLists.txt
333 +@@ -106,6 +106,7 @@ find_package(GObject)
334 + macro_log_feature(GOBJECT_FOUND "GObject" "Required to build QtGLib" "http://www.gtk.org/" TRUE)
335 +
336 + set(CMAKE_REQUIRED_INCLUDES ${QTGSTREAMER_INCLUDES})
337 ++add_definitions(${GSTREAMER_DEFINITIONS})
338 + include(CheckCXXSourceCompiles)
339 + check_cxx_source_compiles("
340 + #include <QtCore/QtGlobal>
341 +diff --git a/cmake/modules/FindGStreamer.cmake b/cmake/modules/FindGStreamer.cmake
342 +index dab91ac..fe6cde1 100644
343 +--- a/cmake/modules/FindGStreamer.cmake
344 ++++ b/cmake/modules/FindGStreamer.cmake
345 +@@ -36,6 +36,7 @@ if (PKG_CONFIG_FOUND)
346 + exec_program(${PKG_CONFIG_EXECUTABLE}
347 + ARGS --variable pluginsdir gstreamer-${GSTREAMER_ABI_VERSION}
348 + OUTPUT_VARIABLE PKG_GSTREAMER_PLUGIN_DIR)
349 ++ set(GSTREAMER_DEFINITIONS ${PKG_GSTREAMER_CFLAGS})
350 + endif()
351 +
352 + find_library(GSTREAMER_LIBRARY
353 +--
354 +cgit v0.10.2
355 +
356
357 diff --git a/media-libs/qt-gstreamer/files/qt-gstreamer-1.2.0-gstreamer16.patch b/media-libs/qt-gstreamer/files/qt-gstreamer-1.2.0-gstreamer16.patch
358 new file mode 100644
359 index 00000000..6bb24048
360 --- /dev/null
361 +++ b/media-libs/qt-gstreamer/files/qt-gstreamer-1.2.0-gstreamer16.patch
362 @@ -0,0 +1,25 @@
363 +From 6e4fb2f3fcfb453c5522c66457ac5ed8c3b1b05c Mon Sep 17 00:00:00 2001
364 +From: George Kiagiadakis <george.kiagiadakis@×××××××××.com>
365 +Date: Sat, 7 Sep 2019 10:49:38 +0300
366 +Subject: [PATCH] QGst/caps: compilation fix from
367 + https://bugs.kde.org/show_bug.cgi?id=406676#c2
368 +
369 +Because the macro version of gst_caps_copy() confuses the C++ compiler
370 +---
371 + src/QGst/caps.cpp | 3 ++-
372 + 1 file changed, 2 insertions(+), 1 deletion(-)
373 +
374 +diff --git a/src/QGst/caps.cpp b/src/QGst/caps.cpp
375 +index 3824d82..a15b701 100644
376 +--- a/src/QGst/caps.cpp
377 ++++ b/src/QGst/caps.cpp
378 +@@ -54,7 +54,8 @@ QString Caps::toString() const
379 +
380 + void Caps::append(const CapsPtr & caps2)
381 + {
382 +- gst_caps_append(object<GstCaps>(), gst_caps_copy(caps2));
383 ++ const GstCaps * caps2ptr = caps2;
384 ++ gst_caps_append(object<GstCaps>(), gst_caps_copy(caps2ptr));
385 + }
386 +
387 + CapsPtr Caps::merge(CapsPtr & caps2)
388
389 diff --git a/media-libs/qt-gstreamer/metadata.xml b/media-libs/qt-gstreamer/metadata.xml
390 new file mode 100644
391 index 00000000..2fdbf33d
392 --- /dev/null
393 +++ b/media-libs/qt-gstreamer/metadata.xml
394 @@ -0,0 +1,8 @@
395 +<?xml version="1.0" encoding="UTF-8"?>
396 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
397 +<pkgmetadata>
398 + <maintainer type="project">
399 + <email>kde@g.o</email>
400 + <name>Gentoo KDE Project</name>
401 + </maintainer>
402 +</pkgmetadata>
403
404 diff --git a/media-libs/qt-gstreamer/qt-gstreamer-1.2.0-r3.ebuild b/media-libs/qt-gstreamer/qt-gstreamer-1.2.0-r3.ebuild
405 new file mode 100644
406 index 00000000..6a9c462a
407 --- /dev/null
408 +++ b/media-libs/qt-gstreamer/qt-gstreamer-1.2.0-r3.ebuild
409 @@ -0,0 +1,55 @@
410 +# Copyright 1999-2020 Gentoo Authors
411 +# Distributed under the terms of the GNU General Public License v2
412 +
413 +EAPI=7
414 +
415 +inherit cmake
416 +
417 +DESCRIPTION="C++ bindings for GStreamer with a Qt-style API"
418 +HOMEPAGE="https://gstreamer.freedesktop.org/modules/qt-gstreamer.html"
419 +SRC_URI="https://gstreamer.freedesktop.org/src/qt-gstreamer/${P}.tar.xz"
420 +
421 +LICENSE="LGPL-2.1"
422 +SLOT="0-qt4"
423 +KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86"
424 +IUSE="test"
425 +
426 +BDEPEND="
427 + dev-util/glib-utils
428 +"
429 +COMMON_DEPEND="
430 + dev-libs/boost:=
431 + dev-libs/glib:2
432 + dev-qt/qtcore:4
433 + dev-qt/qtdeclarative:4
434 + dev-qt/qtgui:4
435 + dev-qt/qtopengl:4
436 + media-libs/gstreamer:1.0
437 + media-libs/gst-plugins-base:1.0
438 +"
439 +DEPEND="${COMMON_DEPEND}
440 + test? ( dev-qt/qttest:4 )
441 +"
442 +RDEPEND="${COMMON_DEPEND}
443 + !<media-libs/qt-gstreamer-1.2.0-r4:0
444 +"
445 +
446 +PATCHES=(
447 + "${FILESDIR}/${P}-gstreamer15.patch"
448 + "${FILESDIR}/${P}-gstreamer16.patch"
449 + "${FILESDIR}/${P}-boost157.patch"
450 + "${FILESDIR}/${P}-clang-38.patch"
451 +)
452 +
453 +# bug 497880
454 +RESTRICT="test"
455 +
456 +src_configure() {
457 + local mycmakeargs=(
458 + -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Declarative=ON
459 + -DQTGSTREAMER_EXAMPLES=OFF
460 + -DQTGSTREAMER_TESTS=$(usex test)
461 + -DQT_VERSION=4
462 + )
463 + cmake_src_configure
464 +}