automatic version update by autodist [release 0.32.0-1mamba;Tue May 12 2020]

This commit is contained in:
Automatic Build System 2024-01-06 07:21:00 +01:00
parent 462590aa46
commit 807d598f9b
2 changed files with 67 additions and 46 deletions

View File

@ -1,4 +1,5 @@
# mpv # 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.

108
mpv.spec
View File

@ -1,7 +1,7 @@
Name: mpv Name: mpv
Version: 0.24.0 Version: 0.32.0
Release: 1mamba Release: 1mamba
Summary: a fork of mplayer2 and MPlayer Summary: A free (as in freedom) media player for the command line
Group: Applications/Multimedia Group: Applications/Multimedia
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
@ -10,13 +10,52 @@ URL: https://mpv.io/
Source: https://github.com/mpv-player/mpv/archive/v%{version}.zip Source: https://github.com/mpv-player/mpv/archive/v%{version}.zip
License: LGPL License: LGPL
## AUTOBUILDREQ-BEGIN ## 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 ## AUTOBUILDREQ-END
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %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} %package -n lib%{name}
Group: System/Libraries Group: System/Libraries
@ -25,6 +64,12 @@ Summary: Shared libraries for %{name}
%description -n lib%{name} %description -n lib%{name}
This package contains shared libraries for %{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 %debug_package
@ -53,34 +98,26 @@ This package contains shared libraries for %{name}.
--disable-pdf-build \ --disable-pdf-build \
\ \
--enable-cplugins \ --enable-cplugins \
--enable-vf-dlopen-filters \
--enable-zsh-comp \
--disable-test \ --disable-test \
--disable-clang-database \ --disable-clang-database \
\ \
--disable-win32-internal-pthreads \ --disable-win32-internal-pthreads \
--enable-iconv \ --enable-iconv \
--enable-termios \
--enable-shm \
--enable-libsmbclient \ --enable-libsmbclient \
--disable-lua \ --disable-lua \
--enable-libass \ --enable-libass \
--enable-libass-osd \ --enable-libass-osd \
--enable-encoding \
--enable-libbluray \ --enable-libbluray \
--enable-dvdread \
--enable-dvdnav \ --enable-dvdnav \
--disable-cdda \ --disable-cdda \
--disable-uchardet \ --disable-uchardet \
--enable-rubberband \ --enable-rubberband \
--enable-lcms2 \ --enable-lcms2 \
--disable-vapoursynth \ --disable-vapoursynth \
--disable-vapoursynth-lazy \
--enable-libarchive \ --enable-libarchive \
--enable-libavdevice \ --enable-libavdevice \
\ \
--enable-sdl2 \ --enable-sdl2 \
--disable-sdl1 \
--enable-oss-audio \ --enable-oss-audio \
--disable-rsound \ --disable-rsound \
--disable-sndio \ --disable-sndio \
@ -98,11 +135,7 @@ This package contains shared libraries for %{name}.
--enable-gbm \ --enable-gbm \
--enable-wayland \ --enable-wayland \
--enable-x11 \ --enable-x11 \
--enable-xss \
--enable-xext \
--enable-xv \ --enable-xv \
--enable-xinerama \
--enable-xrandr \
--disable-gl-cocoa \ --disable-gl-cocoa \
--enable-gl-x11 \ --enable-gl-x11 \
--enable-egl-x11 \ --enable-egl-x11 \
@ -118,35 +151,21 @@ This package contains shared libraries for %{name}.
--enable-vaapi-x11 \ --enable-vaapi-x11 \
--enable-vaapi-wayland \ --enable-vaapi-wayland \
--enable-vaapi-drm \ --enable-vaapi-drm \
--enable-vaapi-glx \
--enable-vaapi-x-egl \ --enable-vaapi-x-egl \
--enable-caca \ --enable-caca \
--enable-jpeg \ --enable-jpeg \
--disable-direct3d \ --disable-direct3d \
--disable-android \ --disable-android \
--disable-rpi \ --disable-rpi \
--enable-standard-gl \
--disable-android-gl \
--disable-ios-gl \ --disable-ios-gl \
--enable-any-gl \
--enable-plain-gl \ --enable-plain-gl \
--disable-mali-fbdev \
--enable-gl \ --enable-gl \
\ \
--enable-vaapi-hwaccel \
--disable-vaapi-hwaccel-new \
--disable-videotoolbox-hwaccel \
--disable-videotoolbox-gl \ --disable-videotoolbox-gl \
--enable-vdpau-hwaccel \
--disable-d3d-hwaccel \ --disable-d3d-hwaccel \
--disable-cuda-hwaccel \ --disable-cuda-hwaccel \
\ \
--enable-tv \ --enable-dvbin
--enable-tv-v4l2 \
--enable-libv4l2 \
--enable-audio-input \
--enable-dvbin \
--disable-apple-remote
./waf build ./waf build
@ -154,7 +173,6 @@ This package contains shared libraries for %{name}.
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
./waf install ./waf install
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -165,25 +183,27 @@ This package contains shared libraries for %{name}.
%defattr(-,root,root) %defattr(-,root,root)
%{_sysconfdir}/mpv/encoding-profiles.conf %{_sysconfdir}/mpv/encoding-profiles.conf
%{_bindir}/mpv %{_bindir}/mpv
%{_datadir}/doc/mpv/input.conf %dir %{_datadir}/doc/mpv
%{_datadir}/doc/mpv/mplayer-input.conf %{_datadir}/doc/mpv/*
%{_datadir}/doc/mpv/mpv.conf %{_mandir}/man1/mpv.1*
%{_datadir}/doc/mpv/restore-old-bindings.conf %doc LICENSE.GPL
%{_mandir}/man1/mpv.1.gz
## note: this list is just an example; modify as required
# %{_bindir}/%{name}
# %{_mandir}/man1/%{name}.*
%doc LICENSE
%files -n lib%{name} %files -n lib%{name}
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libmpv.so
%{_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 %{_libdir}/pkgconfig/mpv.pc
%doc README.md %doc README.md
%changelog %changelog
* Tue May 12 2020 Automatic Build System <autodist@mambasoft.it> 0.32.0-1mamba
- automatic version update by autodist
* Mon Apr 17 2017 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 0.24.0-1mamba * Mon Apr 17 2017 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 0.24.0-1mamba
- package created using the webbuild interface - package created using the webbuild interface