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