gstreamer/gstreamer.prov
Dominique Leuenberger 36283513ae - Update to version 1.24.12:
+ Highlighted bugfixes:
    - d3d12: Fix shaders failing to compile with newer dxc versions
    - decklinkvideosink: Fix handling of caps framerate in auto
      mode; also a decklinkaudiosink fix
    - devicemonitor: Fix potential crash macOS when a device is
      unplugged
    - gst-libav: Fix crash in audio encoders like avenc_ac3 if
      input data has insufficient alignment
    - gst-libav: Fix build against FFmpeg 4.2 as in Ubuntu 20.04
    - gst-editing-services: Fix Python library name fetching on
      Windows
    - netclientclock: Don't store failed internal clocks in the
      cache, so applications can re-try later
    - oggdemux: Seeking and duration fixes
    - osxaudiosrc: Fixes for failing init/no output on recent iOS
      versions
    - qtdemux: Use mvhd transform matrix and support for flipping
    - rtpvp9pay: Fix profile parsing
    - splitmuxsrc: Fix use with decodebin3 which would occasionally
      fail with an assertion when seeking
    - tsdemux: Fix backwards PTS wraparound detection with
      ignore-pcr=true
    - video-overlay-composition: Declare the video/size/orientation
      tags for the meta and implement scale transformations
    - vtdec: Fix seeks occasionally hanging on macOS due to a race
      condition when draining
    - webrtc: Fix duplicate payload types with RTX and multiple
      video codecs
    - win32-pluginoader: Make sure not to create any windows when
      inspecting plugins
    - wpe: Various fixes for re-negotiation, latency reporting,
      progress messages on startup
    - x264enc: Add missing data to AvcDecoderConfigurationRecord in
      codec_data for high profile variants
    - cerbero: Support using ccache with cmake if enabled
    - Various bug fixes, build fixes, memory leak fixes, and other
      stability and reliability improvements
  + gstreamer:
    - device: Fix racy nullptr deref on macOS when a device is
      unplugged
    - iterator: Added error handling to filtered iterators
    - netclientclock: Don't ever store failed internal clocks in
      the cache
    - netclock-replay: use gst_c_args when building, fixing build
      failure on Solaris
    - pluginloader-win32: create no window
    - pluginloader-win32: fix use after free in
      find_helper_bin_location
    - sparsefile: ensure error is set when read_buffer() returns 0
    - basetransform: fix incorrect logging inside
      gst_base_transform_query_caps

OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/gstreamer?expand=0&rev=240
2025-02-04 11:38:51 +00:00

50 lines
1.2 KiB
Bash

#!/bin/bash
#
# Script to install in:
# /usr/lib/rpm/redhat/find-provides.d
#
# Transform GStreamer auto install info into RPM provides
#
# Author: Bastien Nocera <hadess@hadess.net>
# Based on other provides scripts from RPM
#
# We need a way to disable automatic gst provides.
# Simply "%define SKIP_GSTPROVIDES 1" anywhere in the spec file
grep -q -E '^[^#]?%define\s+SKIP_GSTPROVIDES\s.*[^0\s].*' "$RPMBUILD_SPECFILE" && exit 0
filelist=`grep -e '.so$' | sed "s/['\"]/\\\&/g"`
# --- Alpha does not mark 64bit dependencies•
case `uname -m` in
alpha*) mark64="" ;;
*) mark64="()(64bit)" ;;
esac
solist=$(echo $filelist | grep "libgst" | \
xargs file -L 2>/dev/null | grep -E "ELF.*(shared object|executable)" | cut -d: -f1 )
function getmark()
{
lib64=`if file -L $1 2>/dev/null | \
grep "ELF 64-bit" >/dev/null; then echo -n "$mark64"; fi`
}
function libdir()
{
buildlibdir=`dirname $1`
buildlibdir=`dirname $buildlibdir`
}
for so in $solist ; do
getmark $so
libdir $so
LD_LIBRARY_PATH=$buildlibdir gst-inspect-1.0 --print-plugin-auto-install-info --rpm $so 2> /dev/null | while read line ; do
echo -n "$line";
echo -n "$lib64"
echo
done
done