From f33d8ba92480a618393a98fd32abf77cc8e55edf5eaf7d5a7ac9251b7ed801c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Thu, 3 Oct 2024 15:11:54 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main gstreamer-plugins-good revision bc0a4cb5110234955ea13335bfe7ba19 --- gst-plugins-good-1.22.9.tar.xz | 3 - gst-plugins-good-1.24.7.tar.xz | 3 + gstreamer-plugins-good.changes | 156 +++++++++++++++++++++++++++++++++ gstreamer-plugins-good.spec | 63 ++++++++++--- reduce-required-meson.patch | 12 --- 5 files changed, 212 insertions(+), 25 deletions(-) delete mode 100644 gst-plugins-good-1.22.9.tar.xz create mode 100644 gst-plugins-good-1.24.7.tar.xz delete mode 100644 reduce-required-meson.patch diff --git a/gst-plugins-good-1.22.9.tar.xz b/gst-plugins-good-1.22.9.tar.xz deleted file mode 100644 index e3a79a1..0000000 --- a/gst-plugins-good-1.22.9.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:26959fcfebfff637d4ea08ef40316baf31b61bb7729820b0684e800c3a1478b6 -size 2839056 diff --git a/gst-plugins-good-1.24.7.tar.xz b/gst-plugins-good-1.24.7.tar.xz new file mode 100644 index 0000000..9f7ddda --- /dev/null +++ b/gst-plugins-good-1.24.7.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:759acb11e6de8373ff8cbb5e7ab8eb9a38631be81cf24220267b001eb55593c1 +size 2922348 diff --git a/gstreamer-plugins-good.changes b/gstreamer-plugins-good.changes index 3abbf17..1972f01 100644 --- a/gstreamer-plugins-good.changes +++ b/gstreamer-plugins-good.changes @@ -1,3 +1,159 @@ +------------------------------------------------------------------- +Mon Aug 26 12:52:53 UTC 2024 - Guillaume GARDET + +- Disable Qt6 on aarch64 and %arm since GLES is used and not compatible here + +------------------------------------------------------------------- +Fri Aug 23 07:38:32 UTC 2024 - Bjørn Lie + +- Update to version 1.24.7: + + qmlgl6src: Fix crash when use-default-fbo is not set + + qt6glwindow: + - Fallback to GL_RGB on CopyTexImage2D error, fixing usage with + eglfs backend + - Only use GL_READ_FRAMEBUFFER when we do blits + + qt6: glwindow: Don't leak previously rendered buffer + + rtspsrc: expose property for forcing usage of non-compliant + URLs + + v4l2object: fix ARIB_STD_B67 colorimetry unmatch issue + + v4l2: Fix colorimetry mismatch for encoded format with RGB + color-matrix + +------------------------------------------------------------------- +Wed Jul 31 13:42:53 UTC 2024 - Dominique Leuenberger + +- Update to version 1.24.6: + + Highlighted bugfixes: + - Fix compatibility with FFmpeg 7.0. + - qmlglsink: Fix failure to display content on recent Android + devices. + - adaptivedemux: Fix handling of closed caption streams. + - cuda: Fix runtime compiler loading with old CUDA tookit. + - decodebin3 stream selection handling fixes. + - d3d11compositor, d3d12compositor: Fix transparent background + mode with YUV output. + - d3d12converter: Make gamma remap work as intended. + - h264decoder: Update output frame duration for interlaced + video when second field frame is discarded. + - macOS audio device provider now listens to audio devices + being added/removed at runtime. + - Rust plugins: audioloudnorm, s3hlssink, gtk4paintablesink, + livesync and webrtcsink fixes. + - videoaggregator: preserve features in non-alpha caps for + subclasses with non-system memory sink caps. + - vtenc: Fix redistribute latency spam. + - v4l2: fixes for complex video formats. + - va: Fix strides when importing DMABUFs, dmabuf handle leaks, + and blocklist unmaintained Intel i965 driver for encoding. + - waylandsink: Fix surface cropping for rotated streams. + - webrtcdsp: Enable multi_channel processing to fix handling of + stereo streams. + - Various bug fixes, memory leak fixes, and other stability and + reliability improvements. + +------------------------------------------------------------------- +Mon Jul 1 13:28:06 UTC 2024 - Martin Winter + +- Enable qt6 support: + + Add subpackage for qml6glsink + + BuildRequires: add qt6-gui-private-devel (same as Qt5) + + BuildRequires: add pkgconfig(Qt6Widgets) (additionally required + for Qt6) + + Leap: use compiler supporting c++17 by default + +------------------------------------------------------------------- +Thu Jun 27 18:37:35 UTC 2024 - Bjørn Lie + +- Update to version 1.24.5: + + Highlighted bugfixes: + - webrtcsink: Support for AV1 via nvav1enc, av1enc or rav1enc + encoders + - AV1 RTP payloader/depayloader fixes to work correctly with + Chrome and Pion WebRTC + - av1parse, av1dec error handling/robustness improvements + - av1enc: Handle force-keyunit events properly for WebRTC + - decodebin3: selection and collection handling improvements + - hlsdemux2: Various fixes for discontinuities, variant + switching, playlist updates + - qml6glsink: fix RGB format support + - rtspsrc: more control URL handling fixes + - v4l2src: Interpret V4L2 report of sync loss as video signal + loss + - d3d12 encoder, memory and videosink fixes + - vtdec: more robust error handling, fix regression + - ndi: support for NDI SDK v6 + - Various bug fixes, memory leak fixes, and other stability and + reliability improvements +- Please see https://gstreamer.freedesktop.org/releases/1.24/ for + changes between 1.24.0 and this version and even more in-depth + info. + +------------------------------------------------------------------- +Tue Mar 5 06:21:56 UTC 2024 - Antonio Larrosa + +- Update to version 1.24.0: + * Highlights + - New Discourse forum and Matrix chat space + - New Analytics and Machine Learning abstractions and elements + - Playbin3 and decodebin3 are now stable and the default in + gst-play-1.0, GstPlay/GstPlayer + - The va plugin is now preferred over gst-vaapi and has higher + ranks + - GstMeta serialization/deserialization and other GstMeta + improvements + - New GstMeta for SMPTE ST-291M HANC/VANC Ancillary Data + - New unixfd plugin for efficient 1:N inter-process + communication on Linux + - cudaipc source and sink for zero-copy CUDA memory sharing + between processes + - New intersink and intersrc elements for 1:N pipeline + decoupling within the same process + - Qt5 + Qt6 QML integration improvements including qml6glsrc, + qml6glmixer, qml6gloverlay, and qml6d3d11sink elements + - DRM Modifier Support for dmabufs on Linux + - OpenGL, Vulkan and CUDA integration enhancements + - Vulkan H.264 and H.265 video decoders + - RTP stack improvements including new RFC7273 modes and more + correct header extension handling in depayloaders + - WebRTC improvements such as support for ICE consent + freshness, and a new webrtcsrc element to complement + webrtcsink + - WebRTC signallers and webrtcsink implementations for LiveKit + and AWS Kinesis Video Streams + - WHIP server source and client sink, and a WHEP source + - Precision Time Protocol (PTP) clock support for Windows and + other additions + - Low-Latency HLS (LL-HLS) support and many other HLS and DASH + enhancements + - New W3C Media Source Extensions library + - Countless closed caption handling improvements including new + cea608mux and cea608tocea708 elements + - Translation support for awstranscriber + - Bayer 10/12/14/16-bit depth support + - MPEG-TS support for asynchronous KLV demuxing and segment + seeking, plus various new muxer features + - Capture source and sink for AJA capture and playout cards + - SVT-AV1 and VA-API AV1 encoders, stateless AV1 video decoder + - New uvcsink element for exporting streams as UVC camera + - DirectWrite text rendering plugin for windows + - Direct3D12-based video decoding, conversion, composition, and + rendering + - AMD Advanced Media Framework AV1 + H.265 video encoders with + 10-bit and HDR support + - AVX/AVX2 support and NEON support on macOS on Apple ARM64 + CPUs via new liborc + - GStreamer C# bindings have been updated + - Rust bindings improvements and many new and improved Rust + plugins + - Rust plugins now shipped in packages for all major platforms + including Android and iOS + - Lots of new plugins, features, performance improvements and + bug fixes + * For more detailed information on this update, please see + https://gstreamer.freedesktop.org/releases/1.24/ +- Remove patch reduce-required-meson.patch since meson 1.1 is + really required now. + ------------------------------------------------------------------- Thu Feb 1 10:56:02 UTC 2024 - Antonio Larrosa diff --git a/gstreamer-plugins-good.spec b/gstreamer-plugins-good.spec index a97df79..c4b55f2 100644 --- a/gstreamer-plugins-good.spec +++ b/gstreamer-plugins-good.spec @@ -25,8 +25,15 @@ %define _name gst-plugins-good %define gst_branch 1.0 +# Disable Qt6 on aarch64 and %%arm since GLES is used and not compatible here +%ifarch aarch64 %arm +%bcond_with qt6 +%else +%bcond_without qt6 +%endif + Name: gstreamer-plugins-good -Version: 1.22.9 +Version: 1.24.7 Release: 0 Summary: GStreamer Streaming-Media Framework Plug-Ins License: LGPL-2.1-or-later @@ -35,11 +42,14 @@ URL: https://gstreamer.freedesktop.org Source0: %{url}/src/%{_name}/%{_name}-%{version}.tar.xz Source1: gstreamer-plugins-good.appdata.xml Source99: baselibs.conf -Patch0: reduce-required-meson.patch BuildRequires: Mesa-libGLESv2-devel BuildRequires: Mesa-libGLESv3-devel +%if 0%{?suse_version} < 1600 +BuildRequires: gcc13-c++ +%else BuildRequires: gcc-c++ +%endif BuildRequires: libICE-devel BuildRequires: libQt5PlatformHeaders-devel BuildRequires: libSM-devel @@ -49,7 +59,7 @@ BuildRequires: libavc1394-devel BuildRequires: libbz2-devel BuildRequires: libjpeg-devel BuildRequires: libmp3lame-devel -BuildRequires: meson >= 0.61.0 +BuildRequires: meson >= 1.1 BuildRequires: nasm BuildRequires: orc >= 0.4.16 BuildRequires: pkgconfig @@ -66,12 +76,17 @@ BuildRequires: pkgconfig(Qt5Quick) BuildRequires: pkgconfig(Qt5WaylandClient) BuildRequires: pkgconfig(Qt5X11Extras) -# Disable qt6 for now (see -Dqt6=disabled passed to meson) -#BuildRequires: pkgconfig(Qt6Core) -#BuildRequires: pkgconfig(Qt6Gui) -#BuildRequires: pkgconfig(Qt6Qml) -#BuildRequires: pkgconfig(Qt6Quick) -#BuildRequires: pkgconfig(Qt6WaylandClient) +%if %{with qt6} +BuildRequires: qt6-gui-private-devel +BuildRequires: pkgconfig(Qt6Core) +BuildRequires: pkgconfig(Qt6Gui) +BuildRequires: pkgconfig(Qt6Linguist) +BuildRequires: pkgconfig(Qt6Qml) +BuildRequires: pkgconfig(Qt6Quick) +BuildRequires: pkgconfig(Qt6ShaderTools) +BuildRequires: pkgconfig(Qt6WaylandClient) +BuildRequires: pkgconfig(Qt6Widgets) +%endif BuildRequires: pkgconfig(caca) BuildRequires: pkgconfig(cairo) >= 1.10.0 @@ -102,6 +117,7 @@ BuildRequires: pkgconfig(libsoup-3.0) BuildRequires: pkgconfig(libsoup-gnome-2.4) >= 2.40.0 BuildRequires: pkgconfig(libv4l2) BuildRequires: pkgconfig(libxml-2.0) >= 2.4.9 +BuildRequires: pkgconfig(opencore-amrwb) >= 0.1.3 BuildRequires: pkgconfig(shout) >= 2.4.3 BuildRequires: pkgconfig(speex) >= 1.1.6 BuildRequires: pkgconfig(taglib) >= 1.5 @@ -115,7 +131,7 @@ Requires: gstreamer >= %{gstreamer_req_version} Requires: gstreamer-plugins-base >= %{gstreamer_req_version} Recommends: %{name}-gtk Enhances: gstreamer -Conflicts: gstreamer-plugins-ugly < 1.22.0 +Conflicts: gstreamer-plugins-ugly < 1.24.0 # Generic name, never used in SuSE: I wish it had been used I would have used it then I wouldn't have to keep copy pasting and actually type it. Provides: gst-plugins-good = %{version} %if 0%{?ENABLE_AALIB} @@ -166,12 +182,27 @@ Enhances: gstreamer-plugins-good %description qtqml This package provides the qmlglsink output plugin for gstreamer-plugins-good. +%if %{with qt6} +%package qtqml6 +Summary: Qml6glsink plugin for gstreamer-plugins-good +Group: Productivity/Multimedia/Other +Requires: %{name} = %{version} +Enhances: gstreamer-plugins-good + +%description qtqml6 +This package provides the qml6glsink output plugin for gstreamer-plugins-good. +%endif + %lang_package %prep %autosetup -n %{_name}-%{version} -p1 %build +%if 0%{?suse_version} < 1600 +export CC=%{_bindir}/gcc-13 +export CXX=%{_bindir}/g++-13 +%endif export PYTHON=%{_bindir}/python3 %meson \ -Dpackage-name='openSUSE GStreamer-plugins-good package' \ @@ -182,7 +213,11 @@ export PYTHON=%{_bindir}/python3 -Ddoc=disabled \ -Drpicamsrc=disabled \ -Dv4l2-probe=true \ +%if %{with qt6} + -Dqt6=enabled \ +%else -Dqt6=disabled \ +%endif -Dqt-egl=disabled \ %{nil} %meson_build @@ -203,6 +238,7 @@ fi %doc AUTHORS README.md RELEASE REQUIREMENTS NEWS %dir %{_datadir}/appdata %{_datadir}/appdata/gstreamer-plugins-good.appdata.xml +%{_datadir}/gstreamer-%{gst_branch}/presets/GstAmrnbEnc.prs %{_datadir}/gstreamer-%{gst_branch}/presets/GstIirEqualizer10Bands.prs %{_datadir}/gstreamer-%{gst_branch}/presets/GstIirEqualizer3Bands.prs %{_datadir}/gstreamer-%{gst_branch}/presets/GstQTMux.prs @@ -211,6 +247,8 @@ fi %{_libdir}/gstreamer-%{gst_branch}/libgstalaw.so %{_libdir}/gstreamer-%{gst_branch}/libgstalphacolor.so %{_libdir}/gstreamer-%{gst_branch}/libgstalpha.so +%{_libdir}/gstreamer-%{gst_branch}/libgstamrnb.so +%{_libdir}/gstreamer-%{gst_branch}/libgstamrwbdec.so %{_libdir}/gstreamer-%{gst_branch}/libgstapetag.so %{_libdir}/gstreamer-%{gst_branch}/libgstaudiofx.so %{_libdir}/gstreamer-%{gst_branch}/libgstaudioparsers.so @@ -292,6 +330,11 @@ fi %files qtqml %{_libdir}/gstreamer-%{gst_branch}/libgstqmlgl.so +%if %{with qt6} +%files qtqml6 +%{_libdir}/gstreamer-%{gst_branch}/libgstqml6.so +%endif + %files lang -f %{_name}-%{gst_branch}.lang %changelog diff --git a/reduce-required-meson.patch b/reduce-required-meson.patch deleted file mode 100644 index 880f109..0000000 --- a/reduce-required-meson.patch +++ /dev/null @@ -1,12 +0,0 @@ -Index: gst-plugins-good-1.22.9/meson.build -=================================================================== ---- gst-plugins-good-1.22.9.orig/meson.build -+++ gst-plugins-good-1.22.9/meson.build -@@ -1,6 +1,6 @@ - project('gst-plugins-good', 'c', - version : '1.22.9', -- meson_version : '>= 0.62', -+ meson_version : '>= 0.61', - default_options : [ 'warning_level=1', - 'buildtype=debugoptimized' ]) -