From 9b30f228b1922e21150e799e0f6d2642c794867c Mon Sep 17 00:00:00 2001 From: Nicolas Chauvet Date: Tue, 18 Sep 2018 12:34:10 +0200 Subject: [PATCH] expunge qt-devel from buildroot --- vlc.spec | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/vlc.spec b/vlc.spec index 73d74e3..de0d6d9 100644 --- a/vlc.spec +++ b/vlc.spec @@ -42,7 +42,7 @@ Summary: The cross-platform open-source multimedia framework, player and server Name: vlc Version: 3.0.4 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv2+ URL: https://www.videolan.org Source0: %{vlc_url}/%{?!vlc_rc:%{version}/}vlc-%{version}%{?vlc_tag}.tar.xz @@ -108,7 +108,7 @@ BuildRequires: libmp4v2-devel BuildRequires: libmpcdec-devel BuildRequires: libmpg123-devel BuildRequires: libmtp-devel >= 1.0.0 -%{?_with_projectm:BuildRequires: libprojectM-qt-devel} +%{?_with_projectm:BuildRequires: libprojectM-devel} BuildRequires: libproxy-devel BuildRequires: librsvg2-devel >= 2.9.0 BuildRequires: libssh2-devel @@ -119,6 +119,11 @@ BuildRequires: libtar-devel BuildRequires: libtheora-devel BuildRequires: libtiger-devel BuildRequires: libtiff-devel +%if 0%{?fedora} +BuildRequires: phonon-qt5-devel +%else +BuildRequires: phonon-devel +%endif BuildRequires: pkgconfig(libidn) BuildRequires: pkgconfig(libjpeg) BuildRequires: pkgconfig(libplacebo) @@ -200,7 +205,13 @@ BuildRequires: devtoolset-7-toolchain, devtoolset-7-libatomic-devel %endif -%{?_with_workaround_circle_deps:BuildRequires: phonon-backend-gstreamer} +%{?_with_workaround_circle_deps: +%if 0%{?fedora} +BuildRequires: phonon-qt5-backend-gstreamer +%else +BuildRequires: phonon-backend-gstreamer +%endif +} %{?_with_wayland: # Fedora 25 Workstation default to wayland but not all @@ -564,6 +575,9 @@ fi || : %changelog +* Tue Sep 18 2018 Nicolas Chauvet - 3.0.4-3 +- Expunge qt-devel from buildroot + * Wed Sep 12 2018 Leigh Scott - 3.0.4-2 - Fix unexpanded ldconfig macro (rfbz#5018)