Drop unmaintained phonon support on el7

el8
Nicolas Chauvet 6 years ago
parent 43e0e047c1
commit 97a51e6656

@ -7,7 +7,6 @@
%global vlc_url https://download.videolan.org/pub/videolan/vlc/ %global vlc_url https://download.videolan.org/pub/videolan/vlc/
%endif %endif
%global _with_bootstrap 1 %global _with_bootstrap 1
%global _with_workaround_circle_deps 1
%if 0%{?!_without_freeworld:1} %if 0%{?!_without_freeworld:1}
%global _with_a52dec 1 %global _with_a52dec 1
%global _with_faad2 1 %global _with_faad2 1
@ -126,11 +125,6 @@ BuildRequires: libtar-devel
BuildRequires: libtheora-devel BuildRequires: libtheora-devel
BuildRequires: libtiger-devel BuildRequires: libtiger-devel
BuildRequires: libtiff-devel BuildRequires: libtiff-devel
%if 0%{?fedora}
BuildRequires: phonon-qt5-devel
%else
BuildRequires: phonon-devel
%endif
BuildRequires: pkgconfig(libidn) BuildRequires: pkgconfig(libidn)
BuildRequires: pkgconfig(libjpeg) BuildRequires: pkgconfig(libjpeg)
BuildRequires: pkgconfig(libplacebo) BuildRequires: pkgconfig(libplacebo)
@ -212,14 +206,14 @@ BuildRequires: raspberrypi-vc-static
BuildRequires: devtoolset-7-toolchain, devtoolset-7-libatomic-devel BuildRequires: devtoolset-7-toolchain, devtoolset-7-libatomic-devel
%endif %endif
%if 0%{?fedora} || 0%{?rhel} >= 8
%{?_with_workaround_circle_deps: BuildRequires: phonon-qt5-devel
%if 0%{?fedora}
BuildRequires: phonon-qt5-backend-gstreamer BuildRequires: phonon-qt5-backend-gstreamer
%else %else
BuildRequires: phonon-backend-gstreamer # phonon is unmaintained on EL7
Obsoletes: phonon-backend-vlc < 0.6.2-3
Provides: phonon-backend-vlc = 0.6.2-3
%endif %endif
}
%{?_with_wayland: %{?_with_wayland:
# Fedora 25 Workstation default to wayland but not all # Fedora 25 Workstation default to wayland but not all

Loading…
Cancel
Save