|
|
@ -1,6 +1,6 @@
|
|
|
|
Name: mpv
|
|
|
|
Name: mpv
|
|
|
|
Version: 0.28.0
|
|
|
|
Version: 0.28.0
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 2%{?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://%{name}.io/
|
|
|
|
URL: http://%{name}.io/
|
|
|
@ -127,18 +127,6 @@ waf install --destdir=%{buildroot}
|
|
|
|
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
|
|
|
|
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
|
|
|
|
install -Dpm 644 README.md etc/input.conf etc/mpv.conf -t %{buildroot}%{_docdir}/%{name}
|
|
|
|
install -Dpm 644 README.md etc/input.conf etc/mpv.conf -t %{buildroot}%{_docdir}/%{name}
|
|
|
|
|
|
|
|
|
|
|
|
%post
|
|
|
|
|
|
|
|
/bin/touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%postun
|
|
|
|
|
|
|
|
if [ $1 -eq 0 ] ; then
|
|
|
|
|
|
|
|
/bin/touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
|
|
|
|
|
|
|
|
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%posttrans
|
|
|
|
|
|
|
|
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%post libs -p /sbin/ldconfig
|
|
|
|
%post libs -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
%postun libs -p /sbin/ldconfig
|
|
|
|
%postun libs -p /sbin/ldconfig
|
|
|
@ -164,6 +152,9 @@ fi
|
|
|
|
%{_libdir}/pkgconfig/mpv.pc
|
|
|
|
%{_libdir}/pkgconfig/mpv.pc
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Sat Jan 27 2018 Leigh Scott <leigh123linux@googlemail.com> - 0.28.0-2
|
|
|
|
|
|
|
|
- Rebuild for libcdio
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 17 2018 Leigh Scott <leigh123linux@googlemail.com> - 0.28.0-1
|
|
|
|
* Wed Jan 17 2018 Leigh Scott <leigh123linux@googlemail.com> - 0.28.0-1
|
|
|
|
- Update to 0.28.0
|
|
|
|
- Update to 0.28.0
|
|
|
|
- Enable VA-API
|
|
|
|
- Enable VA-API
|
|
|
|