Update to 0.15.0

fix mpv-config.patch
remove old dependencies
and other
fix pack doc (F23)
el8
Evgeny Lensky 9 years ago
parent e0aefc78a7
commit 4df756605e

@ -1,7 +1,5 @@
diff --git a/etc/example.conf b/etc/example.conf --- a/etc/mpv.conf
index cf9089f..8bb9b7b 100644 +++ b/etc/mpv.conf
--- a/etc/example.conf
+++ b/etc/example.conf
@@ -1,7 +1,7 @@ @@ -1,7 +1,7 @@
# #
# mpv configuration file # mpv configuration file
@ -11,19 +9,30 @@ index cf9089f..8bb9b7b 100644
# and per-user from ~/.config/mpv/mpv.conf, where per-user settings override # and per-user from ~/.config/mpv/mpv.conf, where per-user settings override
# system-wide settings, all of which are overridden by the command line. # system-wide settings, all of which are overridden by the command line.
# #
@@ -28,6 +28,7 @@ @@ -27,7 +27,7 @@
##################
# Specify default video driver (see --vo=help for a list). # Specify default video driver (see --vo=help for a list).
#vo=vdpau -#vo=opengl-hq
+vo=opengl +vo=opengl-hq
# Start in fullscreen mode by default. # Start in fullscreen mode by default.
#fs=yes #fs=yes
@@ -50,6 +51,7 @@ @@ -49,7 +49,7 @@
##################
# Specify default audio driver (see --ao=help for a list). # Specify default audio driver (see --ao=help for a list).
#ao=alsa -#ao=alsa
+ao=pulse,alsa, +ao=pulse,alsa
# Disable softvol usage, and always use the system mixer if available. # Disable softvol usage, and always use the system mixer if available.
#softvol=no #softvol=no
@@ -102,7 +102,7 @@
# Enable hardware decoding if available. Often, this requires using an certain
# video output, otherwise no hardware decoding will be used.
-#hwdec=auto
+hwdec=auto
############
# Profiles #

