Accepting request 1155296 from multimedia:libs

OBS-URL: https://build.opensuse.org/request/show/1155296
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gstreamer?expand=0&rev=94
This commit is contained in:
Dominique Leuenberger 2024-03-06 22:03:24 +00:00 committed by Git OBS Bridge
commit eef4800649
7 changed files with 106 additions and 51 deletions

BIN
gstreamer-1.22.9.tar.xz (Stored with Git LFS)

Binary file not shown.

3
gstreamer-1.24.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:81c38617798d331269e389d56fb1388073e1dc9d489fe9bf2113f86b48b59138
size 1844992

View File

@ -1,30 +1,26 @@
Index: gstreamer-1.22.0/libs/gst/helpers/meson.build
Index: gstreamer-1.24.0/libs/gst/helpers/meson.build
===================================================================
--- gstreamer-1.22.0.orig/libs/gst/helpers/meson.build
+++ gstreamer-1.22.0/libs/gst/helpers/meson.build
@@ -5,6 +5,7 @@ exe = executable('gst-plugin-scanner',
dependencies : [gst_dep, mathlib, gmodule_dep,],
install_dir : helpers_install_dir,
install: true,
+ pie: true,
)
--- gstreamer-1.24.0.orig/libs/gst/helpers/meson.build
+++ gstreamer-1.24.0/libs/gst/helpers/meson.build
@@ -6,11 +6,13 @@ gst_helpers = {
'deps': [gst_dep, mathlib, gmodule_dep],
'env': ['GST_PLUGIN_SCANNER', 'exe-full-path'],
'install_dir': helpers_install_dir,
+ 'pie': true,
},
'gst-completion-helper': {
'files': files('gst-completion-helper.c'),
'deps': [gst_dep],
'install_dir': helpers_install_dir,
+ 'pie': true,
},
}
meson.add_devenv({'GST_PLUGIN_SCANNER': exe.full_path()})
@@ -21,6 +22,7 @@ if bashcomp_found
install_dir : helpers_install_dir,
install_tag : 'bin',
install: true,
+ pie: true,
)
endif
@@ -117,7 +119,8 @@ if have_ptp
include_directories : [configinc, libsinc],
dependencies : [gst_dep, gio_dep, mathlib, cap_dep],
install_dir : helpers_install_dir,
- install : true)
+ install : true,
+ pie : true)
meson.add_install_script('ptp_helper_post_install.sh',
helpers_install_dir, with_ptp_helper_permissions,
@@ -25,6 +27,7 @@ if not get_option('tools').disabled() an
include_directories : [configinc],
dependencies : data.get('deps', []),
c_args: data.get('extra_c_args', []) + ['-DG_LOG_DOMAIN="@0@"'.format(exe_name)],
+ pie: true,
)
if(data.has_key('env'))
env = data.get(('env'))

View File

@ -352,8 +352,8 @@ Index: gstreamer-1.22.2/tools/gst-inspect.c
+ print_plugin_automatic_install_info (plugin, print_aii_rpm);
} else {
print_plugin_info (plugin);
print_plugin_features (plugin);
@@ -2306,13 +2549,17 @@ real_main (int argc, char *argv[])
print_plugin_status (plugin);
@@ -2306,14 +2549,18 @@ real_main (int argc, char *argv[])
if (plugin) {
if (print_aii) {
@ -361,6 +361,7 @@ Index: gstreamer-1.22.2/tools/gst-inspect.c
+ print_plugin_automatic_install_info (plugin, print_aii_rpm);
} else {
print_plugin_info (plugin);
print_plugin_status (plugin);
print_plugin_features (plugin);
}
} else {

View File

@ -1,3 +1,72 @@
-------------------------------------------------------------------
Tue Mar 5 06:09:21 UTC 2024 - Antonio Larrosa <alarrosa@suse.com>
- 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/
- Rebase patches:
* gstreamer-pie.patch
* gstreamer-rpm-prov.patch
- Remove patch reduce-required-meson.patch since meson 1.1 is
really required now.
-------------------------------------------------------------------
Thu Feb 1 10:54:29 UTC 2024 - Antonio Larrosa <alarrosa@suse.com>

View File

@ -19,7 +19,7 @@
%define gst_branch 1.0
Name: gstreamer
Version: 1.22.9
Version: 1.24.0
Release: 0
Summary: Streaming-Media Framework Runtime
License: LGPL-2.1-or-later
@ -34,8 +34,7 @@ Source99: baselibs.conf
Patch1: gstreamer-rpm-prov.patch
# PATCH-FIX-OPENSUSE gstreamer-pie.patch mgorse@suse.com -- create position-independent executables.
Patch2: gstreamer-pie.patch
# PATCH-FIX-OPENSUSE reduce-required-meson.patch alarrosa@suse.com -- build with meson 0.61
Patch3: reduce-required-meson.patch
BuildRequires: bison >= 2.4
BuildRequires: check-devel
@ -43,10 +42,11 @@ BuildRequires: flex >= 2.5.31
BuildRequires: gobject-introspection-devel >= 1.31.1
BuildRequires: libcap-devel
BuildRequires: libcap-progs
BuildRequires: meson >= 0.61
BuildRequires: meson >= 1.1
BuildRequires: pkgconfig
BuildRequires: python3-base
BuildRequires: python3-xml
BuildRequires: rust >= 1.48
BuildRequires: pkgconfig(bash-completion) >= 2.0
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(gio-unix-2.0)
@ -139,8 +139,8 @@ sed -i -e '1{s,^#!/usr/bin/env python3,#!%{_bindir}/python3,}' docs/gst-plugins-
%build
export PYTHON=%{_bindir}/python3
sed -i "s/executable('gst-plugin-scanner',/executable('gst-plugin-scanner-%{_target_cpu}',/" libs/gst/helpers/meson.build
sed -i "s/gst-plugin-scanner/gst-plugin-scanner-%{_target_cpu}/" meson.build
sed -i "s/'gst-plugin-scanner': /'gst-plugin-scanner-%{_target_cpu}': /" libs/gst/helpers/meson.build
sed -i "s/'gst-plugin-scanner'/'gst-plugin-scanner-%{_target_cpu}'/" meson.build
sed -i 's/^#define EXESUFFIX$/#define EXESUFFIX "-%{_target_cpu}"/' gst/gstpluginloader.c
# TODO: enable dbghelp
%meson \
@ -230,6 +230,7 @@ install -m755 -D %{SOURCE2} %{buildroot}%{_rpmconfigdir}/gstreamer-provides
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%{_libexecdir}/gstreamer-%{gst_branch}/gst-plugins-doc-cache-generator
%{_libexecdir}/gstreamer-%{gst_branch}/gst-ptp-helper-test
%{_rpmconfigdir}/gstreamer-provides
%{_fileattrsdir}/gstreamer.attr
%{_datadir}/gir-1.0/*.gir

View File

@ -1,12 +0,0 @@
Index: gstreamer-1.22.9/meson.build
===================================================================
--- gstreamer-1.22.9.orig/meson.build
+++ gstreamer-1.22.9/meson.build
@@ -1,6 +1,6 @@
project('gstreamer', 'c',
version : '1.22.9',
- meson_version : '>= 0.62',
+ meson_version : '>= 0.61',
default_options : [ 'warning_level=1',
'buildtype=debugoptimized' ])