File gstreamer-plugins-good.spec of Package gstreamer-plugins-good.20668
#
# spec file for package gstreamer-plugins-good
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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 http://bugs.opensuse.org/
#
# aasink is just a toy. Once in future, we may want to disable aalib
# support completely: Disabled 25/12/17
%define ENABLE_AALIB 0
%define _name gst-plugins-good
%define gst_branch 1.0
Name: gstreamer-plugins-good
Version: 1.12.5
Release: 0
Summary: GStreamer Streaming-Media Framework Plug-Ins
License: LGPL-2.1-or-later
Group: Productivity/Multimedia/Other
URL: http://gstreamer.freedesktop.org/
Source0: https://gstreamer.freedesktop.org/src/gst-plugins-good/%{_name}-%{version}.tar.xz
Source1: gstreamer-plugins-good.appdata.xml
Source99: baselibs.conf
# PATCH-FIX-UPSTREAM gstreamer-plugins-good-CVE-2021-3497.patch boo#1184739 mgorse@suse.com -- matroskademux: fix extraction of multichannel WavPack.
Patch0: gstreamer-plugins-good-CVE-2021-3497.patch
# PATCH-FIX-UPSTREAM gstreamer-CVE-2022-1920.patch boo#1201688 mgorse@suse.com -- avoid integer overflow in WavPack header handling code.
Patch1: gstreamer-CVE-2022-1920.patch
# PATCH-FIX-UPSTREAM gstreamer-CVE-2022-1921.patch boo#1201693 mgorse@suse.com -- fix integer overflow resulting in heap corruption.
Patch2: gstreamer-CVE-2022-1921.patch
# PATCH-FIX-UPSTREAM gstreamer-CVE-2022-1922-matroska.patch boo#1201702 boo#1201704 boo#1201706 boo#1201707 boo#1201708 mgorse@suse.com -- fix integer overflows in zlib/bz2/etc. decompression.
Patch3: gstreamer-CVE-2022-1922-matroska.patch
# PATCH-FIX-UPSTREAM gstreamer-CVE-2022-1922-qt.patch boo#1201702 boo#1201704 boo#1201706 boo#1201707 boo#1201708 mgorse@suse.com -- fix integer overflows in zlib/bz2/etc. decompression.
Patch4: gstreamer-CVE-2022-1922-qt.patch
# PATCH-FIX-UPSTREAM 0001-flacparse-Avoid-integer-overflow-in-available-data-check.patch bsc#1213128 alarrosa@suse.com -- Fix integer overflow when parsing flac images (CVE-2023-37327)
Patch5: 0001-flacparse-Avoid-integer-overflow-in-available-data-check.patch
BuildRequires: gcc-c++
BuildRequires: gtk-doc >= 1.12
BuildRequires: libICE-devel
BuildRequires: libSM-devel
# used by libgstvideo4linux2.so
BuildRequires: libXv-devel
BuildRequires: libavc1394-devel
BuildRequires: libbz2-devel
BuildRequires: libjpeg-devel
BuildRequires: orc >= 0.4.16
BuildRequires: pkgconfig
BuildRequires: python3-base
BuildRequires: python3-xml
BuildRequires: translation-update-upstream
BuildRequires: zlib-devel
BuildRequires: pkgconfig(caca)
BuildRequires: pkgconfig(cairo) >= 1.10.0
BuildRequires: pkgconfig(cairo-gobject) >= 1.10.0
BuildRequires: pkgconfig(flac) >= 1.1.4
BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= 2.8.0
BuildRequires: pkgconfig(glib-2.0) >= 2.40.0
BuildRequires: pkgconfig(gstreamer-1.0) >= 1.12.0
BuildRequires: pkgconfig(gstreamer-base-1.0) >= 1.12.0
BuildRequires: pkgconfig(gstreamer-check-1.0)
BuildRequires: pkgconfig(gstreamer-controller-1.0) >= 1.12.0
BuildRequires: pkgconfig(gstreamer-net-1.0) >= 1.12.0
BuildRequires: pkgconfig(gstreamer-plugins-base-1.0) >= 1.12.0
BuildRequires: pkgconfig(gtk+-3.0) >= 2.91.3
BuildRequires: pkgconfig(gtk+-x11-3.0) >= 2.91.3
BuildRequires: pkgconfig(gudev-1.0) >= 147
BuildRequires: pkgconfig(jack) >= 0.99.10
BuildRequires: pkgconfig(libdv) >= 0.100
BuildRequires: pkgconfig(libiec61883) >= 1.0.0
BuildRequires: pkgconfig(libpng) >= 1.2
BuildRequires: pkgconfig(libpulse) >= 2.0
BuildRequires: pkgconfig(libraw1394) >= 2.0.0
BuildRequires: pkgconfig(libsoup-2.4) >= 2.48.0
BuildRequires: pkgconfig(libsoup-gnome-2.4) >= 2.40.0
BuildRequires: pkgconfig(libv4l2)
BuildRequires: pkgconfig(libxml-2.0) >= 2.4.9
BuildRequires: pkgconfig(shout) >= 2.0
BuildRequires: pkgconfig(speex) >= 1.1.6
BuildRequires: pkgconfig(taglib) >= 1.5
BuildRequires: pkgconfig(vpx) >= 1.3.0
BuildRequires: pkgconfig(wavpack) >= 4.60.0
BuildRequires: pkgconfig(xdamage)
BuildRequires: pkgconfig(xfixes)
Requires: gstreamer >= 1.8.0
Requires: gstreamer-plugins-base >= 1.8.1
Recommends: %{name}-lang
Enhances: gstreamer
# 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}
BuildRequires: aalib-devel
%endif
%description
GStreamer is a streaming media framework based on graphs of filters
that operate on media data. Applications using this library can do
anything media-related, from real-time sound processing to playing
videos. Its plug-in-based architecture means that new data types or
processing capabilities can be added simply by installing new plug-ins.
%package doc
Summary: Documentation for gstreamer-plugins-good
Group: Development/Libraries/C and C++
Requires: %{name} = %{version}
%description doc
This package contains documentation for gstreamer-plugins-good.
%package extra
Summary: Complementary plugins for gstreamer-plugins-good
Group: Productivity/Multimedia/Other
Requires: %{name} = %{version}
Enhances: gstreamer-plugins-good
%description extra
This package provides complementary plugins for
gstreamer-plugins-good.
%package jack
Summary: Jack plugin for gstreamer-plugins-good
Group: Productivity/Multimedia/Other
Requires: %{name} = %{version}
Enhances: gstreamer-plugins-good
%description jack
This package provides the jack plugin for gstreamer-plugins-good.
%lang_package
%prep
%autosetup -n %{_name}-%{version} -p1
translation-update-upstream po gst-plugins-good-%{gst_branch}
%build
export PYTHON=%{_bindir}/python3
%configure\
--with-package-name='openSUSE GStreamer-plugins-good package'\
--with-package-origin='http://download.opensuse.org'\
%if ! 0%{?ENABLE_AALIB}
--disable-aalib\
%endif
--enable-gtk-doc\
--enable-v4l2-probe\
--enable-experimental
make %{?_smp_mflags}
%install
%make_install
%find_lang %{_name}-%{gst_branch}
if [ -f %{buildroot}%{_datadir}/appdata/gstreamer-plugins-good.appdata.xml ]; then
echo "Please remove the added gstreamer-plugins-good.appdata.xml file from the sources - the tarball installs it"
false
else
mkdir -p %{buildroot}%{_datadir}/appdata
cp %{SOURCE1} %{buildroot}%{_datadir}/appdata/
fi
rm %{buildroot}%{_libdir}/gstreamer-%{gst_branch}/*.*a
%files
%license COPYING
%doc NEWS
%dir %{_datadir}/appdata
%{_datadir}/appdata/gstreamer-plugins-good.appdata.xml
%{_datadir}/gstreamer-%{gst_branch}/presets/GstIirEqualizer10Bands.prs
%{_datadir}/gstreamer-%{gst_branch}/presets/GstIirEqualizer3Bands.prs
%{_datadir}/gstreamer-%{gst_branch}/presets/GstQTMux.prs
%{_datadir}/gstreamer-%{gst_branch}/presets/GstVP8Enc.prs
%{_libdir}/gstreamer-%{gst_branch}/libgstalaw.so
%{_libdir}/gstreamer-%{gst_branch}/libgstalpha.so
%{_libdir}/gstreamer-%{gst_branch}/libgstalphacolor.so
%{_libdir}/gstreamer-%{gst_branch}/libgstapetag.so
%{_libdir}/gstreamer-%{gst_branch}/libgstaudiofx.so
%{_libdir}/gstreamer-%{gst_branch}/libgstaudioparsers.so
%{_libdir}/gstreamer-%{gst_branch}/libgstauparse.so
%{_libdir}/gstreamer-%{gst_branch}/libgstautodetect.so
%{_libdir}/gstreamer-%{gst_branch}/libgstavi.so
%{_libdir}/gstreamer-%{gst_branch}/libgstcutter.so
%{_libdir}/gstreamer-%{gst_branch}/libgstdebug.so
%{_libdir}/gstreamer-%{gst_branch}/libgstdeinterlace.so
%{_libdir}/gstreamer-%{gst_branch}/libgstdtmf.so
%{_libdir}/gstreamer-%{gst_branch}/libgsteffectv.so
%{_libdir}/gstreamer-%{gst_branch}/libgstequalizer.so
%{_libdir}/gstreamer-%{gst_branch}/libgstflac.so
%{_libdir}/gstreamer-%{gst_branch}/libgstflv.so
%{_libdir}/gstreamer-%{gst_branch}/libgstflxdec.so
%{_libdir}/gstreamer-%{gst_branch}/libgstgdkpixbuf.so
%{_libdir}/gstreamer-%{gst_branch}/libgstgoom.so
%{_libdir}/gstreamer-%{gst_branch}/libgstgoom2k1.so
%{_libdir}/gstreamer-%{gst_branch}/libgsticydemux.so
%{_libdir}/gstreamer-%{gst_branch}/libgstid3demux.so
%{_libdir}/gstreamer-%{gst_branch}/libgstimagefreeze.so
%{_libdir}/gstreamer-%{gst_branch}/libgstinterleave.so
%{_libdir}/gstreamer-%{gst_branch}/libgstisomp4.so
%{_libdir}/gstreamer-%{gst_branch}/libgstjpeg.so
%{_libdir}/gstreamer-%{gst_branch}/libgstlevel.so
%{_libdir}/gstreamer-%{gst_branch}/libgstmatroska.so
%{_libdir}/gstreamer-%{gst_branch}/libgstmulaw.so
%{_libdir}/gstreamer-%{gst_branch}/libgstmultifile.so
%{_libdir}/gstreamer-%{gst_branch}/libgstmultipart.so
%{_libdir}/gstreamer-%{gst_branch}/libgstnavigationtest.so
%{_libdir}/gstreamer-%{gst_branch}/libgstoss4.so
%{_libdir}/gstreamer-%{gst_branch}/libgstossaudio.so
%{_libdir}/gstreamer-%{gst_branch}/libgstpng.so
%{_libdir}/gstreamer-%{gst_branch}/libgstpulseaudio.so
%{_libdir}/gstreamer-%{gst_branch}/libgstreplaygain.so
%{_libdir}/gstreamer-%{gst_branch}/libgstrtp.so
%{_libdir}/gstreamer-%{gst_branch}/libgstrtpmanager.so
%{_libdir}/gstreamer-%{gst_branch}/libgstrtsp.so
%{_libdir}/gstreamer-%{gst_branch}/libgstshapewipe.so
%{_libdir}/gstreamer-%{gst_branch}/libgstsmpte.so
%{_libdir}/gstreamer-%{gst_branch}/libgstsoup.so
%{_libdir}/gstreamer-%{gst_branch}/libgstspectrum.so
%{_libdir}/gstreamer-%{gst_branch}/libgstspeex.so
%{_libdir}/gstreamer-%{gst_branch}/libgsttaglib.so
%{_libdir}/gstreamer-%{gst_branch}/libgstudp.so
%{_libdir}/gstreamer-%{gst_branch}/libgstvideo4linux2.so
%{_libdir}/gstreamer-%{gst_branch}/libgstvideobox.so
%{_libdir}/gstreamer-%{gst_branch}/libgstvideocrop.so
%{_libdir}/gstreamer-%{gst_branch}/libgstvideofilter.so
%{_libdir}/gstreamer-%{gst_branch}/libgstvideomixer.so
%{_libdir}/gstreamer-%{gst_branch}/libgstvpx.so
%{_libdir}/gstreamer-%{gst_branch}/libgstwavenc.so
%{_libdir}/gstreamer-%{gst_branch}/libgstwavpack.so
%{_libdir}/gstreamer-%{gst_branch}/libgstwavparse.so
%{_libdir}/gstreamer-%{gst_branch}/libgstximagesrc.so
%{_libdir}/gstreamer-%{gst_branch}/libgsty4menc.so
%files lang -f %{_name}-%{gst_branch}.lang
%files doc
%doc AUTHORS README RELEASE REQUIREMENTS
%{_datadir}/gtk-doc/html/gst-plugins-good-plugins-%{gst_branch}
%files extra
%{_libdir}/gstreamer-%{gst_branch}/libgst1394.so
%if 0%{?ENABLE_AALIB}
%{_libdir}/gstreamer-%{gst_branch}/libgstaasink.so
%endif
%{_libdir}/gstreamer-%{gst_branch}/libgstcacasink.so
%{_libdir}/gstreamer-%{gst_branch}/libgstcairo.so
%{_libdir}/gstreamer-%{gst_branch}/libgstdv.so
%{_libdir}/gstreamer-%{gst_branch}/libgstmonoscope.so
%{_libdir}/gstreamer-%{gst_branch}/libgstshout2.so
%files jack
%{_libdir}/gstreamer-%{gst_branch}/libgstjack.so
%changelog