[packages/qt5-qtwebkit] - added gstreamer patch (adjust for current GstAppSinkCallbacks)
qboosh
qboosh at pld-linux.org
Wed Jun 29 06:12:57 CEST 2022
commit f37d7ebf3dc1d190f6949dc1d7dc119642bc51f7
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Wed Jun 29 06:14:12 2022 +0200
- added gstreamer patch (adjust for current GstAppSinkCallbacks)
qt5-qtwebkit-gstreamer.patch | 11 +++++++++++
qt5-qtwebkit.spec | 2 ++
2 files changed, 13 insertions(+)
---
diff --git a/qt5-qtwebkit.spec b/qt5-qtwebkit.spec
index d228bb1..ee73eb2 100644
--- a/qt5-qtwebkit.spec
+++ b/qt5-qtwebkit.spec
@@ -43,6 +43,7 @@ Source0: https://github.com/qtwebkit/qtwebkit/releases/download/qtwebkit-%{versi
Patch0: %{name}-css.patch
Patch1: %{name}-docs.patch
Patch2: glib2.68.patch
+Patch3: %{name}-gstreamer.patch
# from FC
Patch102: qtwebkit-5.212.0_cmake_cmp0071.patch
Patch108: x32.patch
@@ -193,6 +194,7 @@ Dokumentacja do bibliotek Qt5 WebKit w formacie QCH.
%patch0 -p1
%patch1 -p1
%patch2 -p1
+%patch3 -p1
%patch102 -p1
%patch108 -p1
diff --git a/qt5-qtwebkit-gstreamer.patch b/qt5-qtwebkit-gstreamer.patch
new file mode 100644
index 0000000..1ba4f77
--- /dev/null
+++ b/qt5-qtwebkit-gstreamer.patch
@@ -0,0 +1,11 @@
+--- qtwebkit-5.212.0-alpha4/Source/WebCore/platform/audio/gstreamer/AudioFileReaderGStreamer.cpp.orig 2020-03-04 18:16:37.000000000 +0100
++++ qtwebkit-5.212.0-alpha4/Source/WebCore/platform/audio/gstreamer/AudioFileReaderGStreamer.cpp 2022-06-28 19:21:04.705394935 +0200
+@@ -230,7 +230,7 @@ void AudioFileReader::handleNewDeinterle
+ [](GstAppSink* sink, gpointer userData) -> GstFlowReturn {
+ return static_cast<AudioFileReader*>(userData)->handleSample(sink);
+ },
+- { nullptr }
++ nullptr // new_event
+ };
+ gst_app_sink_set_callbacks(GST_APP_SINK(sink), &callbacks, this, 0);
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/qt5-qtwebkit.git/commitdiff/f37d7ebf3dc1d190f6949dc1d7dc119642bc51f7
More information about the pld-cvs-commit
mailing list