fixed gstreamer1 on RHEL, added libav to suse builds

This commit is contained in:
SpiritCS
2020-09-12 15:17:19 +02:00
parent c7be556e6e
commit c2856d6146

View File

@@ -26,15 +26,15 @@ URL: https://github.com/Rafostar/clapper
BuildArchitectures: noarch BuildArchitectures: noarch
BuildRoot: %{_builddir}/%{name}-%{version}-build BuildRoot: %{_builddir}/%{name}-%{version}-build
BuildRequires: meson gjs BuildRequires: meson gjs
Requires: gjs gstreamer Requires: gjs
Source0: _service Source0: _service
%if 0%{?suse_version} %if 0%{?suse_version}
Requires: gstreamer-plugins-base gstreamer-plugins-good-gtk libgstplayer-1_0-0 Requires: gstreamer gstreamer-plugins-base gstreamer-plugins-good-gtk libgstplayer-1_0-0
Recommends: gstreamer-plugins-vaapi Recommends: gstreamer-plugins-vaapi gstreamer-plugins-libav
%endif %endif
%if 0%{?fedora} || 0%{?rhel_version} || 0%{?centos_version} %if 0%{?fedora} || 0%{?rhel_version} || 0%{?centos_version}
BuildRequires: glibc-all-langpacks BuildRequires: glibc-all-langpacks
Requires: gstreamer1-plugins-base gstreamer1-plugins-good-gtk gstreamer1-plugins-bad-free Requires: gstreamer1 gstreamer1-plugins-base gstreamer1-plugins-good-gtk gstreamer1-plugins-bad-free
Recommends: gstreamer1-vaapi Recommends: gstreamer1-vaapi
%endif %endif