automatic version update by autodist [release 0.37.0-1mamba;Wed Mar 20 2024]

This commit is contained in:
Automatic Build System 2024-03-22 17:03:00 +01:00
parent 9d5c985774
commit e958fedf54

View File

@ -1,5 +1,5 @@
Name: mpv
Version: 0.36.0
Version: 0.37.0
Release: 1mamba
Summary: A free (as in freedom) media player for the command line
Group: Applications/Multimedia
@ -11,11 +11,9 @@ Source: https://github.com/mpv-player/mpv.git/v%{version}/mpv-%{version}.
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-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
@ -27,7 +25,6 @@ BuildRequires: libavfilter-ffmpeg-devel
BuildRequires: libavformat-ffmpeg-devel
BuildRequires: libavutil-ffmpeg-devel
BuildRequires: libbluray-devel
BuildRequires: libcaca-devel
BuildRequires: libcdio-devel
BuildRequires: libcdio-paranoia-devel
BuildRequires: libdrm-devel
@ -38,23 +35,30 @@ BuildRequires: libjack-devel
BuildRequires: libjpeg-devel
BuildRequires: liblcms2-devel
BuildRequires: liblua-devel
BuildRequires: liblua52-devel
BuildRequires: libmesa-devel
BuildRequires: libopenal-devel
BuildRequires: libpipewire-devel
BuildRequires: libplacebo-devel
BuildRequires: libpulseaudio-devel
BuildRequires: libreadline-devel
BuildRequires: librubberband-devel
BuildRequires: libshaderc-devel
BuildRequires: libsndio-devel
BuildRequires: libswresample-ffmpeg-devel
BuildRequires: libswscale-ffmpeg-devel
BuildRequires: libuchardet-devel
BuildRequires: libva-devel
BuildRequires: libvdpau-devel
BuildRequires: libvulkan-devel
BuildRequires: libwayland-devel
BuildRequires: libwayland-egl-devel
BuildRequires: libxkbcommon-devel
BuildRequires: libxpresent-devel
BuildRequires: libz-devel
BuildRequires: wayland-protocols
## AUTOBUILDREQ-END
BuildRequires: libplacebo-devel
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description
@ -80,9 +84,21 @@ This package contains development files for lib%{name}.
%prep
%setup -q
./bootstrap.py
%build
%meson \
--auto-features auto \
-Dlibmpv=true \
-Dcaca=disabled \
-Dcdda=enabled \
-Ddvbin=enabled \
-Ddvdnav=enabled \
-Dlibarchive=enabled \
-Dopenal=enabled
%meson_build
:<< __OLD
./waf configure \
--prefix=%{_prefix} \
--libdir=%{_libdir} \
@ -128,14 +144,14 @@ This package contains development files for lib%{name}.
--disable-build-date
./waf build
__OLD
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
./waf install --destdir=%{buildroot}
%meson_install
install -d -m0755 %{buildroot}%{_datadir}/mpv/scripts
install -D -m0644 TOOLS/lua/* %{buildroot}%{_datadir}/mpv/scripts/
#install -d -m0755 %{buildroot}%{_datadir}/mpv/scripts
#install -D -m0644 TOOLS/lua/* %{buildroot}%{_datadir}/mpv/scripts/
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -154,9 +170,9 @@ install -D -m0644 TOOLS/lua/* %{buildroot}%{_datadir}/mpv/scripts/
%{_datadir}/icons/hicolor/*/apps/mpv.png
%{_datadir}/icons/hicolor/scalable/apps/mpv.svg
%{_datadir}/icons/hicolor/symbolic/apps/mpv-symbolic.svg
%dir %{_datadir}/mpv
%dir %{_datadir}/mpv/scripts
%{_datadir}/mpv/scripts/*
#%dir %{_datadir}/mpv
#%dir %{_datadir}/mpv/scripts
#%{_datadir}/mpv/scripts/*
%{_datadir}/zsh/site-functions/_mpv
%dir %{_datadir}/doc/mpv
%{_datadir}/doc/mpv/*
@ -177,6 +193,9 @@ install -D -m0644 TOOLS/lua/* %{buildroot}%{_datadir}/mpv/scripts/
%doc README.md
%changelog
* Wed Mar 20 2024 Automatic Build System <autodist@openmamba.org> 0.37.0-1mamba
- automatic version update by autodist
* Mon Jul 24 2023 Automatic Build System <autodist@mambasoft.it> 0.36.0-1mamba
- automatic version update by autodist