commit 3a6a5c70912299d758911d97ef81bd0df58484f3
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Sat Mar 5 08:21:17 2022 +0000
Use compat-ffmpeg4 for f36+
deadbeef.spec | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
---
diff --git a/deadbeef.spec b/deadbeef.spec
index ccbd4a7..7d10bbc 100644
--- a/deadbeef.spec
+++ b/deadbeef.spec
@@ -6,7 +6,7 @@
Name: deadbeef
Version: 1.8.8
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: An audio player for GNU/Linux
Summary(ru): Музыкальный проигрыватель для GNU/Linux
@@ -25,7 +25,11 @@ ExcludeArch: armv7hl
BuildRequires: clang
BuildRequires: pkgconfig(alsa)
BuildRequires: pkgconfig(dbus-1)
+%if 0%{?fedora} && 0%{?fedora} > 35
+BuildRequires: compat-ffmpeg4-devel
+%else
BuildRequires: ffmpeg-devel
+%endif
BuildRequires: pkgconfig(flac)
BuildRequires: faad2-devel
BuildRequires: pkgconfig(libmms)
@@ -101,6 +105,9 @@ done
%build
+%if 0%{?fedora} && 0%{?fedora} > 35
+export PKG_CONFIG_PATH="%{_libdir}/compat-ffmpeg4/pkgconfig"
+%endif
./autogen.sh
%configure \
--enable-ffmpeg --docdir=%{_defaultdocdir}/%{name}-%{version} \
@@ -154,6 +161,9 @@ desktop-file-validate
%{buildroot}%{_datadir}/applications/%{name}.desktop
%changelog
+* Sat Mar 05 2022 Leigh Scott <leigh123linux(a)gmail.com> - 1.8.8-6
+- Use compat-ffmpeg4 for f36+
+
* Fri Feb 25 2022 Vasiliy N. Glazov <vascom2(a)gmail.com> - 1.8.8-5
- Enable notifications
Show replies by date