From 8d28864d8703c776765979cab66c50bda9fd704a083d51383d83de985321a00c Mon Sep 17 00:00:00 2001 From: Dave Plater Date: Thu, 27 Oct 2022 14:37:46 +0000 Subject: [PATCH] Accepting request 1031567 from home:plater Fix build to make Leap:15.4 qmmp play mpeg tracks again OBS-URL: https://build.opensuse.org/request/show/1031567 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/qmmp?expand=0&rev=176 --- qmmp.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/qmmp.spec b/qmmp.spec index 7756538..6b31d2a 100644 --- a/qmmp.spec +++ b/qmmp.spec @@ -50,7 +50,7 @@ BuildRequires: pkgconfig(enca) BuildRequires: pkgconfig(flac) BuildRequires: pkgconfig(jack) BuildRequires: pkgconfig(libarchive) -BuildRequires: pkgconfig(libavcodec) +BuildRequires: pkgconfig(libavcodec) >= 58 BuildRequires: pkgconfig(libavformat) BuildRequires: pkgconfig(libavutil) BuildRequires: pkgconfig(libbs2b) @@ -204,9 +204,11 @@ rm -r %{buildroot}/%{_datadir}/icons/hicolor/56x56 %files -n lib%{name}-plugins %{_libdir}/%{name}-%{mver}/ +%if 0%{suse_version} > 1500 %if %{with restricted} %exclude %{_libdir}/%{name}-%{mver}/Engines/libmplayer.so %endif +%endif %if %{with restricted} %if 0%{suse_version} > 1500