@ -1,5 +1,5 @@
Name: mpv Name: mpv
Version: 0.14.0 Version: 0.15.0
Release: 1%{?dist} Release: 1%{?dist}
Summary: Movie player playing most video formats and DVDs Summary: Movie player playing most video formats and DVDs
License: GPLv2+ License: GPLv2+
@ -13,40 +13,39 @@ Patch0: %{name}-config.patch
# See https://github.com/mpv-player/mpv/issues/1363 # See https://github.com/mpv-player/mpv/issues/1363
Patch1: %{name}-old-waf.patch Patch1: %{name}-old-waf.patch
BuildRequires: aalib-devel BuildRequires: pkgconfig(alsa)
BuildRequires: alsa-lib-devel BuildRequires: pkgconfig(sdl2)
BuildRequires: bzip2-devel BuildRequires: pkgconfig(zlib)
BuildRequires: compat-lua-devel BuildRequires: pkgconfig(gbm)
BuildRequires: pkgconfig(jack)
BuildRequires: pkgconfig(lua-5.1)
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: ffmpeg-devel BuildRequires: ffmpeg-devel
BuildRequires: ffmpeg-libs BuildRequires: pkgconfig(lcms2)
BuildRequires: lcms2-devel BuildRequires: pkgconfig(libcdio)
BuildRequires: libcdio-devel BuildRequires: pkgconfig(libcdio_paranoia)
BuildRequires: libcdio-paranoia-devel BuildRequires: pkgconfig(gl)
BuildRequires: libGL-devel BuildRequires: pkgconfig(xscrnsaver)
BuildRequires: libXScrnSaver-devel BuildRequires: pkgconfig(xinerama)
BuildRequires: libXinerama-devel BuildRequires: pkgconfig(xv)
BuildRequires: libXv-devel BuildRequires: pkgconfig(libass)
BuildRequires: libass-devel BuildRequires: pkgconfig(libbluray)
BuildRequires: libbluray-devel BuildRequires: pkgconfig(dvdnav)
BuildRequires: libdvdnav-devel BuildRequires: pkgconfig(libguess)
BuildRequires: libguess-devel BuildRequires: pkgconfig(libquvi-0.9)
BuildRequires: libquvi-devel BuildRequires: pkgconfig(smbclient)
BuildRequires: libsmbclient-devel BuildRequires: pkgconfig(libva)
BuildRequires: libva-devel BuildRequires: pkgconfig(vdpau)
BuildRequires: libvdpau-devel BuildRequires: pkgconfig(wayland-client)
BuildRequires: libwayland-client-devel BuildRequires: pkgconfig(wayland-cursor)
BuildRequires: libwayland-cursor-devel BuildRequires: pkgconfig(wayland-egl)
BuildRequires: libwayland-server-devel BuildRequires: pkgconfig(xkbcommon)
BuildRequires: libxkbcommon-devel BuildRequires: pkgconfig(lirc)
BuildRequires: lirc-devel BuildRequires: pkgconfig(libpulse)
BuildRequires: mesa-libEGL-devel
BuildRequires: ncurses-devel
BuildRequires: perl-Encode
BuildRequires: pulseaudio-libs-devel
BuildRequires: python-docutils BuildRequires: python-docutils
BuildRequires: waf BuildRequires: waf
BuildRequires: wayland-devel BuildRequires: wayland-devel
BuildRequires: mesa-libEGL-devel
%if 0%{?fedora} >= 23 %if 0%{?fedora} >= 23
BuildRequires: perl-Math-BigInt BuildRequires: perl-Math-BigInt
@ -94,27 +93,18 @@ waf configure \
--mandir="%{_mandir}" \ --mandir="%{_mandir}" \
--docdir="%{_docdir}/%{name}" \ --docdir="%{_docdir}/%{name}" \
--confdir="%{_sysconfdir}/%{name}" \ --confdir="%{_sysconfdir}/%{name}" \
--disable-sdl1 --disable-sdl2 \
--disable-build-date \ --disable-build-date \
--enable-libmpv-shared --enable-libmpv-shared \
--enable-gpl3 \
--enable-sdl2
waf build --verbose %{?_smp_mflags} waf build --verbose %{?_smp_mflags}
%install %install
waf --destdir=%{buildroot} install %{?_smp_mflags} waf --destdir=%{buildroot} install %{?_smp_mflags}
# Default config files
install -Dpm 644 etc/example.conf %{buildroot}%{_sysconfdir}/%{name}/%{name}.conf
install -Dpm 644 etc/input.conf %{buildroot}%{_sysconfdir}/%{name}/input.conf
desktop-file-install etc/mpv.desktop desktop-file-install etc/mpv.desktop
for RES in 16 32 64; do
install -Dpm 644 etc/mpv-icon-8bit-${RES}x${RES}.png %{buildroot}%{_datadir}/icons/hicolor/${RES}x${RES}/apps/%{name}.png
done
install -Dpm 644 etc/%{name}-gradient.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/%{name}-gradient.svg
install -Dpm 644 etc/%{name}-symbolic.svg %{buildroot}%{_datadir}/icons/hicolor/symbolic/apps/%{name}-symbolic.svg install -Dpm 644 etc/%{name}-symbolic.svg %{buildroot}%{_datadir}/icons/hicolor/symbolic/apps/%{name}-symbolic.svg
install -Dpm 644 etc/%{name}.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
%post %post
update-desktop-database &>/dev/null || : update-desktop-database &>/dev/null || :
@ -125,12 +115,10 @@ update-desktop-database &> /dev/null || :
if [ $1 -eq 0 ] ; then if [ $1 -eq 0 ] ; then
touch --no-create %{_datadir}/icons/hicolor &>/dev/null touch --no-create %{_datadir}/icons/hicolor &>/dev/null
gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor &>/dev/null || : gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor &>/dev/null || :
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
fi fi
%posttrans %posttrans
gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor &>/dev/null || : gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor &>/dev/null || :
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
%post -n libmpv -p /sbin/ldconfig %post -n libmpv -p /sbin/ldconfig
@ -144,9 +132,7 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
%{_datadir}/icons/hicolor/*/apps/%{name}*.* %{_datadir}/icons/hicolor/*/apps/%{name}*.*
%{_mandir}/man1/%{name}.* %{_mandir}/man1/%{name}.*
%dir %{_sysconfdir}/%{name} %dir %{_sysconfdir}/%{name}
%config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf
%config(noreplace) %{_sysconfdir}/%{name}/encoding-profiles.conf %config(noreplace) %{_sysconfdir}/%{name}/encoding-profiles.conf
%config(noreplace) %{_sysconfdir}/%{name}/input.conf
%files -n libmpv %files -n libmpv
%doc LICENSE README.md Copyright %doc LICENSE README.md Copyright
@ -158,6 +144,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
%{_libdir}/pkgconfig/mpv.pc %{_libdir}/pkgconfig/mpv.pc
%changelog %changelog
* Thu Jan 21 2016 Evgeny Lensky <surfernsk@gmail.com> - 0.15.0-1
- update to 0.15.0
* Sat Dec 12 2015 Evgeny Lensky <surfernsk@gmail.com> - 0.14.0-1 * Sat Dec 12 2015 Evgeny Lensky <surfernsk@gmail.com> - 0.14.0-1
- update to 0.14.0 - update to 0.14.0
@ -314,4 +303,3 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
* Mon Aug 19 2013 Miro Hrončok <mhroncok@redhat.com> - 0.1.2-1 * Mon Aug 19 2013 Miro Hrončok <mhroncok@redhat.com> - 0.1.2-1
- Initial spec - Initial spec
- Inspired a lot in mplayer.spec - Inspired a lot in mplayer.spec

@ -1 +1 @@
9f78599b52d9e603f2481d36746ddd0c v0.14.0.tar.gz 9042bd3fbff2bc8ba0b7fadaa4a22101 v0.15.0.tar.gz

Loading…
Cancel
Save