From 807d598f9be148376d5ab42c2a3eafe5747fca28 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 07:21:00 +0100 Subject: [PATCH] automatic version update by autodist [release 0.32.0-1mamba;Tue May 12 2020] --- README.md | 3 +- mpv.spec | 110 ++++++++++++++++++++++++++++++++---------------------- 2 files changed, 67 insertions(+), 46 deletions(-) diff --git a/README.md b/README.md index a7e30a2..a1a5e96 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ # mpv -mpv is a fork of mplayer2 and MPlayer. It shares some features with the former projects while introducing many more. +mpv is a free (as in freedom) media player for the command line. +It is a fork of mplayer2 and MPlayer. It shares some features with the former projects while introducing many more. diff --git a/mpv.spec b/mpv.spec index 3e8d310..a1afa0d 100644 --- a/mpv.spec +++ b/mpv.spec @@ -1,7 +1,7 @@ Name: mpv -Version: 0.24.0 +Version: 0.32.0 Release: 1mamba -Summary: a fork of mplayer2 and MPlayer +Summary: A free (as in freedom) media player for the command line Group: Applications/Multimedia Vendor: openmamba Distribution: openmamba @@ -10,13 +10,52 @@ URL: https://mpv.io/ Source: https://github.com/mpv-player/mpv/archive/v%{version}.zip License: LGPL ## AUTOBUILDREQ-BEGIN -## note: run 'autospec -u -a6 mpv' to get the list of build requirements. +BuildRequires: glibc-devel +BuildRequires: ldconfig +BuildRequires: libGL-devel +BuildRequires: libSDL2-devel +BuildRequires: libX11-devel +BuildRequires: libXScrnSaver-devel +BuildRequires: libXext-devel +BuildRequires: libXinerama-devel +BuildRequires: libXrandr-devel +BuildRequires: libXv-devel +BuildRequires: libalsa-devel +BuildRequires: libarchive-devel +BuildRequires: libass-devel +BuildRequires: libavcodec-ffmpeg-devel +BuildRequires: libavdevice-ffmpeg-devel +BuildRequires: libavfilter-ffmpeg-devel +BuildRequires: libavformat-ffmpeg-devel +BuildRequires: libavutil-ffmpeg-devel +BuildRequires: libbluray-devel +BuildRequires: libcaca-devel +BuildRequires: libdrm-devel +BuildRequires: libdvdnav-devel +BuildRequires: libdvdread-devel +BuildRequires: libgbm-devel +BuildRequires: libjack-devel +BuildRequires: libjpeg-devel +BuildRequires: liblcms2-devel +BuildRequires: libopenal-devel +BuildRequires: libpulseaudio-devel +BuildRequires: librubberband-devel +BuildRequires: libsmbclient-devel +BuildRequires: libswresample-ffmpeg-devel +BuildRequires: libswscale-ffmpeg-devel +BuildRequires: libva-devel +BuildRequires: libvdpau-devel +BuildRequires: libwayland-devel +BuildRequires: libwayland-egl-devel +BuildRequires: libxkbcommon-devel +BuildRequires: libz-devel ## AUTOBUILDREQ-END Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} BuildRoot: %{_tmppath}/%{name}-%{version}-root %description -mpv is a fork of mplayer2 and MPlayer. It shares some features with the former projects while introducing many more. +mpv is a free (as in freedom) media player for the command line. +It is a fork of mplayer2 and MPlayer. It shares some features with the former projects while introducing many more. %package -n lib%{name} Group: System/Libraries @@ -25,6 +64,12 @@ Summary: Shared libraries for %{name} %description -n lib%{name} This package contains shared libraries for %{name}. +%package -n lib%{name}-devel +Group: Development/Libraries +Summary: Development files for lib%{name} + +%description -n lib%{name}-devel +This package contains development files for lib%{name}. %debug_package @@ -53,34 +98,26 @@ This package contains shared libraries for %{name}. --disable-pdf-build \ \ --enable-cplugins \ - --enable-vf-dlopen-filters \ - --enable-zsh-comp \ --disable-test \ --disable-clang-database \ \ --disable-win32-internal-pthreads \ --enable-iconv \ - --enable-termios \ - --enable-shm \ --enable-libsmbclient \ --disable-lua \ --enable-libass \ --enable-libass-osd \ - --enable-encoding \ --enable-libbluray \ - --enable-dvdread \ --enable-dvdnav \ --disable-cdda \ --disable-uchardet \ --enable-rubberband \ --enable-lcms2 \ --disable-vapoursynth \ - --disable-vapoursynth-lazy \ --enable-libarchive \ --enable-libavdevice \ \ --enable-sdl2 \ - --disable-sdl1 \ --enable-oss-audio \ --disable-rsound \ --disable-sndio \ @@ -98,11 +135,7 @@ This package contains shared libraries for %{name}. --enable-gbm \ --enable-wayland \ --enable-x11 \ - --enable-xss \ - --enable-xext \ --enable-xv \ - --enable-xinerama \ - --enable-xrandr \ --disable-gl-cocoa \ --enable-gl-x11 \ --enable-egl-x11 \ @@ -118,43 +151,28 @@ This package contains shared libraries for %{name}. --enable-vaapi-x11 \ --enable-vaapi-wayland \ --enable-vaapi-drm \ - --enable-vaapi-glx \ --enable-vaapi-x-egl \ --enable-caca \ --enable-jpeg \ --disable-direct3d \ --disable-android \ --disable-rpi \ - --enable-standard-gl \ - --disable-android-gl \ --disable-ios-gl \ - --enable-any-gl \ --enable-plain-gl \ - --disable-mali-fbdev \ --enable-gl \ \ - --enable-vaapi-hwaccel \ - --disable-vaapi-hwaccel-new \ - --disable-videotoolbox-hwaccel \ --disable-videotoolbox-gl \ - --enable-vdpau-hwaccel \ --disable-d3d-hwaccel \ --disable-cuda-hwaccel \ \ - --enable-tv \ - --enable-tv-v4l2 \ - --enable-libv4l2 \ - --enable-audio-input \ - --enable-dvbin \ - --disable-apple-remote - + --enable-dvbin + ./waf build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" ./waf install - %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" @@ -165,25 +183,27 @@ This package contains shared libraries for %{name}. %defattr(-,root,root) %{_sysconfdir}/mpv/encoding-profiles.conf %{_bindir}/mpv -%{_datadir}/doc/mpv/input.conf -%{_datadir}/doc/mpv/mplayer-input.conf -%{_datadir}/doc/mpv/mpv.conf -%{_datadir}/doc/mpv/restore-old-bindings.conf -%{_mandir}/man1/mpv.1.gz -## note: this list is just an example; modify as required -# %{_bindir}/%{name} -# %{_mandir}/man1/%{name}.* -%doc LICENSE +%dir %{_datadir}/doc/mpv +%{_datadir}/doc/mpv/* +%{_mandir}/man1/mpv.1* +%doc LICENSE.GPL %files -n lib%{name} %defattr(-,root,root) -%{_libdir}/libmpv.so %{_libdir}/libmpv.so.* -%{_libdir}/mpv/*.so +#%dir %{_libdir}/mpv +#%{_libdir}/mpv/*.so +%doc LICENSE.LGPL + +%files -n lib%{name}-devel +%defattr(-,root,root) +%{_libdir}/libmpv.so %{_libdir}/pkgconfig/mpv.pc %doc README.md - %changelog +* Tue May 12 2020 Automatic Build System 0.32.0-1mamba +- automatic version update by autodist + * Mon Apr 17 2017 Ercole 'ercolinux' Carpanetto 0.24.0-1mamba - package created using the webbuild interface