[arch-commits] Commit in qt-gstreamer/trunk (PKGBUILD qt-gstreamer-gcc11.patch)
Antonio Rojas
arojas at archlinux.org
Wed May 26 06:21:21 UTC 2021
Date: Wednesday, May 26, 2021 @ 06:21:20
Author: arojas
Revision: 416467
Fix build (FS#71020)
Added:
qt-gstreamer/trunk/qt-gstreamer-gcc11.patch
Modified:
qt-gstreamer/trunk/PKGBUILD
--------------------------+
PKGBUILD | 15 +++++++++------
qt-gstreamer-gcc11.patch | 13 +++++++++++++
2 files changed, 22 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-26 06:01:20 UTC (rev 416466)
+++ PKGBUILD 2021-05-26 06:21:20 UTC (rev 416467)
@@ -6,19 +6,21 @@
pkgver=1.2.0
pkgrel=4
arch=(x86_64)
-pkgdesc="Qt bindings for GStreamer"
+pkgdesc='Qt bindings for GStreamer'
url='https://gstreamer.freedesktop.org/modules/qt-gstreamer.html'
license=(LGPL2.1)
depends=(qt5-declarative gst-plugins-good)
makedepends=(cmake boost doxygen python)
-source=("https://gstreamer.freedesktop.org/src/$pkgname/$pkgname-$pkgver.tar.xz"
- gstreamer-1.6.patch
- gstreamer-1.16.patch
- qt-gstreamer-1.18.patch)
+source=(https://gstreamer.freedesktop.org/src/$pkgname/$pkgname-$pkgver.tar.xz
+ gstreamer-1.6.patch
+ gstreamer-1.16.patch
+ qt-gstreamer-1.18.patch
+ qt-gstreamer-gcc11.patch)
sha256sums=('9f3b492b74cad9be918e4c4db96df48dab9c012f2ae5667f438b64a4d92e8fd4'
'adffd16ceb13a324858ff38b7bc01ea5129a439bda170e322598df4c7fa24637'
'dfc2681ab1d157e08b838fb48f51d64fddf3b8ac25a4ec00051632db4f938668'
- 'c62ddf19ef0079eed669585459d7031f69ddd18f7db2122c6e84f221ccb8afb5')
+ 'c62ddf19ef0079eed669585459d7031f69ddd18f7db2122c6e84f221ccb8afb5'
+ '61eb8c3b22a9868cfd96d7fe11f01fcd477bb219d9d8129268c008a66e7fcd02')
prepare() {
cd $pkgbase-$pkgver
@@ -25,6 +27,7 @@
patch -p1 -i ../gstreamer-1.6.patch # Fix build with gstreamer 1.6
patch -p1 -i ../gstreamer-1.16.patch # Fix build with gstreamer 1.16
patch -p1 -i ../qt-gstreamer-1.18.patch # Fix build with gstreamer 1.18
+ patch -p1 -i ../qt-gstreamer-gcc11.patch # Fix build with GCC 11
}
build() {
Added: qt-gstreamer-gcc11.patch
===================================================================
--- qt-gstreamer-gcc11.patch (rev 0)
+++ qt-gstreamer-gcc11.patch 2021-05-26 06:21:20 UTC (rev 416467)
@@ -0,0 +1,13 @@
+diff --git a/elements/gstqtvideosink/gstqtvideosinkplugin.h b/elements/gstqtvideosink/gstqtvideosinkplugin.h
+index dc04671..a72c572 100644
+--- a/elements/gstqtvideosink/gstqtvideosinkplugin.h
++++ b/elements/gstqtvideosink/gstqtvideosinkplugin.h
+@@ -27,7 +27,7 @@ GST_DEBUG_CATEGORY_EXTERN(gst_qt_video_sink_debug);
+ #define DEFINE_TYPE_FULL(cpp_type, type_name, parent_type, additional_initializations) \
+ GType cpp_type::get_type() \
+ { \
+- static volatile gsize gonce_data = 0; \
++ static gsize gonce_data = 0; \
+ if (g_once_init_enter(&gonce_data)) { \
+ GType type = 0; \
+ GTypeInfo info; \
More information about the arch-commits
mailing list