2011-08-17 23:41:23 +02:00
#
2012-01-24 12:24:15 +01:00
# spec file for package gstreamer-plugins-base
2011-08-17 23:41:23 +02:00
#
2022-01-26 19:41:33 +01:00
# Copyright (c) 2022 SUSE LLC
2011-08-17 23:41:23 +02:00
#
# 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.
2019-05-17 01:23:24 +02:00
# Please submit bugfixes or comments via https://bugs.opensuse.org/
2011-08-17 23:41:23 +02:00
#
%define _name gst-plugins-base
2017-12-24 22:12:49 +01:00
%define gst_branch 1.0
2020-10-02 17:26:09 +02:00
%define gstreamer_req_version %(echo %{version} | sed -e "s/+.*//")
2017-12-24 22:12:49 +01:00
Name : gstreamer-plugins-base
2021-09-15 12:26:27 +02:00
Version : 1.18.5
2012-01-24 12:24:15 +01:00
Release : 0
2012-02-20 11:23:55 +01:00
Summary : GStreamer Streaming-Media Framework Plug-Ins
2021-04-07 14:55:04 +02:00
License : GPL-2.0-or-later AND LGPL-2.1-or-later
2012-02-20 11:23:55 +01:00
Group : Productivity/Multimedia/Other
2020-12-10 14:23:47 +01:00
URL : https://gstreamer.freedesktop.org
# Disable tarball source url, use _service
#Source0: %%{url}/src/gst-plugins-base/%%{_name}-%%{version}.tar.xz
Source0 : %{_name}-%{version} .tar.xz
2016-02-18 11:16:47 +01:00
Source1 : gstreamer-plugins-base.appdata.xml
2012-02-20 11:23:55 +01:00
Source2 : baselibs.conf
2020-03-06 10:13:12 +01:00
# PATCH-FIX-OPENSUSE gstreamer-plugins-base-gl-deps.patch dimstar@opensuse.org -- Local workaround for https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/735
Patch3 : gstreamer-plugins-base-gl-deps.patch
2020-10-02 17:26:09 +02:00
Patch4 : add_wayland_dep_to_tests.patch
2020-11-06 13:34:13 +01:00
Patch5 : MR-221-video-anc-add-two-new-CEA-608-caption-formats.patch
2021-09-15 12:26:27 +02:00
2018-05-16 10:15:46 +02:00
BuildRequires : Mesa-libGLESv3-devel
2011-08-17 23:41:23 +02:00
BuildRequires : cdparanoia-devel
2018-05-16 10:15:46 +02:00
BuildRequires : gcc-c++
2016-04-15 14:51:51 +02:00
BuildRequires : glib2-devel >= 2.40.0
2017-12-24 22:12:49 +01:00
BuildRequires : gobject-introspection-devel >= 1.31.1
2012-03-23 12:25:18 +01:00
BuildRequires : libICE-devel
BuildRequires : libSM-devel
BuildRequires : libXext-devel
BuildRequires : libXv-devel
2018-05-16 10:15:46 +02:00
BuildRequires : libjpeg-devel
BuildRequires : libpng-devel
2019-06-25 13:44:03 +02:00
BuildRequires : meson >= 0.47.0
2020-10-02 17:26:09 +02:00
BuildRequires : orc >= 0.4.24
2017-12-24 22:12:49 +01:00
BuildRequires : pkgconfig
2017-11-29 16:09:12 +01:00
BuildRequires : python3-base
2017-12-01 12:33:59 +01:00
BuildRequires : python3-xml
2017-08-30 22:52:02 +02:00
BuildRequires : update-desktop-files
2012-03-23 12:25:18 +01:00
BuildRequires : pkgconfig(alsa) >= 0.9.1
2018-05-16 10:15:46 +02:00
BuildRequires : pkgconfig(egl)
2012-03-23 12:25:18 +01:00
BuildRequires : pkgconfig(freetype2) >= 2.0.9
2018-05-16 10:15:46 +02:00
BuildRequires : pkgconfig(gbm)
2019-06-25 13:44:03 +02:00
BuildRequires : pkgconfig(gio-unix-2.0) >= 2.40
2018-05-16 10:15:46 +02:00
BuildRequires : pkgconfig(gl)
BuildRequires : pkgconfig(glesv1_cm)
BuildRequires : pkgconfig(glesv2)
2019-06-25 13:44:03 +02:00
BuildRequires : pkgconfig(glib-2.0) >= 2.40
2018-05-16 10:15:46 +02:00
BuildRequires : pkgconfig(gmodule-no-export-2.0)
2020-10-02 17:26:09 +02:00
BuildRequires : pkgconfig(gstreamer-1.0) >= %{gstreamer_req_version}
2018-05-16 10:15:46 +02:00
BuildRequires : pkgconfig(gudev-1.0)
2012-03-23 12:25:18 +01:00
BuildRequires : pkgconfig(iso-codes)
2018-05-16 10:15:46 +02:00
BuildRequires : pkgconfig(libdrm) >= 2.4.55
2012-03-23 12:25:18 +01:00
BuildRequires : pkgconfig(libvisual-0.4) >= 0.4.0
BuildRequires : pkgconfig(libxml-2.0)
BuildRequires : pkgconfig(ogg) >= 1.0
2016-04-15 14:51:51 +02:00
BuildRequires : pkgconfig(opus) >= 0.9.4
2012-03-23 12:25:18 +01:00
BuildRequires : pkgconfig(pango) >= 1.22.0
BuildRequires : pkgconfig(pangocairo) >= 1.22.0
BuildRequires : pkgconfig(theoradec) >= 1.1
BuildRequires : pkgconfig(theoraenc) >= 1.1
BuildRequires : pkgconfig(vorbis) >= 1.0
BuildRequires : pkgconfig(vorbisenc) >= 1.0
2018-05-16 10:15:46 +02:00
BuildRequires : pkgconfig(wayland-client) >= 1.0
BuildRequires : pkgconfig(wayland-cursor) >= 1.0
2020-10-02 17:26:09 +02:00
BuildRequires : pkgconfig(wayland-egl) >= 1.0
2019-08-20 03:33:28 +02:00
BuildRequires : pkgconfig(wayland-protocols)
2018-05-16 10:15:46 +02:00
BuildRequires : pkgconfig(x11)
BuildRequires : pkgconfig(x11-xcb)
BuildRequires : pkgconfig(xext)
BuildRequires : pkgconfig(xv)
2012-03-23 12:25:18 +01:00
BuildRequires : pkgconfig(zlib)
2020-10-02 17:26:09 +02:00
Requires : gstreamer >= %{gstreamer_req_version}
2012-02-20 11:23:55 +01:00
Supplements: gstreamer
2020-11-06 13:34:13 +01:00
Conflicts : gstreamer-plugins-bad < 1.18.1
2012-02-20 11:23:55 +01:00
# Generic name, never used in SuSE:
Provides : gst-plugins-base = %{version}
2019-06-25 13:44:03 +02:00
Obsoletes : libgstbadvideo-1_0-0
2018-05-16 10:15:46 +02:00
Obsoletes : typelib-1_0-GstFft-1_0 < 1.14.0
2021-05-10 12:55:24 +02:00
%if 0%{?suse_version} < 1550
BuildRequires : pkgconfig(cairo)
%endif
%if 0%{?suse_version} >= 1500
BuildRequires : pkgconfig(graphene-1.0)
%endif
2011-08-17 23:41:23 +02:00
%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.
2013-11-01 09:50:01 +01:00
%package -n libgstallocators-1_0-0
Summary : GStreamer Streaming-Media Framework Plug-Ins
# We want to have base modules installed:
2016-12-06 14:04:43 +01:00
Group : System/Libraries
2013-11-01 09:50:01 +01:00
Requires : %{name}
%description -n libgstallocators-1_0-0
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 -n typelib-1_0-GstAllocators-1_0
Summary : GStreamer Streaming-Media Framework Plug-Ins -- Introspection bindings
Group : System/Libraries
%description -n typelib-1_0-GstAllocators-1_0
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.
This package provides the GObject Introspection bindings for GStreamer
plug-ins.
2012-05-14 12:16:44 +02:00
%package -n libgstapp-1_0-0
2011-08-17 23:41:23 +02:00
Summary : GStreamer Streaming-Media Framework Plug-Ins
# We want to have base modules installed:
2016-12-06 14:04:43 +01:00
Group : System/Libraries
2011-08-17 23:41:23 +02:00
Requires : %{name}
2012-05-14 12:16:44 +02:00
%description -n libgstapp-1_0-0
2011-08-17 23:41:23 +02:00
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.
2012-05-14 12:16:44 +02:00
%package -n typelib-1_0-GstApp-1_0
2012-01-24 12:24:15 +01:00
Summary : GStreamer Streaming-Media Framework Plug-Ins -- Introspection bindings
Group : System/Libraries
2012-05-14 12:16:44 +02:00
%description -n typelib-1_0-GstApp-1_0
2012-01-24 12:24:15 +01:00
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.
This package provides the GObject Introspection bindings for GStreamer
plug-ins.
2012-05-14 12:16:44 +02:00
%package -n libgstaudio-1_0-0
2011-08-17 23:41:23 +02:00
Summary : GStreamer Streaming-Media Framework Plug-Ins
# We want to have base modules installed:
2016-12-06 14:04:43 +01:00
Group : System/Libraries
2011-08-17 23:41:23 +02:00
Requires : %{name}
2012-05-14 12:16:44 +02:00
%description -n libgstaudio-1_0-0
2011-08-17 23:41:23 +02:00
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.
2012-05-14 12:16:44 +02:00
%package -n typelib-1_0-GstAudio-1_0
2012-01-24 12:24:15 +01:00
Summary : GStreamer Streaming-Media Framework Plug-Ins -- Introspection bindings
Group : System/Libraries
2012-05-14 12:16:44 +02:00
%description -n typelib-1_0-GstAudio-1_0
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.
This package provides the GObject Introspection bindings for GStreamer
plug-ins.
%package -n libgstfft-1_0-0
Summary : GStreamer Streaming-Media Framework Plug-Ins
# We want to have base modules installed:
2016-12-06 14:04:43 +01:00
Group : System/Libraries
2012-05-14 12:16:44 +02:00
Requires : %{name}
%description -n libgstfft-1_0-0
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 -n typelib-1_0-GstFft-1_0
Summary : GStreamer Streaming-Media Framework Plug-Ins -- Introspection bindings
Group : System/Libraries
%description -n typelib-1_0-GstFft-1_0
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.
2018-05-16 10:15:46 +02:00
%package -n libgstgl-1_0-0
Summary : GStreamer Streaming-Media Framework Plug-Ins
Group : System/Libraries
%description -n libgstgl-1_0-0
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 -n typelib-1_0-GstGL-1_0
Summary : GStreamer Streaming-Media Framework Plug-Ins -- Introspection bindings
Group : System/Libraries
%description -n typelib-1_0-GstGL-1_0
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.
2012-05-14 12:16:44 +02:00
This package provides the GObject Introspection bindings for GStreamer
plug-ins.
2020-10-02 17:26:09 +02:00
%package -n typelib-1_0-GstGLEGL-1_0
Summary : GStreamer Streaming-Media Framework Plug-Ins -- Introspection bindings
Group : System/Libraries
%description -n typelib-1_0-GstGLEGL-1_0
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.
This package provides the GObject Introspection bindings for GStreamer
plug-ins.
%package -n typelib-1_0-GstGLWayland-1_0
Summary : GStreamer Streaming-Media Framework Plug-Ins -- Introspection bindings
Group : System/Libraries
%description -n typelib-1_0-GstGLWayland-1_0
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.
This package provides the GObject Introspection bindings for GStreamer
plug-ins.
%package -n typelib-1_0-GstGLX11-1_0
Summary : GStreamer Streaming-Media Framework Plug-Ins -- Introspection bindings
Group : System/Libraries
%description -n typelib-1_0-GstGLX11-1_0
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.
This package provides the GObject Introspection bindings for GStreamer
plug-ins.
2012-05-14 12:16:44 +02:00
%package -n libgstpbutils-1_0-0
Summary : GStreamer Streaming-Media Framework Plug-Ins
# We want to have base modules installed:
2016-12-06 14:04:43 +01:00
Group : System/Libraries
2012-05-14 12:16:44 +02:00
Requires : %{name}
%description -n libgstpbutils-1_0-0
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 -n typelib-1_0-GstPbutils-1_0
Summary : GStreamer Streaming-Media Framework Plug-Ins -- Introspection bindings
Group : System/Libraries
%description -n typelib-1_0-GstPbutils-1_0
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.
This package provides the GObject Introspection bindings for GStreamer
plug-ins.
%package -n libgstriff-1_0-0
Summary : GStreamer Streaming-Media Framework Plug-Ins
# We want to have base modules installed:
2016-12-06 14:04:43 +01:00
Group : System/Libraries
2012-05-14 12:16:44 +02:00
Requires : %{name}
%description -n libgstriff-1_0-0
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 -n libgstrtp-1_0-0
Summary : GStreamer Streaming-Media Framework Plug-Ins
# We want to have base modules installed:
2016-12-06 14:04:43 +01:00
Group : System/Libraries
2012-05-14 12:16:44 +02:00
Requires : %{name}
%description -n libgstrtp-1_0-0
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 -n typelib-1_0-GstRtp-1_0
Summary : GStreamer Streaming-Media Framework Plug-Ins -- Introspection bindings
Group : System/Libraries
%description -n typelib-1_0-GstRtp-1_0
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.
This package provides the GObject Introspection bindings for GStreamer
plug-ins.
%package -n libgstrtsp-1_0-0
Summary : GStreamer Streaming-Media Framework Plug-Ins
# We want to have base modules installed:
2016-12-06 14:04:43 +01:00
Group : System/Libraries
2012-05-14 12:16:44 +02:00
Requires : %{name}
%description -n libgstrtsp-1_0-0
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 -n typelib-1_0-GstRtsp-1_0
Summary : GStreamer Streaming-Media Framework Plug-Ins -- Introspection bindings
Group : System/Libraries
%description -n typelib-1_0-GstRtsp-1_0
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.
This package provides the GObject Introspection bindings for GStreamer
plug-ins.
%package -n libgstsdp-1_0-0
Summary : GStreamer Streaming-Media Framework Plug-Ins
# We want to have base modules installed:
2016-12-06 14:04:43 +01:00
Group : System/Libraries
2012-05-14 12:16:44 +02:00
Requires : %{name}
%description -n libgstsdp-1_0-0
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 -n typelib-1_0-GstSdp-1_0
Summary : GStreamer Streaming-Media Framework Plug-Ins -- Introspection bindings
Group : System/Libraries
%description -n typelib-1_0-GstSdp-1_0
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.
This package provides the GObject Introspection bindings for GStreamer
plug-ins.
%package -n libgsttag-1_0-0
Summary : GStreamer Streaming-Media Framework Plug-Ins
# We want to have base modules installed:
2016-12-06 14:04:43 +01:00
Group : System/Libraries
2012-05-14 12:16:44 +02:00
Requires : %{name}
%description -n libgsttag-1_0-0
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 -n typelib-1_0-GstTag-1_0
Summary : GStreamer Streaming-Media Framework Plug-Ins -- Introspection bindings
Group : System/Libraries
%description -n typelib-1_0-GstTag-1_0
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.
This package provides the GObject Introspection bindings for GStreamer
plug-ins.
%package -n libgstvideo-1_0-0
Summary : GStreamer Streaming-Media Framework Plug-Ins
# We want to have base modules installed:
2016-12-06 14:04:43 +01:00
Group : System/Libraries
2012-05-14 12:16:44 +02:00
Requires : %{name}
%description -n libgstvideo-1_0-0
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 -n typelib-1_0-GstVideo-1_0
Summary : GStreamer Streaming-Media Framework Plug-Ins -- Introspection bindings
Group : System/Libraries
%description -n typelib-1_0-GstVideo-1_0
2012-01-24 12:24:15 +01:00
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.
This package provides the GObject Introspection bindings for GStreamer
plug-ins.
2011-08-17 23:41:23 +02:00
%package devel
2017-05-17 21:46:36 +02:00
Summary : Include files and librs mandatory for development with gstreamer-plugins-base
2011-08-17 23:41:23 +02:00
Group : Development/Libraries/C and C++
2013-11-01 09:50:01 +01:00
Requires : libgstallocators-1_0-0 = %{version}
2012-04-21 14:54:24 +02:00
Requires : libgstapp-1_0-0 = %{version}
2012-05-14 12:16:44 +02:00
Requires : libgstaudio-1_0-0 = %{version}
Requires : libgstfft-1_0-0 = %{version}
2018-05-16 10:15:46 +02:00
Requires : libgstgl-1_0-0 = %{version}
2012-05-14 12:16:44 +02:00
Requires : libgstpbutils-1_0-0 = %{version}
Requires : libgstriff-1_0-0 = %{version}
Requires : libgstrtp-1_0-0 = %{version}
Requires : libgstrtsp-1_0-0 = %{version}
Requires : libgstsdp-1_0-0 = %{version}
Requires : libgsttag-1_0-0 = %{version}
Requires : libgstvideo-1_0-0 = %{version}
2013-11-01 09:50:01 +01:00
Requires : typelib-1_0-GstAllocators-1_0 = %{version}
2012-04-21 14:54:24 +02:00
Requires : typelib-1_0-GstApp-1_0 = %{version}
2012-05-14 12:16:44 +02:00
Requires : typelib-1_0-GstAudio-1_0 = %{version}
2018-05-16 10:15:46 +02:00
Requires : typelib-1_0-GstGL-1_0 = %{version}
2020-10-02 17:26:09 +02:00
Requires : typelib-1_0-GstGLEGL-1_0 = %{version}
Requires : typelib-1_0-GstGLWayland-1_0 = %{version}
Requires : typelib-1_0-GstGLX11-1_0 = %{version}
2012-05-14 12:16:44 +02:00
Requires : typelib-1_0-GstPbutils-1_0 = %{version}
Requires : typelib-1_0-GstRtp-1_0 = %{version}
Requires : typelib-1_0-GstRtsp-1_0 = %{version}
Requires : typelib-1_0-GstSdp-1_0 = %{version}
Requires : typelib-1_0-GstTag-1_0 = %{version}
Requires : typelib-1_0-GstVideo-1_0 = %{version}
2011-08-17 23:41:23 +02:00
# Generic name, never used in SuSE:
Provides : gst-plugins-base-devel = %{version}
%description devel
This package contains all necessary include files and libraries needed
2012-01-24 12:24:15 +01:00
to compile and link applications that use gstreamer-plugins-base.
2011-08-17 23:41:23 +02:00
%lang_package
2017-12-24 22:12:49 +01:00
2011-08-17 23:41:23 +02:00
%prep
2017-12-24 22:12:49 +01:00
%autosetup -n %{_name}-%{version} -p1
2019-04-30 12:28:20 +02:00
2011-08-17 23:41:23 +02:00
%build
2017-12-24 22:12:49 +01:00
export PYTHON=%{_bindir} /python3
2019-06-25 13:44:03 +02:00
# TODO: tremor needs libvorbisidec
2020-10-02 17:26:09 +02:00
%meson \
2019-06-25 13:44:03 +02:00
-Dpackage-name='openSUSE GStreamer-plugins-base package' \
-Dpackage-origin='http://download.opensuse.org' \
2021-09-22 10:24:18 +02:00
-Ddoc=disabled \
2019-06-25 13:44:03 +02:00
-Dintrospection=enabled \
-Dorc=enabled \
-Dexamples=disabled \
-Dtremor=disabled \
%{nil}
2020-10-02 17:26:09 +02:00
%meson_build
2011-08-17 23:41:23 +02:00
%install
2020-10-02 17:26:09 +02:00
%meson_install
2016-02-18 11:16:47 +01:00
if [ -f %{buildroot} %{_datadir} /appdata/gstreamer-plugins-base.appdata.xml ]; then
echo " P l e a s e r e m o v e t h e a d d e d g s t r e a m e r - p l u g i n s - b a s e . a p p d a t a . x m l f i l e f r o m t h e s o u r c e s - t h e t a r b a l l i n s t a l l s i t "
false
else
mkdir -p %{buildroot} %{_datadir} /appdata
2017-12-24 22:12:49 +01:00
cp %{SOURCE1} %{buildroot} %{_datadir} /appdata/
2016-02-18 11:16:47 +01:00
fi
2017-12-24 22:12:49 +01:00
find %{buildroot} -type f -name " * . l a " -delete -print
2011-08-17 23:41:23 +02:00
%find_lang %{_name}-%{gst_branch}
2018-05-16 10:15:46 +02:00
%post -n libgstallocators-1_0-0 -p /sbin/ldconfig
2013-11-01 09:50:01 +01:00
%postun -n libgstallocators-1_0-0 -p /sbin/ldconfig
2018-05-16 10:15:46 +02:00
%post -n libgstapp-1_0-0 -p /sbin/ldconfig
2012-04-21 14:54:24 +02:00
%postun -n libgstapp-1_0-0 -p /sbin/ldconfig
2018-05-16 10:15:46 +02:00
%post -n libgstaudio-1_0-0 -p /sbin/ldconfig
2012-05-14 12:16:44 +02:00
%postun -n libgstaudio-1_0-0 -p /sbin/ldconfig
2018-05-16 10:15:46 +02:00
%post -n libgstfft-1_0-0 -p /sbin/ldconfig
2012-05-14 12:16:44 +02:00
%postun -n libgstfft-1_0-0 -p /sbin/ldconfig
2018-05-16 10:15:46 +02:00
%post -n libgstgl-1_0-0 -p /sbin/ldconfig
%postun -n libgstgl-1_0-0 -p /sbin/ldconfig
%post -n libgstpbutils-1_0-0 -p /sbin/ldconfig
2012-05-14 12:16:44 +02:00
%postun -n libgstpbutils-1_0-0 -p /sbin/ldconfig
2018-05-16 10:15:46 +02:00
%post -n libgstriff-1_0-0 -p /sbin/ldconfig
2012-05-14 12:16:44 +02:00
%postun -n libgstriff-1_0-0 -p /sbin/ldconfig
2018-05-16 10:15:46 +02:00
%post -n libgstrtp-1_0-0 -p /sbin/ldconfig
2012-05-14 12:16:44 +02:00
%postun -n libgstrtp-1_0-0 -p /sbin/ldconfig
2018-05-16 10:15:46 +02:00
%post -n libgstrtsp-1_0-0 -p /sbin/ldconfig
2012-05-14 12:16:44 +02:00
%postun -n libgstrtsp-1_0-0 -p /sbin/ldconfig
2018-05-16 10:15:46 +02:00
%post -n libgstsdp-1_0-0 -p /sbin/ldconfig
2012-05-14 12:16:44 +02:00
%postun -n libgstsdp-1_0-0 -p /sbin/ldconfig
2018-05-16 10:15:46 +02:00
%post -n libgsttag-1_0-0 -p /sbin/ldconfig
2012-05-14 12:16:44 +02:00
%postun -n libgsttag-1_0-0 -p /sbin/ldconfig
2018-05-16 10:15:46 +02:00
%post -n libgstvideo-1_0-0 -p /sbin/ldconfig
2012-05-14 12:16:44 +02:00
%postun -n libgstvideo-1_0-0 -p /sbin/ldconfig
2011-08-17 23:41:23 +02:00
%files
2018-03-01 12:36:51 +01:00
%license COPYING
2017-12-24 22:12:49 +01:00
%{_mandir} /man1/gst-device-monitor-*
%{_mandir} /man1/gst-discoverer-*
%{_mandir} /man1/gst-play-*
2014-07-23 23:09:27 +02:00
%{_bindir} /gst-device-monitor-%{gst_branch}
2011-08-17 23:41:23 +02:00
%{_bindir} /gst-discoverer-%{gst_branch}
2013-11-01 09:50:01 +01:00
%{_bindir} /gst-play-%{gst_branch}
2016-02-18 11:16:47 +01:00
%{_datadir} /appdata/gstreamer-plugins-base.appdata.xml
2011-08-17 23:41:23 +02:00
%{_libdir} /gstreamer-%{gst_branch} /libgstadder.so
%{_libdir} /gstreamer-%{gst_branch} /libgstalsa.so
%{_libdir} /gstreamer-%{gst_branch} /libgstapp.so
%{_libdir} /gstreamer-%{gst_branch} /libgstaudioconvert.so
2018-05-16 10:15:46 +02:00
%{_libdir} /gstreamer-%{gst_branch} /libgstaudiomixer.so
2011-08-17 23:41:23 +02:00
%{_libdir} /gstreamer-%{gst_branch} /libgstaudioresample.so
%{_libdir} /gstreamer-%{gst_branch} /libgstaudiotestsrc.so
%{_libdir} /gstreamer-%{gst_branch} /libgstaudiorate.so
%{_libdir} /gstreamer-%{gst_branch} /libgstcdparanoia.so
2019-06-25 13:44:03 +02:00
%{_libdir} /gstreamer-%{gst_branch} /libgstcompositor.so
2017-05-17 21:46:36 +02:00
%{_libdir} /gstreamer-%{gst_branch} /libgstencoding.so
2011-08-17 23:41:23 +02:00
%{_libdir} /gstreamer-%{gst_branch} /libgstgio.so
%{_libdir} /gstreamer-%{gst_branch} /libgstlibvisual.so
%{_libdir} /gstreamer-%{gst_branch} /libgstogg.so
2018-05-16 10:15:46 +02:00
%{_libdir} /gstreamer-%{gst_branch} /libgstopengl.so
2016-04-15 14:51:51 +02:00
%{_libdir} /gstreamer-%{gst_branch} /libgstopus.so
2019-06-25 13:44:03 +02:00
%{_libdir} /gstreamer-%{gst_branch} /libgstoverlaycomposition.so
2011-08-17 23:41:23 +02:00
%{_libdir} /gstreamer-%{gst_branch} /libgstpango.so
2017-05-17 21:46:36 +02:00
%{_libdir} /gstreamer-%{gst_branch} /libgstpbtypes.so
2011-08-17 23:41:23 +02:00
%{_libdir} /gstreamer-%{gst_branch} /libgstplayback.so
2017-05-17 21:46:36 +02:00
%{_libdir} /gstreamer-%{gst_branch} /libgstrawparse.so
2011-08-17 23:41:23 +02:00
%{_libdir} /gstreamer-%{gst_branch} /libgstsubparse.so
%{_libdir} /gstreamer-%{gst_branch} /libgsttcp.so
%{_libdir} /gstreamer-%{gst_branch} /libgsttheora.so
%{_libdir} /gstreamer-%{gst_branch} /libgsttypefindfunctions.so
%{_libdir} /gstreamer-%{gst_branch} /libgstvideoconvert.so
%{_libdir} /gstreamer-%{gst_branch} /libgstvideorate.so
%{_libdir} /gstreamer-%{gst_branch} /libgstvideoscale.so
%{_libdir} /gstreamer-%{gst_branch} /libgstvideotestsrc.so
%{_libdir} /gstreamer-%{gst_branch} /libgstvolume.so
%{_libdir} /gstreamer-%{gst_branch} /libgstvorbis.so
%{_libdir} /gstreamer-%{gst_branch} /libgstximagesink.so
%{_libdir} /gstreamer-%{gst_branch} /libgstxvimagesink.so
2013-11-01 09:50:01 +01:00
%files -n libgstallocators-1_0-0
%{_libdir} /libgstallocators*.so.*
%files -n typelib-1_0-GstAllocators-1_0
%{_libdir} /girepository-1.0/GstAllocators-*.typelib
2012-05-14 12:16:44 +02:00
%files -n libgstapp-1_0-0
%{_libdir} /libgstapp*.so.*
%files -n typelib-1_0-GstApp-1_0
%{_libdir} /girepository-1.0/GstApp-*.typelib
%files -n libgstaudio-1_0-0
%{_libdir} /libgstaudio*.so.*
%files -n typelib-1_0-GstAudio-1_0
%{_libdir} /girepository-1.0/GstAudio-*.typelib
%files -n libgstfft-1_0-0
%{_libdir} /libgstfft*.so.*
2018-05-16 10:15:46 +02:00
%files -n libgstgl-1_0-0
%{_libdir} /libgstgl-%{gst_branch} .so.0*
%files -n typelib-1_0-GstGL-1_0
%{_libdir} /girepository-1.0/GstGL-*.typelib
2012-05-14 12:16:44 +02:00
2020-10-02 17:26:09 +02:00
%files -n typelib-1_0-GstGLEGL-1_0
%{_libdir} /girepository-1.0/GstGLEGL-1.0.typelib
%files -n typelib-1_0-GstGLWayland-1_0
%{_libdir} /girepository-1.0/GstGLWayland-1.0.typelib
%files -n typelib-1_0-GstGLX11-1_0
%{_libdir} /girepository-1.0/GstGLX11-1.0.typelib
2012-05-14 12:16:44 +02:00
%files -n libgstpbutils-1_0-0
%{_libdir} /libgstpbutils*.so.*
%files -n typelib-1_0-GstPbutils-1_0
%{_libdir} /girepository-1.0/GstPbutils-*.typelib
%files -n libgstriff-1_0-0
%{_libdir} /libgstriff*.so.*
%files -n libgstrtp-1_0-0
%{_libdir} /libgstrtp*.so.*
%files -n typelib-1_0-GstRtp-1_0
%{_libdir} /girepository-1.0/GstRtp-*.typelib
%files -n libgstrtsp-1_0-0
%{_libdir} /libgstrtsp*.so.*
%files -n typelib-1_0-GstRtsp-1_0
%{_libdir} /girepository-1.0/GstRtsp-*.typelib
%files -n libgstsdp-1_0-0
%{_libdir} /libgstsdp*.so.*
%files -n typelib-1_0-GstSdp-1_0
%{_libdir} /girepository-1.0/GstSdp-*.typelib
%files -n libgsttag-1_0-0
%{_libdir} /libgsttag*.so.*
2012-01-24 12:24:15 +01:00
2012-05-14 12:16:44 +02:00
%files -n typelib-1_0-GstTag-1_0
%{_libdir} /girepository-1.0/GstTag-*.typelib
2011-08-17 23:41:23 +02:00
2012-05-14 12:16:44 +02:00
%files -n libgstvideo-1_0-0
%{_libdir} /libgstvideo*.so.*
2012-01-24 12:24:15 +01:00
2012-05-14 12:16:44 +02:00
%files -n typelib-1_0-GstVideo-1_0
%{_libdir} /girepository-1.0/GstVideo-*.typelib
2011-08-17 23:41:23 +02:00
%files devel
2021-09-22 10:24:18 +02:00
%doc AUTHORS NEWS README RELEASE REQUIREMENTS
2011-08-17 23:41:23 +02:00
%{_includedir} /gstreamer-%{gst_branch} /*
%{_libdir} /*.so
%{_libdir} /pkgconfig/*.pc
%{_datadir} /gir-1.0/*.gir
2017-05-17 21:46:36 +02:00
%dir %{_datadir} /gst-plugins-base/
%dir %{_datadir} /gst-plugins-base/%{gst_branch} /
%{_datadir} /gst-plugins-base/%{gst_branch} /license-translations.dict
2018-05-16 10:15:46 +02:00
%dir %{_libdir} /gstreamer-%{gst_branch} /include
%dir %{_libdir} /gstreamer-%{gst_branch} /include/gst
%dir %{_libdir} /gstreamer-%{gst_branch} /include/gst/gl
%{_libdir} /gstreamer-%{gst_branch} /include/gst/gl/gstglconfig.h
2011-08-17 23:41:23 +02:00
2018-05-16 10:15:46 +02:00
%files lang -f %{_name}-%{gst_branch}.lang
2011-08-17 23:41:23 +02:00
%changelog