]> git.pld-linux.org Git - packages/mpv.git/blobdiff - mpv.spec
- release 3 (by relup.sh)
[packages/mpv.git] / mpv.spec
index 63aa2bb7cc28d272ad09ca151b8126798d3b0ca9..553007e78f6f1e3d02d5445b77be91da9febf525 100644 (file)
--- a/mpv.spec
+++ b/mpv.spec
@@ -1,22 +1,23 @@
 Summary:       Movie player based on MPlayer and mplayer2
+Summary(pl.UTF-8):     Odtwarzacz filmów oparty na projektach MPlayer i mplayer2
 Name:          mpv
-Version:       0.12.0
-Release:       1
+Version:       0.29.1
+Release:       3
 License:       GPL v2+
 Group:         Applications/Multimedia
-Source0:       http://github.com/mpv-player/mpv/archive/v%{version}.tar.gz?/%{name}-%{version}.tar.gz
-# Source0-md5: a3135f6227e28191cf620b3f2ea250d1
+#Source0Download: http://github.com/mpv-player/mpv/releases
+Source0:       http://github.com/mpv-player/mpv/archive/v%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: 2cd070c6aed980786177b7cb5b73664b
 Source1:       %{name}.conf
 Patch0:                %{name}-lua.patch
 URL:           http://mpv.io/
-BuildRequires: Mesa-libwayland-egl-devel >= 9.0.0
+BuildRequires: Mesa-libEGL-devel >= 9.0.0
 BuildRequires: OpenAL-devel >= 1.13
 BuildRequires: OpenGL-devel
-BuildRequires: SDL-devel
-BuildRequires: alsa-lib-devel
+BuildRequires: SDL2-devel
+BuildRequires: alsa-lib-devel >= 1.0.18
 BuildRequires: docutils
-BuildRequires: enca-devel
-BuildRequires: ffmpeg-devel >= 2.4.0
+BuildRequires: ffmpeg-devel >= 4.0
 BuildRequires: jack-audio-connection-kit-devel
 BuildRequires: lcms2-devel >= 2.6
 BuildRequires: libass-devel >= 0.12.1
@@ -24,47 +25,55 @@ BuildRequires:      libass-devel >= 0.12.1
 BuildRequires: libatomic-devel
 %endif
 BuildRequires: libbluray-devel >= 0.3.0
-BuildRequires: libcaca-devel >= 0.99
+BuildRequires: libcaca-devel >= 0.99-0.beta18.1
 BuildRequires: libcdio-paranoia-devel
 BuildRequires: libdvdnav-devel >= 4.2.0
 BuildRequires: libdvdread-devel >= 4.1.0
-BuildRequires: libguess-devel
 BuildRequires: libjpeg-devel
 BuildRequires: libsmbclient-devel
 BuildRequires: libv4l-devel
-BuildRequires: libva-devel >= 1.2.0
-BuildRequires: libva-glx-devel >= 1.2.0
+BuildRequires: libva-devel >= 1.4.0
+BuildRequires: libva-glx-devel >= 1.4.0
 BuildRequires: libvdpau-devel >= 0.2
 BuildRequires: lua51-devel
 BuildRequires: pkgconfig
-BuildRequires: pulseaudio-devel >= 0.9
+BuildRequires: pulseaudio-devel >= 1.0
 BuildRequires: rpmbuild(macros) >= 1.336
+BuildRequires: uchardet-devel
 BuildRequires: waf >= 1.8.12
-BuildRequires: wayland-devel >= 1.3.0
-BuildRequires: xorg-lib-libX11-devel
-BuildRequires: xorg-lib-libXScrnSaver-devel
+BuildRequires: wayland-devel >= 1.6.0
+BuildRequires: wayland-egl-devel
+BuildRequires: wayland-protocols >= 1.14
+BuildRequires: xorg-lib-libX11-devel >= 1.0.0
+BuildRequires: xorg-lib-libXScrnSaver-devel >= 1.0.0
 BuildRequires: xorg-lib-libXdamage-devel
-BuildRequires: xorg-lib-libXext-devel
-BuildRequires: xorg-lib-libXinerama-devel
+BuildRequires: xorg-lib-libXext-devel >= 1.0.0
+BuildRequires: xorg-lib-libXinerama-devel >= 1.0.0
+BuildRequires: xorg-lib-libXrandr-devel >= 1.2.0
 BuildRequires: xorg-lib-libXv-devel
 BuildRequires: xorg-lib-libXxf86vm-devel
 BuildRequires: xorg-lib-libxkbcommon-devel >= 0.3.0
 BuildRequires: xorg-proto-xproto-devel
-Requires:      Mesa-libwayland-egl >= 9.0.0
 Requires:      OpenAL >= 1.13
 Requires:      OpenGL
-Requires:      ffmpeg-libs >= 2.4.0
+Requires:      alsa-lib >= 1.0.18
+%requires_eq   ffmpeg-libs
 Requires:      lcms2 >= 2.6
 Requires:      libass >= 0.12.1
 Requires:      libbluray >= 0.3.0
-Requires:      libcaca >= 0.99
+Requires:      libcaca >= 0.99-0.beta18.1
 Requires:      libdvdnav >= 4.2.0
 Requires:      libdvdread >= 4.1.0
