Drop libarchive support for f30 and el8, supporting 0.31.0 for the next decade isn't an option

el8
Leigh Scott 5 years ago
parent 3f5ecaa5d8
commit 0e96aa27c1

@ -1,6 +1,6 @@
Name: mpv Name: mpv
Version: 0.32.0 Version: 0.32.0
Release: 1%{?gitrelease}%{?dist} Release: 2%{?gitrelease}%{?dist}
Summary: Movie player playing most video formats and DVDs Summary: Movie player playing most video formats and DVDs
License: GPLv2+ and LGPLv2+ License: GPLv2+ and LGPLv2+
URL: http://mpv.io/ URL: http://mpv.io/
@ -44,7 +44,9 @@ BuildRequires: pkgconfig(vulkan)
%endif %endif
%endif %endif
BuildRequires: pkgconfig(lcms2) BuildRequires: pkgconfig(lcms2)
BuildRequires: pkgconfig(libarchive) %if 0%{?fedora} > 30|| 0%{?rhel} > 8
BuildRequires: pkgconfig(libarchive) >= 3.4.0
%endif
BuildRequires: pkgconfig(libass) BuildRequires: pkgconfig(libass)
BuildRequires: pkgconfig(libbluray) BuildRequires: pkgconfig(libbluray)
BuildRequires: pkgconfig(libcdio) BuildRequires: pkgconfig(libcdio)
@ -134,7 +136,9 @@ sed -i -e "s|c_preproc.standard_includes.append('/usr/local/include')|c_preproc.
--disable-build-date \ --disable-build-date \
--enable-libmpv-shared \ --enable-libmpv-shared \
--enable-sdl2 \ --enable-sdl2 \
%if 0%{?fedora} > 30|| 0%{?rhel} > 8
--enable-libarchive \ --enable-libarchive \
%endif
--enable-libsmbclient \ --enable-libsmbclient \
--enable-dvdnav \ --enable-dvdnav \
--enable-cdda \ --enable-cdda \
@ -176,6 +180,10 @@ install -Dpm 644 README.md etc/input.conf etc/mpv.conf -t %{buildroot}%{_docdir}
%{_libdir}/pkgconfig/mpv.pc %{_libdir}/pkgconfig/mpv.pc
%changelog %changelog
* Sun Jan 26 2020 Leigh Scott <leigh123linux@gmail.com> - 0.32.0-2
- Drop libarchive support for f30 and el8, supporting 0.31.0 for the
next decade isn't an option
* Sun Jan 26 2020 Leigh Scott <leigh123linux@gmail.com> - 0.32.0-1 * Sun Jan 26 2020 Leigh Scott <leigh123linux@gmail.com> - 0.32.0-1
- Update to 0.32.0 - Update to 0.32.0

Loading…
Cancel
Save