From 09326cc48383b2f2fc8a612466b7682d92db29cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Sun, 1 Jan 2017 02:30:13 +0100 Subject: [PATCH] Reverse commit that removes old ffmpeg compatiblity layer Only apply on Fedora < 26 --- mpv.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/mpv.spec b/mpv.spec index bf52b79..c0bc9bc 100644 --- a/mpv.spec +++ b/mpv.spec @@ -12,6 +12,11 @@ Patch0: %{name}-config.patch # https://github.com/negativo17/mpv/blob/master/mpv-do-not-fail-with-minor-ffmpeg-updates.patch Patch1: mpv-do-not-fail-with-minor-ffmpeg-updates.patch +%if 0%{?fedora} < 26 +# Reverse of https://github.com/mpv-player/mpv/commit/3eceac2eab0b42ee082a0b615ebf40a21f0fb915 +Patch2: %{name}-old-ffmpeg.patch +%endif + BuildRequires: pkgconfig(alsa) BuildRequires: desktop-file-utils BuildRequires: pkgconfig(dvdnav)