-Requires:      libva >= 1.2.0
-Requires:      libva-glx >= 1.2.0
+Requires:      libva >= 1.4.0
+Requires:      libva-glx >= 1.4.0
 Requires:      libvdpau >= 0.2
 Requires:      pulseaudio-libs >= 1.0
 Requires:      wayland >= 1.6.0
+Requires:      xorg-lib-libX11 >= 1.0.0
+Requires:      xorg-lib-libXScrnSaver >= 1.0.0
+Requires:      xorg-lib-libXext >= 1.0.0
+Requires:      xorg-lib-libXinerama >= 1.0.0
+Requires:      xorg-lib-libXrandr >= 1.2.0
 Requires:      xorg-lib-libxkbcommon >= 0.3.0
 Suggests:      youtube-dl >= 2:20150223
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -76,28 +85,43 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %description
 Movie player based on MPlayer and mplayer2.
 
+%description -l pl.UTF-8
+Odtwarzacz filmów oparty na projektach MPlayer i mplayer2.
+
 %package client-libs
 Summary:       Client library for controlling mpv
-Group:         Development/Libraries
+Summary(pl.UTF-8):     Biblioteka kliencka do sterowania odtwarzaczem mpv
+Group:         Libraries
 
 %description client-libs
 Client library for controlling mpv.
 
+%description client-libs -l pl.UTF-8
+Biblioteka kliencka do sterowania odtwarzaczem mpv.
+
 %package client-devel
 Summary:       Development files for mpv client library
+Summary(pl.UTF-8):     Pliki programistyczne biblioteki klienckiej mpv
 Group:         Development/Libraries
 Requires:      %{name}-client-libs = %{version}-%{release}
 
 %description client-devel
 Development files for mpv client library.
 
+%description client-devel -l pl.UTF-8
+Pliki programistyczne biblioteki klienckiej mpv.
+
 %package -n zsh-completion-mpv
-Summary:       zsh-completion for mpv
+Summary:       ZSH completion for mpv
+Summary(pl.UTF-8):     Dopełnianie parametrów mpv dla powłoki ZSH
 Group:         Applications/Shells
 Requires:      %{name} = %{version}-%{release}
 
 %description -n zsh-completion-mpv
-zsh-completion for mpv.
+ZSH completion for mpv.
+
+%description -n zsh-completion-mpv -l pl.UTF-8
+Dopełnianie parametrów mpv dla powłoki ZSH.
 
 %prep
 %setup -q
@@ -116,12 +140,11 @@ zsh-completion for mpv.
                --enable-audio-input \
                --enable-caca \
                --enable-cdda \
+               --enable-cplugins \
                --enable-dvb \
                --enable-dvbin \
                --enable-dvdnav \
                --enable-dvdread \
-               --enable-enca \
-               --enable-encoding \
                --enable-gl-wayland \
                --enable-gl-x11 \
                --enable-iconv \
@@ -131,32 +154,23 @@ zsh-completion for mpv.
                --enable-libass \
                --enable-libass-osd \
                --enable-libavdevice \
-               --enable-libavfilter \
                --enable-libbluray \
-               --enable-libguess \
                --enable-libmpv-shared \
                --enable-libsmbclient \
-               --enable-libswresample \
                --enable-libv4l2 \
                --enable-openal \
                --enable-oss-audio \
                --enable-pulse \
-               --enable-pvr \
-               --enable-sdl1 \
-               --enable-shm \
+               --enable-sdl2 \
                --enable-tv \
                --enable-tv-v4l2 \
+               --enable-uchardet \
                --enable-vaapi \
                --enable-vaapi-glx \
-               --enable-vaapi-hwaccel \
                --enable-vdpau \
                --enable-vdpau-gl-x11 \
-               --enable-vdpau-hwaccel \
                --enable-wayland \
                --enable-x11 \
-               --enable-xext \
-               --enable-xinerama \
-               --enable-xss \
                --enable-xv \
                --enable-zsh-comp \
                --lua=51pld \
@@ -177,15 +191,20 @@ cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/mpv
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post  client-libs -p /sbin/ldconfig
+%postun        client-libs -p /sbin/ldconfig
+
 %files
 %defattr(644,root,root,755)
-%doc README.md RELEASE_NOTES etc/example.conf etc/input.conf etc/mplayer-input.conf etc/restore-old-bindings.conf
+%doc README.md RELEASE_NOTES etc/input.conf etc/mplayer-input.conf etc/mpv.conf etc/restore-old-bindings.conf
 %dir %{_sysconfdir}/mpv
-%{_sysconfdir}/mpv/encoding-profiles.conf
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mpv/encoding-profiles.conf
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mpv/mpv.conf
 %attr(755,root,root) %{_bindir}/%{name}
 %{_desktopdir}/mpv.desktop
 %{_iconsdir}/hicolor/*/apps/mpv.png
+%{_iconsdir}/hicolor/scalable/apps/mpv.svg
+%{_iconsdir}/hicolor/symbolic/apps/mpv-symbolic.svg
 %{_mandir}/man1/mpv.1*
 
 %files client-libs
This page took 0.196149 seconds and 4 git commands to generate.