gstreamer/gstreamer.spec

251 lines
9.1 KiB
RPMSpec
Raw Normal View History

#
# spec file for package gstreamer
#
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define gst_branch 1.0
Accepting request 854481 from home:iznogood:branches:multimedia:libs - Update to version 1.18.2: + Highlighted bugfixes: - Fix MPEG-TS timestamping regression when playing DVB streams - compositor: fix artefacts in certain input scaling/conversion situations and make sure that the output format is actually supported, plus renegotiation fixes - Fix sftp:// URI playback in decodebin/playbin via giosrc - adaptivedemux/dashdemux/hlsdemux fixes - rtsp-server fixes - android media: fix crash when encoding AVC - fix races in various unit tests - lots of other bug fixes and memory leak fixes - various stability, performance and reliability improvements - g-i annotation fixes - build fixes + gstreamer changes: - bin: When removing a sink, check if the EOS status changed - info: colorize PIDs in log messages - aggregator: Include min-upstream-latency in buffering time, helps especially with performance issues on single core systems where there are a lot of threads running - typefind: copy seqnum to new segment event, fixing issues with oggdemux operating in push mode with typefind operating in pull mode - identity, clocksync: Also provide system clock if sync=false - queue2: Fix modes in scheduling query handling - harness: Handle element not being set cleanly - g-i: Add some missing nullable annotations, and fix some nullable annotations: - gst_test_clock_process_next_clock_id() returns nullable - gst_stream_type_get_name() is not nullable - build: fix build issue when compiling for 32-bit architectures with 64-bit time_t (e.g. riscv32) by increasing padding in GstClockEntryImpl in gst_private.h - Fix the _service file and spec to really use the tarball generated by service. OBS-URL: https://build.opensuse.org/request/show/854481 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/gstreamer?expand=0&rev=162
2020-12-10 14:23:42 +01:00
Name: gstreamer
Accepting request 919110 from home:iznogood:branches:multimedia:libs - Update to version 1.18.5: + aggregator: - Release the SRC lock while querying latency - Release pads' peeked buffer when removing the pad or finalizing it + basesink: Don't swap rstart/rstop when stepping + basesrc: Print segments with GST_SEGMENT_FORMAT and not GST_PTR_FORMAT + childproxy: init value in gst_child_proxy_get_property() if needed + clocksync: Fix providing system clock by default + concat: - Properly propagate seqnum of segment events - adjust running time offsets on downstream events - fix locking in SEGMENT event handler + downloadbuffer/sparsefile: several fixes for win32 + element: NULL the lists of contexts in dispose() + multiqueue: - Use running time of gap events for wakeups. - Ensure peer pad exists when iterating internal links + pad: - Keep IDLE probe hook alive during immediate callback - Ensure last flow return is set on sink pads in push mode - Don't spam the debug log at INFO level when default-chaining a buffer list - clear probes holding mutex + parse-launch: - Fix a critical when using the : operator. + Don't do delayed property setting for top-level properties. + plugin: load plugins with unknown license strings + ptpclock: Don't leak the GList + queue2: Refuse all serialized queries when posting buffering messages + systemclock: Update monotonic reference time when re-scheduling + High CPU usage in 1.18 (but not master) when pausing playback in gnome-music + Don't use volatile to mean atomic (fixes compiler warnings with gcc 11) OBS-URL: https://build.opensuse.org/request/show/919110 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/gstreamer?expand=0&rev=170
2021-09-15 12:26:25 +02:00
Version: 1.18.5
Release: 0
Summary: Streaming-Media Framework Runtime
License: LGPL-2.1-or-later
Group: Productivity/Multimedia/Other
Accepting request 854481 from home:iznogood:branches:multimedia:libs - Update to version 1.18.2: + Highlighted bugfixes: - Fix MPEG-TS timestamping regression when playing DVB streams - compositor: fix artefacts in certain input scaling/conversion situations and make sure that the output format is actually supported, plus renegotiation fixes - Fix sftp:// URI playback in decodebin/playbin via giosrc - adaptivedemux/dashdemux/hlsdemux fixes - rtsp-server fixes - android media: fix crash when encoding AVC - fix races in various unit tests - lots of other bug fixes and memory leak fixes - various stability, performance and reliability improvements - g-i annotation fixes - build fixes + gstreamer changes: - bin: When removing a sink, check if the EOS status changed - info: colorize PIDs in log messages - aggregator: Include min-upstream-latency in buffering time, helps especially with performance issues on single core systems where there are a lot of threads running - typefind: copy seqnum to new segment event, fixing issues with oggdemux operating in push mode with typefind operating in pull mode - identity, clocksync: Also provide system clock if sync=false - queue2: Fix modes in scheduling query handling - harness: Handle element not being set cleanly - g-i: Add some missing nullable annotations, and fix some nullable annotations: - gst_test_clock_process_next_clock_id() returns nullable - gst_stream_type_get_name() is not nullable - build: fix build issue when compiling for 32-bit architectures with 64-bit time_t (e.g. riscv32) by increasing padding in GstClockEntryImpl in gst_private.h - Fix the _service file and spec to really use the tarball generated by service. OBS-URL: https://build.opensuse.org/request/show/854481 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/gstreamer?expand=0&rev=162
2020-12-10 14:23:42 +01:00
URL: https://gstreamer.freedesktop.org
Accepting request 880172 from home:dirkmueller:Factory - update to 1.18.4: important security fixes for ID3 tag reading, matroska and realmedia parsing, and gst-libav audio decoding Details: * audiomixer, audioaggregator: input buffer handling fixes * decodebin3: improve stream-selection message handling * uridecodebin3: make “caps” property work * wavenc: fix writing of INFO chunks in some cases * v4l2: bt601 colorimetry, allow encoder resolution changes, fix decoder frame rate negotiation * decklinkvideosink: fix auto format detection, and fixes for 29.97fps framerate output * mpeg-2 video handling fixes when seeking * avviddec: fix bufferpool negotiation and possible memory corruption when changing resolution * various stability, performance and reliability improvements * memory leak fixes * build fixes: rpicamsrc, qt overlay example, d3d11videosink on UWP * info: Don’t leak log function user_data if the debug system is compiled out * task: Use SetThreadDescription() Win32 API for setting thread names, which preserves thread names in dump files. * buffer, memory: Mark info in map functions as caller-allocates and pass allocation params as const pointers where possible * clock: define AUTO_CLEANUP_FREE_FUNC for GstClockID * tag: id3v2: fix frame size check and potential invalid reads * audio: Fix gst_audio_buffer_truncate() meta handling for non-interleaved audio * audioresample: respect buffer layout when draining * audioaggregator: fix input_buffer ownership OBS-URL: https://build.opensuse.org/request/show/880172 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/gstreamer?expand=0&rev=168
2021-03-21 09:14:20 +01:00
Source0: https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-%{version}.tar.xz
Source1: gstreamer.macros
Source2: gstreamer.prov
Source99: baselibs.conf
Accepting request 854481 from home:iznogood:branches:multimedia:libs - Update to version 1.18.2: + Highlighted bugfixes: - Fix MPEG-TS timestamping regression when playing DVB streams - compositor: fix artefacts in certain input scaling/conversion situations and make sure that the output format is actually supported, plus renegotiation fixes - Fix sftp:// URI playback in decodebin/playbin via giosrc - adaptivedemux/dashdemux/hlsdemux fixes - rtsp-server fixes - android media: fix crash when encoding AVC - fix races in various unit tests - lots of other bug fixes and memory leak fixes - various stability, performance and reliability improvements - g-i annotation fixes - build fixes + gstreamer changes: - bin: When removing a sink, check if the EOS status changed - info: colorize PIDs in log messages - aggregator: Include min-upstream-latency in buffering time, helps especially with performance issues on single core systems where there are a lot of threads running - typefind: copy seqnum to new segment event, fixing issues with oggdemux operating in push mode with typefind operating in pull mode - identity, clocksync: Also provide system clock if sync=false - queue2: Fix modes in scheduling query handling - harness: Handle element not being set cleanly - g-i: Add some missing nullable annotations, and fix some nullable annotations: - gst_test_clock_process_next_clock_id() returns nullable - gst_stream_type_get_name() is not nullable - build: fix build issue when compiling for 32-bit architectures with 64-bit time_t (e.g. riscv32) by increasing padding in GstClockEntryImpl in gst_private.h - Fix the _service file and spec to really use the tarball generated by service. OBS-URL: https://build.opensuse.org/request/show/854481 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/gstreamer?expand=0&rev=162
2020-12-10 14:23:42 +01:00
Accepting request 710670 from home:mgorse:branches:multimedia:libs - Update to version 1.16.0: + Highlights - GStreamer WebRTC stack gained support for data channels for peer-to-peer communication based on SCTP, BUNDLE support, as well as support for multiple TURN servers. - AV1 video codec support for Matroska and QuickTime/MP4 containers and more configuration options and supported input formats for the AOMedia AV1 encoder - Support for Closed Captions and other Ancillary Data in video - Support for planar (non-interleaved) raw audio - GstVideoAggregator, compositor and OpenGL mixer elements are now in -base - New alternate fields interlace mode where each buffer carries a single field - WebM and Matroska ContentEncryption support in the Matroska demuxer - new WebKit WPE-based web browser source element - Video4Linux: HEVC encoding and decoding, JPEG encoding, and improved dmabuf import/export - Hardware-accelerated Nvidia video decoder gained support for VP8/VP9 decoding, whilst the encoder gained support for H.265/HEVC encoding. - Many improvements to the Intel Media SDK based hardware-accelerated video decoder and encoder plugin (msdk): dmabuf import/export for zero-copy integration with other components; VP9 decoding; 10-bit HEVC encoding; video post-processing (vpp) support including deinterlacing; and the video decoder now handles dynamic resolution changes. - The ASS/SSA subtitle overlay renderer can now handle multiple subtitles that overlap in time and will show them on screen OBS-URL: https://build.opensuse.org/request/show/710670 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/gstreamer?expand=0&rev=137
2019-06-25 13:43:36 +02:00
# PATCH-FEATURE-UPSTREAM gstreamer-rpm-prov.patch bgo#588784 dimstar@opensuse.org -- Add --rpm parameter to allow creation of rpm provides, patch from fedora
Patch1: gstreamer-rpm-prov.patch
Accepting request 710670 from home:mgorse:branches:multimedia:libs - Update to version 1.16.0: + Highlights - GStreamer WebRTC stack gained support for data channels for peer-to-peer communication based on SCTP, BUNDLE support, as well as support for multiple TURN servers. - AV1 video codec support for Matroska and QuickTime/MP4 containers and more configuration options and supported input formats for the AOMedia AV1 encoder - Support for Closed Captions and other Ancillary Data in video - Support for planar (non-interleaved) raw audio - GstVideoAggregator, compositor and OpenGL mixer elements are now in -base - New alternate fields interlace mode where each buffer carries a single field - WebM and Matroska ContentEncryption support in the Matroska demuxer - new WebKit WPE-based web browser source element - Video4Linux: HEVC encoding and decoding, JPEG encoding, and improved dmabuf import/export - Hardware-accelerated Nvidia video decoder gained support for VP8/VP9 decoding, whilst the encoder gained support for H.265/HEVC encoding. - Many improvements to the Intel Media SDK based hardware-accelerated video decoder and encoder plugin (msdk): dmabuf import/export for zero-copy integration with other components; VP9 decoding; 10-bit HEVC encoding; video post-processing (vpp) support including deinterlacing; and the video decoder now handles dynamic resolution changes. - The ASS/SSA subtitle overlay renderer can now handle multiple subtitles that overlap in time and will show them on screen OBS-URL: https://build.opensuse.org/request/show/710670 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/gstreamer?expand=0&rev=137
2019-06-25 13:43:36 +02:00
# PATCH-FIX-OPENSUSE gstreamer-pie.patch mgorse@suse.com -- create position-independent executables.
Patch2: gstreamer-pie.patch
Accepting request 854481 from home:iznogood:branches:multimedia:libs - Update to version 1.18.2: + Highlighted bugfixes: - Fix MPEG-TS timestamping regression when playing DVB streams - compositor: fix artefacts in certain input scaling/conversion situations and make sure that the output format is actually supported, plus renegotiation fixes - Fix sftp:// URI playback in decodebin/playbin via giosrc - adaptivedemux/dashdemux/hlsdemux fixes - rtsp-server fixes - android media: fix crash when encoding AVC - fix races in various unit tests - lots of other bug fixes and memory leak fixes - various stability, performance and reliability improvements - g-i annotation fixes - build fixes + gstreamer changes: - bin: When removing a sink, check if the EOS status changed - info: colorize PIDs in log messages - aggregator: Include min-upstream-latency in buffering time, helps especially with performance issues on single core systems where there are a lot of threads running - typefind: copy seqnum to new segment event, fixing issues with oggdemux operating in push mode with typefind operating in pull mode - identity, clocksync: Also provide system clock if sync=false - queue2: Fix modes in scheduling query handling - harness: Handle element not being set cleanly - g-i: Add some missing nullable annotations, and fix some nullable annotations: - gst_test_clock_process_next_clock_id() returns nullable - gst_stream_type_get_name() is not nullable - build: fix build issue when compiling for 32-bit architectures with 64-bit time_t (e.g. riscv32) by increasing padding in GstClockEntryImpl in gst_private.h - Fix the _service file and spec to really use the tarball generated by service. OBS-URL: https://build.opensuse.org/request/show/854481 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/gstreamer?expand=0&rev=162
2020-12-10 14:23:42 +01:00
BuildRequires: bison >= 2.4
BuildRequires: check-devel
BuildRequires: fdupes
BuildRequires: flex >= 2.5.31
BuildRequires: gobject-introspection-devel >= 1.31.1
BuildRequires: gtk-doc >= 1.12
BuildRequires: hotdoc
Accepting request 354528 from GNOME:Next - Adjustments post security review (boo#960173): + Add libcap-devel BuildRequires: rely on capabilities instead of flagging the binary suid. + Pass --with-ptp-helper-permissions=capabilities to configure: ensure there is no auto-fallback to attempting to install the binary suid in case capabilities would not work. - Update to version 1.6.2: + Crashes in gst-libav with sinks that did not provide a buffer pool but supported video metadata were fixed. This affected d3dvideosink and some 3rd party sinks. Also related fixes for crashes when a downstream buffer pool failed allocation. + Big GL performance improvement on iOS by a factor of 2 by using Apple's sync extension. + Deadlocks in the DirectSound elements on Windows, and the behaviour of its mute property were fixed. + The Direct3D video sink does not crash anymore when minimizing the window. + The library soname generation on Android >= 6.0 was fixed, which previously caused GStreamer to fail to load there. + File related elements have large-file (>2GB) support on Android now. + gst-libav was updated to ffmpeg 2.8.3. + Deserialization of custom events in the GDP depayloader was fixed. + Missing OpenGL context initialization in the Qt/QML video sink was fixed in certain situations. + Interoperability with some broken RTSP servers using HTTP tunnel was improved. + Various compilation fixes for Windows. OBS-URL: https://build.opensuse.org/request/show/354528 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/gstreamer?expand=0&rev=73
2016-01-18 12:49:16 +01:00
BuildRequires: libcap-devel
BuildRequires: libcap-progs
Accepting request 710670 from home:mgorse:branches:multimedia:libs - Update to version 1.16.0: + Highlights - GStreamer WebRTC stack gained support for data channels for peer-to-peer communication based on SCTP, BUNDLE support, as well as support for multiple TURN servers. - AV1 video codec support for Matroska and QuickTime/MP4 containers and more configuration options and supported input formats for the AOMedia AV1 encoder - Support for Closed Captions and other Ancillary Data in video - Support for planar (non-interleaved) raw audio - GstVideoAggregator, compositor and OpenGL mixer elements are now in -base - New alternate fields interlace mode where each buffer carries a single field - WebM and Matroska ContentEncryption support in the Matroska demuxer - new WebKit WPE-based web browser source element - Video4Linux: HEVC encoding and decoding, JPEG encoding, and improved dmabuf import/export - Hardware-accelerated Nvidia video decoder gained support for VP8/VP9 decoding, whilst the encoder gained support for H.265/HEVC encoding. - Many improvements to the Intel Media SDK based hardware-accelerated video decoder and encoder plugin (msdk): dmabuf import/export for zero-copy integration with other components; VP9 decoding; 10-bit HEVC encoding; video post-processing (vpp) support including deinterlacing; and the video decoder now handles dynamic resolution changes. - The ASS/SSA subtitle overlay renderer can now handle multiple subtitles that overlap in time and will show them on screen OBS-URL: https://build.opensuse.org/request/show/710670 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/gstreamer?expand=0&rev=137
2019-06-25 13:43:36 +02:00
BuildRequires: meson >= 0.47.0
BuildRequires: pkgconfig
BuildRequires: python3-base
BuildRequires: python3-xml
BuildRequires: pkgconfig(bash-completion) >= 2.0
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(gio-unix-2.0)
Accepting request 710670 from home:mgorse:branches:multimedia:libs - Update to version 1.16.0: + Highlights - GStreamer WebRTC stack gained support for data channels for peer-to-peer communication based on SCTP, BUNDLE support, as well as support for multiple TURN servers. - AV1 video codec support for Matroska and QuickTime/MP4 containers and more configuration options and supported input formats for the AOMedia AV1 encoder - Support for Closed Captions and other Ancillary Data in video - Support for planar (non-interleaved) raw audio - GstVideoAggregator, compositor and OpenGL mixer elements are now in -base - New alternate fields interlace mode where each buffer carries a single field - WebM and Matroska ContentEncryption support in the Matroska demuxer - new WebKit WPE-based web browser source element - Video4Linux: HEVC encoding and decoding, JPEG encoding, and improved dmabuf import/export - Hardware-accelerated Nvidia video decoder gained support for VP8/VP9 decoding, whilst the encoder gained support for H.265/HEVC encoding. - Many improvements to the Intel Media SDK based hardware-accelerated video decoder and encoder plugin (msdk): dmabuf import/export for zero-copy integration with other components; VP9 decoding; 10-bit HEVC encoding; video post-processing (vpp) support including deinterlacing; and the video decoder now handles dynamic resolution changes. - The ASS/SSA subtitle overlay renderer can now handle multiple subtitles that overlap in time and will show them on screen OBS-URL: https://build.opensuse.org/request/show/710670 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/gstreamer?expand=0&rev=137
2019-06-25 13:43:36 +02:00
BuildRequires: pkgconfig(glib-2.0) >= 2.40.0
BuildRequires: pkgconfig(gmodule-2.0)
BuildRequires: pkgconfig(gobject-2.0)
Accepting request 710670 from home:mgorse:branches:multimedia:libs - Update to version 1.16.0: + Highlights - GStreamer WebRTC stack gained support for data channels for peer-to-peer communication based on SCTP, BUNDLE support, as well as support for multiple TURN servers. - AV1 video codec support for Matroska and QuickTime/MP4 containers and more configuration options and supported input formats for the AOMedia AV1 encoder - Support for Closed Captions and other Ancillary Data in video - Support for planar (non-interleaved) raw audio - GstVideoAggregator, compositor and OpenGL mixer elements are now in -base - New alternate fields interlace mode where each buffer carries a single field - WebM and Matroska ContentEncryption support in the Matroska demuxer - new WebKit WPE-based web browser source element - Video4Linux: HEVC encoding and decoding, JPEG encoding, and improved dmabuf import/export - Hardware-accelerated Nvidia video decoder gained support for VP8/VP9 decoding, whilst the encoder gained support for H.265/HEVC encoding. - Many improvements to the Intel Media SDK based hardware-accelerated video decoder and encoder plugin (msdk): dmabuf import/export for zero-copy integration with other components; VP9 decoding; 10-bit HEVC encoding; video post-processing (vpp) support including deinterlacing; and the video decoder now handles dynamic resolution changes. - The ASS/SSA subtitle overlay renderer can now handle multiple subtitles that overlap in time and will show them on screen OBS-URL: https://build.opensuse.org/request/show/710670 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/gstreamer?expand=0&rev=137
2019-06-25 13:43:36 +02:00
BuildRequires: pkgconfig(libdw)
# Ensure that the documentation corresponds with the installed version:
Requires: libgstreamer-1_0-0 = %{version}
# Core modules may depend on new enough libraries:
Requires: libgstreamer-1_0-0 >= %{version}
Requires(pre): permissions
# Generic name, never used in SuSE:
Provides: gstreamer-doc = %{version}
%define libunwind_archs %{ix86} ia64 x86_64 %{arm} ppc ppc64 ppc64le aarch64
%ifarch %{libunwind_archs}
BuildRequires: pkgconfig(libunwind)
%endif
%description
GStreamer is a streaming-media framework, based on graphs of filters
which operate on media data. Applications using this library can do
anything from real-time sound processing to playing videos, and just
about anything else media-related. Its plug-in-based architecture
means that new data types or processing capabilities can be added by
installing new plug-ins.
%package -n libgstreamer-1_0-0
Summary: Streaming-Media Framework Runtime
# We want to have core modules installed:
Group: System/Libraries
Requires: %{name}
%description -n libgstreamer-1_0-0
GStreamer is a streaming-media framework, based on graphs of filters
which operate on media data. Applications using this library can do
anything from real-time sound processing to playing videos, and just
about anything else media-related. Its plug-in-based architecture
means that new data types or processing capabilities can be added by
installing new plug-ins.
%package -n typelib-1_0-Gst-1_0
Summary: Streaming-Media Framework Runtime -- Introspection bindings
Group: System/Libraries
%description -n typelib-1_0-Gst-1_0
GStreamer is a streaming-media framework, based on graphs of filters
which operate on media data. Applications using this library can do
anything from real-time sound processing to playing videos, and just
about anything else media-related. Its plug-in-based architecture
means that new data types or processing capabilities can be added by
installing new plug-ins.
This package provides the GObject Introspection bindings for GStreamer.
%package doc
Summary: GStreamer Streaming-Media Framework Plug-Ins
Group: Development/Libraries/C and C++
Requires: %{name} = %{version}
%description doc
GStreamer is a streaming media framework, based on graphs of filters
which operate on media data. Applications using this library can do
anything from real-time sound processing to playing videos, and just
about anything else media-related. Its plugin-based architecture means
that new data types or processing capabilities can be added simply by
installing new plug-ins.
%package utils
Summary: Streaming-Media Framework Runtime
# Generic name, never used in SuSE:
Group: Productivity/Multimedia/Other
Provides: gstreamer:%{_bindir}/gst-launch-%{gst_branch} = %{version}
# Symbol for unversioned wrappers:
Provides: gstreamer-utils_versioned = %{version}
%description utils
GStreamer is a streaming-media framework, based on graphs of filters
which operate on media data. Applications using this library can do
anything from real-time sound processing to playing videos, and just
about anything else media-related. Its plug-in-based architecture
means that new data types or processing capabilities can be added by
installing new plug-ins.
%package devel
Summary: Include Files and Libraries mandatory for Development
Group: Development/Libraries/C and C++
Requires: %{name} = %{version}
# gstreamer-utils is required for the gstreamer-provides rpm magic.
Requires: gstreamer-utils = %{version}
Requires: libgstreamer-1_0-0 = %{version}
Requires: typelib-1_0-Gst-1_0 = %{version}
%description devel
This package contains all necessary include files and libraries needed
to develop applications that require these.
%lang_package
%prep
%setup -q -n gstreamer-%{version}
%patch1 -p1
Accepting request 710670 from home:mgorse:branches:multimedia:libs - Update to version 1.16.0: + Highlights - GStreamer WebRTC stack gained support for data channels for peer-to-peer communication based on SCTP, BUNDLE support, as well as support for multiple TURN servers. - AV1 video codec support for Matroska and QuickTime/MP4 containers and more configuration options and supported input formats for the AOMedia AV1 encoder - Support for Closed Captions and other Ancillary Data in video - Support for planar (non-interleaved) raw audio - GstVideoAggregator, compositor and OpenGL mixer elements are now in -base - New alternate fields interlace mode where each buffer carries a single field - WebM and Matroska ContentEncryption support in the Matroska demuxer - new WebKit WPE-based web browser source element - Video4Linux: HEVC encoding and decoding, JPEG encoding, and improved dmabuf import/export - Hardware-accelerated Nvidia video decoder gained support for VP8/VP9 decoding, whilst the encoder gained support for H.265/HEVC encoding. - Many improvements to the Intel Media SDK based hardware-accelerated video decoder and encoder plugin (msdk): dmabuf import/export for zero-copy integration with other components; VP9 decoding; 10-bit HEVC encoding; video post-processing (vpp) support including deinterlacing; and the video decoder now handles dynamic resolution changes. - The ASS/SSA subtitle overlay renderer can now handle multiple subtitles that overlap in time and will show them on screen OBS-URL: https://build.opensuse.org/request/show/710670 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/gstreamer?expand=0&rev=137
2019-06-25 13:43:36 +02:00
%patch2 -p1
sed -i -e '1{s,^#!/usr/bin/env python3,#!%{_bindir}/python3,}' docs/gst-plugins-doc-cache-generator.py
%build
Accepting request 710670 from home:mgorse:branches:multimedia:libs - Update to version 1.16.0: + Highlights - GStreamer WebRTC stack gained support for data channels for peer-to-peer communication based on SCTP, BUNDLE support, as well as support for multiple TURN servers. - AV1 video codec support for Matroska and QuickTime/MP4 containers and more configuration options and supported input formats for the AOMedia AV1 encoder - Support for Closed Captions and other Ancillary Data in video - Support for planar (non-interleaved) raw audio - GstVideoAggregator, compositor and OpenGL mixer elements are now in -base - New alternate fields interlace mode where each buffer carries a single field - WebM and Matroska ContentEncryption support in the Matroska demuxer - new WebKit WPE-based web browser source element - Video4Linux: HEVC encoding and decoding, JPEG encoding, and improved dmabuf import/export - Hardware-accelerated Nvidia video decoder gained support for VP8/VP9 decoding, whilst the encoder gained support for H.265/HEVC encoding. - Many improvements to the Intel Media SDK based hardware-accelerated video decoder and encoder plugin (msdk): dmabuf import/export for zero-copy integration with other components; VP9 decoding; 10-bit HEVC encoding; video post-processing (vpp) support including deinterlacing; and the video decoder now handles dynamic resolution changes. - The ASS/SSA subtitle overlay renderer can now handle multiple subtitles that overlap in time and will show them on screen OBS-URL: https://build.opensuse.org/request/show/710670 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/gstreamer?expand=0&rev=137
2019-06-25 13:43:36 +02:00
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
Accepting request 710670 from home:mgorse:branches:multimedia:libs - Update to version 1.16.0: + Highlights - GStreamer WebRTC stack gained support for data channels for peer-to-peer communication based on SCTP, BUNDLE support, as well as support for multiple TURN servers. - AV1 video codec support for Matroska and QuickTime/MP4 containers and more configuration options and supported input formats for the AOMedia AV1 encoder - Support for Closed Captions and other Ancillary Data in video - Support for planar (non-interleaved) raw audio - GstVideoAggregator, compositor and OpenGL mixer elements are now in -base - New alternate fields interlace mode where each buffer carries a single field - WebM and Matroska ContentEncryption support in the Matroska demuxer - new WebKit WPE-based web browser source element - Video4Linux: HEVC encoding and decoding, JPEG encoding, and improved dmabuf import/export - Hardware-accelerated Nvidia video decoder gained support for VP8/VP9 decoding, whilst the encoder gained support for H.265/HEVC encoding. - Many improvements to the Intel Media SDK based hardware-accelerated video decoder and encoder plugin (msdk): dmabuf import/export for zero-copy integration with other components; VP9 decoding; 10-bit HEVC encoding; video post-processing (vpp) support including deinterlacing; and the video decoder now handles dynamic resolution changes. - The ASS/SSA subtitle overlay renderer can now handle multiple subtitles that overlap in time and will show them on screen OBS-URL: https://build.opensuse.org/request/show/710670 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/gstreamer?expand=0&rev=137
2019-06-25 13:43:36 +02:00
# TODO: enable dbghelp
%meson \
Accepting request 710670 from home:mgorse:branches:multimedia:libs - Update to version 1.16.0: + Highlights - GStreamer WebRTC stack gained support for data channels for peer-to-peer communication based on SCTP, BUNDLE support, as well as support for multiple TURN servers. - AV1 video codec support for Matroska and QuickTime/MP4 containers and more configuration options and supported input formats for the AOMedia AV1 encoder - Support for Closed Captions and other Ancillary Data in video - Support for planar (non-interleaved) raw audio - GstVideoAggregator, compositor and OpenGL mixer elements are now in -base - New alternate fields interlace mode where each buffer carries a single field - WebM and Matroska ContentEncryption support in the Matroska demuxer - new WebKit WPE-based web browser source element - Video4Linux: HEVC encoding and decoding, JPEG encoding, and improved dmabuf import/export - Hardware-accelerated Nvidia video decoder gained support for VP8/VP9 decoding, whilst the encoder gained support for H.265/HEVC encoding. - Many improvements to the Intel Media SDK based hardware-accelerated video decoder and encoder plugin (msdk): dmabuf import/export for zero-copy integration with other components; VP9 decoding; 10-bit HEVC encoding; video post-processing (vpp) support including deinterlacing; and the video decoder now handles dynamic resolution changes. - The ASS/SSA subtitle overlay renderer can now handle multiple subtitles that overlap in time and will show them on screen OBS-URL: https://build.opensuse.org/request/show/710670 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/gstreamer?expand=0&rev=137
2019-06-25 13:43:36 +02:00
-Dptp-helper-permissions=capabilities \
-Dpackage-name='openSUSE GStreamer package' \
-Dpackage-origin='http://download.opensuse.org' \
-Dintrospection=enabled \
-Dbenchmarks=disabled \
-Ddoc=enabled \
Accepting request 710670 from home:mgorse:branches:multimedia:libs - Update to version 1.16.0: + Highlights - GStreamer WebRTC stack gained support for data channels for peer-to-peer communication based on SCTP, BUNDLE support, as well as support for multiple TURN servers. - AV1 video codec support for Matroska and QuickTime/MP4 containers and more configuration options and supported input formats for the AOMedia AV1 encoder - Support for Closed Captions and other Ancillary Data in video - Support for planar (non-interleaved) raw audio - GstVideoAggregator, compositor and OpenGL mixer elements are now in -base - New alternate fields interlace mode where each buffer carries a single field - WebM and Matroska ContentEncryption support in the Matroska demuxer - new WebKit WPE-based web browser source element - Video4Linux: HEVC encoding and decoding, JPEG encoding, and improved dmabuf import/export - Hardware-accelerated Nvidia video decoder gained support for VP8/VP9 decoding, whilst the encoder gained support for H.265/HEVC encoding. - Many improvements to the Intel Media SDK based hardware-accelerated video decoder and encoder plugin (msdk): dmabuf import/export for zero-copy integration with other components; VP9 decoding; 10-bit HEVC encoding; video post-processing (vpp) support including deinterlacing; and the video decoder now handles dynamic resolution changes. - The ASS/SSA subtitle overlay renderer can now handle multiple subtitles that overlap in time and will show them on screen OBS-URL: https://build.opensuse.org/request/show/710670 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/gstreamer?expand=0&rev=137
2019-06-25 13:43:36 +02:00
-Dexamples=disabled \
-Ddbghelp=disabled \
%ifnarch %{libunwind_archs}
-Dlibunwind=disabled \
%endif
Accepting request 710670 from home:mgorse:branches:multimedia:libs - Update to version 1.16.0: + Highlights - GStreamer WebRTC stack gained support for data channels for peer-to-peer communication based on SCTP, BUNDLE support, as well as support for multiple TURN servers. - AV1 video codec support for Matroska and QuickTime/MP4 containers and more configuration options and supported input formats for the AOMedia AV1 encoder - Support for Closed Captions and other Ancillary Data in video - Support for planar (non-interleaved) raw audio - GstVideoAggregator, compositor and OpenGL mixer elements are now in -base - New alternate fields interlace mode where each buffer carries a single field - WebM and Matroska ContentEncryption support in the Matroska demuxer - new WebKit WPE-based web browser source element - Video4Linux: HEVC encoding and decoding, JPEG encoding, and improved dmabuf import/export - Hardware-accelerated Nvidia video decoder gained support for VP8/VP9 decoding, whilst the encoder gained support for H.265/HEVC encoding. - Many improvements to the Intel Media SDK based hardware-accelerated video decoder and encoder plugin (msdk): dmabuf import/export for zero-copy integration with other components; VP9 decoding; 10-bit HEVC encoding; video post-processing (vpp) support including deinterlacing; and the video decoder now handles dynamic resolution changes. - The ASS/SSA subtitle overlay renderer can now handle multiple subtitles that overlap in time and will show them on screen OBS-URL: https://build.opensuse.org/request/show/710670 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/gstreamer?expand=0&rev=137
2019-06-25 13:43:36 +02:00
%{nil}
%meson_build
%install
%meson_install
%find_lang %{name}-%{gst_branch}
find %{buildroot} -type f -name "*.la" -delete -print
mkdir -p %{buildroot}%{_datadir}/gstreamer-%{gst_branch}/presets
# Install the rpm macros
install -m644 -D %{SOURCE1} %{buildroot}%{_fileattrsdir}/gstreamer.attr
install -m755 -D %{SOURCE2} %{buildroot}%{_rpmconfigdir}/gstreamer-provides
%fdupes %{buildroot}%{_datadir}/gtk-doc
%verifyscript
%verify_permissions -e %{_libexecdir}/gstreamer-%{gst_branch}/gst-ptp-helper
%post
%set_permissions %{_libexecdir}/gstreamer-%{gst_branch}/gst-ptp-helper
%post -n libgstreamer-1_0-0 -p /sbin/ldconfig
%postun -n libgstreamer-1_0-0 -p /sbin/ldconfig
%files
%license COPYING
%dir %{_datadir}/gstreamer-%{gst_branch}
%dir %{_datadir}/gstreamer-%{gst_branch}/presets
%dir %{_libdir}/gstreamer-%{gst_branch}
%{_libdir}/gstreamer-%{gst_branch}/libgstcoreelements.so
%{_libdir}/gstreamer-%{gst_branch}/libgstcoretracers.so
%dir %{_libexecdir}/gstreamer-%{gst_branch}
%{_libexecdir}/gstreamer-%{gst_branch}/gst-completion-helper
%{_libexecdir}/gstreamer-%{gst_branch}/gst-plugin-scanner-%{_target_cpu}
%{_libexecdir}/gstreamer-%{gst_branch}/gst-hotdoc-plugins-scanner
%verify(not mode caps) %{_libexecdir}/gstreamer-%{gst_branch}/gst-ptp-helper
%{_datadir}/bash-completion/completions/
%{_datadir}/bash-completion/helpers/
%files -n libgstreamer-1_0-0
%{_libdir}/*.so.*
%files -n typelib-1_0-Gst-1_0
%{_libdir}/girepository-1.0/Gst-1.0.typelib
%{_libdir}/girepository-1.0/GstBase-1.0.typelib
%{_libdir}/girepository-1.0/GstCheck-1.0.typelib
%{_libdir}/girepository-1.0/GstController-1.0.typelib
%{_libdir}/girepository-1.0/GstNet-1.0.typelib
%files utils
%{_bindir}/*-%{gst_branch}
%{_mandir}/man?/*-%{gst_branch}*%{ext_man}
%files devel
%{_datadir}/aclocal/*.m4
Accepting request 710670 from home:mgorse:branches:multimedia:libs - Update to version 1.16.0: + Highlights - GStreamer WebRTC stack gained support for data channels for peer-to-peer communication based on SCTP, BUNDLE support, as well as support for multiple TURN servers. - AV1 video codec support for Matroska and QuickTime/MP4 containers and more configuration options and supported input formats for the AOMedia AV1 encoder - Support for Closed Captions and other Ancillary Data in video - Support for planar (non-interleaved) raw audio - GstVideoAggregator, compositor and OpenGL mixer elements are now in -base - New alternate fields interlace mode where each buffer carries a single field - WebM and Matroska ContentEncryption support in the Matroska demuxer - new WebKit WPE-based web browser source element - Video4Linux: HEVC encoding and decoding, JPEG encoding, and improved dmabuf import/export - Hardware-accelerated Nvidia video decoder gained support for VP8/VP9 decoding, whilst the encoder gained support for H.265/HEVC encoding. - Many improvements to the Intel Media SDK based hardware-accelerated video decoder and encoder plugin (msdk): dmabuf import/export for zero-copy integration with other components; VP9 decoding; 10-bit HEVC encoding; video post-processing (vpp) support including deinterlacing; and the video decoder now handles dynamic resolution changes. - The ASS/SSA subtitle overlay renderer can now handle multiple subtitles that overlap in time and will show them on screen OBS-URL: https://build.opensuse.org/request/show/710670 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/gstreamer?expand=0&rev=137
2019-06-25 13:43:36 +02:00
# Own these directories to avoid build requirement on gdb
# only for directories ownership
%dir %{_datadir}/gdb
%dir %{_datadir}/gdb/auto-load
%dir %{_datadir}/gdb/auto-load%{_prefix}
%dir %{_datadir}/gdb/auto-load%{_libdir}
%{_datadir}/gdb/auto-load%{_libdir}/lib%{name}*.py
%dir %{_datadir}/gstreamer-%{gst_branch}/gdb
%{_datadir}/gstreamer-%{gst_branch}/gdb/glib_gobject_helper.py
%{_datadir}/gstreamer-%{gst_branch}/gdb/gst_gdb.py
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%{_libexecdir}/gstreamer-%{gst_branch}/gst-plugins-doc-cache-generator
%{_rpmconfigdir}/gstreamer-provides
%{_fileattrsdir}/gstreamer.attr
%{_datadir}/gir-1.0/*.gir
%files doc
%doc AUTHORS ChangeLog NEWS README RELEASE
#%%{_datadir}/gtk-doc/html/*
%files lang -f %{name}-%{gst_branch}.lang
%changelog