From dd24fc8fad6b832b6a3a2580c2a5918c381326b9 Mon Sep 17 00:00:00 2001 From: Leigh Scott Date: Tue, 27 Aug 2019 09:42:16 +0100 Subject: [PATCH] Add changes for el8 --- mpv.spec | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/mpv.spec b/mpv.spec index 2d1b70e..ce9467a 100644 --- a/mpv.spec +++ b/mpv.spec @@ -34,8 +34,19 @@ BuildRequires: pkgconfig(libswresample) >= 3.0.100 BuildRequires: pkgconfig(ffnvcodec) BuildRequires: pkgconfig(gbm) BuildRequires: pkgconfig(gl) +%if 0%{?fedora} +BuildRequires: libshaderc-devel BuildRequires: pkgconfig(jack) BuildRequires: pkgconfig(mujs) +BuildRequires: pkgconfig(uchardet) >= 0.0.5 +BuildRequires: pkgconfig(rubberband) +BuildRequires: pkgconfig(libguess) +BuildRequires: pkgconfig(vulkan) +%else +%ifarch x86_64 +BuildRequires: pkgconfig(vulkan) +%endif +%endif BuildRequires: pkgconfig(lcms2) BuildRequires: pkgconfig(libarchive) BuildRequires: pkgconfig(libass) @@ -43,21 +54,16 @@ BuildRequires: pkgconfig(libbluray) BuildRequires: pkgconfig(libcdio) BuildRequires: pkgconfig(libcdio_paranoia) BuildRequires: pkgconfig(libdrm) -BuildRequires: pkgconfig(libguess) BuildRequires: pkgconfig(libjpeg) BuildRequires: pkgconfig(libplacebo) BuildRequires: pkgconfig(libpulse) BuildRequires: pkgconfig(libv4l2) BuildRequires: pkgconfig(libquvi-0.9) BuildRequires: pkgconfig(libva) -BuildRequires: pkgconfig(lua-5.1) +BuildRequires: pkgconfig(lua) >= 5.3.0 BuildRequires: pkgconfig(sdl2) -BuildRequires: pkgconfig(rubberband) -BuildRequires: libshaderc-devel BuildRequires: pkgconfig(smbclient) -BuildRequires: pkgconfig(uchardet) >= 0.0.5 BuildRequires: pkgconfig(vdpau) -BuildRequires: pkgconfig(vulkan) BuildRequires: waf BuildRequires: pkgconfig(wayland-client) BuildRequires: pkgconfig(wayland-cursor)