2024-01-06 07:20:59 +01:00
|
|
|
Name: mpv
|
2024-01-06 07:21:01 +01:00
|
|
|
Version: 0.35.1
|
2024-01-06 07:21:00 +01:00
|
|
|
Release: 1mamba
|
2024-01-06 07:21:00 +01:00
|
|
|
Summary: A free (as in freedom) media player for the command line
|
2024-01-06 07:20:59 +01:00
|
|
|
Group: Applications/Multimedia
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-06 07:21:00 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 07:20:59 +01:00
|
|
|
URL: https://mpv.io/
|
2024-01-06 07:21:00 +01:00
|
|
|
Source: https://github.com/mpv-player/mpv.git/v%{version}/mpv-%{version}.tar.bz2
|
2024-01-06 07:20:59 +01:00
|
|
|
License: LGPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-06 07:21:00 +01:00
|
|
|
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
|
|
|
|
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
|
2024-01-06 07:21:00 +01:00
|
|
|
BuildRequires: libcdio-devel
|
|
|
|
BuildRequires: libcdio-paranoia-devel
|
2024-01-06 07:21:00 +01:00
|
|
|
BuildRequires: libdrm-devel
|
|
|
|
BuildRequires: libdvdnav-devel
|
|
|
|
BuildRequires: libdvdread-devel
|
2024-01-06 07:21:00 +01:00
|
|
|
BuildRequires: libfreetype-devel
|
2024-01-06 07:21:00 +01:00
|
|
|
BuildRequires: libglvnd-devel
|
2024-01-06 07:21:00 +01:00
|
|
|
BuildRequires: libjack-devel
|
|
|
|
BuildRequires: libjpeg-devel
|
|
|
|
BuildRequires: liblcms2-devel
|
2024-01-06 07:21:00 +01:00
|
|
|
BuildRequires: liblua-devel
|
2024-01-06 07:21:00 +01:00
|
|
|
BuildRequires: libmesa-devel
|
2024-01-06 07:21:00 +01:00
|
|
|
BuildRequires: libopenal-devel
|
2024-01-06 07:21:00 +01:00
|
|
|
BuildRequires: libpipewire-devel
|
2024-01-06 07:21:00 +01:00
|
|
|
BuildRequires: libpulseaudio-devel
|
2024-01-06 07:21:00 +01:00
|
|
|
BuildRequires: libreadline-devel
|
2024-01-06 07:21:00 +01:00
|
|
|
BuildRequires: librubberband-devel
|
|
|
|
BuildRequires: libswresample-ffmpeg-devel
|
|
|
|
BuildRequires: libswscale-ffmpeg-devel
|
2024-01-06 07:21:00 +01:00
|
|
|
BuildRequires: libuchardet-devel
|
2024-01-06 07:21:00 +01:00
|
|
|
BuildRequires: libva-devel
|
|
|
|
BuildRequires: libvdpau-devel
|
|
|
|
BuildRequires: libwayland-devel
|
|
|
|
BuildRequires: libwayland-egl-devel
|
|
|
|
BuildRequires: libxkbcommon-devel
|
2024-01-06 07:21:00 +01:00
|
|
|
BuildRequires: libxpresent-devel
|
2024-01-06 07:21:00 +01:00
|
|
|
BuildRequires: libz-devel
|
2024-01-06 07:20:59 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description
|
2024-01-06 07:21:00 +01:00
|
|
|
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.
|
2024-01-06 07:20:59 +01:00
|
|
|
|
|
|
|
%package -n lib%{name}
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: Shared libraries for %{name}
|
|
|
|
|
|
|
|
%description -n lib%{name}
|
|
|
|
This package contains shared libraries for %{name}.
|
|
|
|
|
2024-01-06 07:21:00 +01:00
|
|
|
%package -n lib%{name}-devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for lib%{name}
|
2024-01-06 07:21:00 +01:00
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
2024-01-06 07:21:00 +01:00
|
|
|
|
|
|
|
%description -n lib%{name}-devel
|
|
|
|
This package contains development files for lib%{name}.
|
2024-01-06 07:20:59 +01:00
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
2024-01-06 07:21:00 +01:00
|
|
|
%setup -q
|
|
|
|
./bootstrap.py
|
2024-01-06 07:20:59 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
./waf configure \
|
2024-01-06 07:21:00 +01:00
|
|
|
--prefix=%{_prefix} \
|
|
|
|
--libdir=%{_libdir} \
|
|
|
|
--confdir=%{_sysconfdir}/mpv \
|
|
|
|
--enable-alsa \
|
|
|
|
--enable-cdda \
|
|
|
|
--enable-cplugins \
|
|
|
|
--enable-dvb \
|
|
|
|
--enable-dvdnav \
|
|
|
|
--enable-iconv \
|
|
|
|
--enable-jack \
|
|
|
|
--enable-lcms2 \
|
|
|
|
--enable-libavdevice \
|
|
|
|
--enable-libbluray \
|
|
|
|
--enable-libarchive \
|
|
|
|
--enable-libmpv-shared \
|
|
|
|
--enable-manpage-build \
|
|
|
|
--enable-openal \
|
|
|
|
--enable-pulse \
|
|
|
|
--enable-rubberband \
|
|
|
|
--enable-sdl2 \
|
|
|
|
--enable-drm \
|
|
|
|
--enable-gbm \
|
|
|
|
--enable-wayland \
|
|
|
|
--enable-x11 \
|
|
|
|
--enable-xv \
|
|
|
|
--enable-gl-x11 \
|
|
|
|
--enable-egl-x11 \
|
|
|
|
--enable-egl-drm \
|
|
|
|
--enable-gl-wayland \
|
|
|
|
--enable-vdpau \
|
|
|
|
--enable-vdpau-gl-x11 \
|
|
|
|
--enable-vaapi \
|
|
|
|
--enable-vaapi-x11 \
|
|
|
|
--enable-vaapi-wayland \
|
|
|
|
--enable-vaapi-drm \
|
|
|
|
--enable-vaapi-x-egl \
|
|
|
|
--enable-caca \
|
|
|
|
--enable-jpeg \
|
|
|
|
--enable-plain-gl \
|
|
|
|
--enable-gl \
|
|
|
|
--enable-dvbin \
|
|
|
|
--disable-build-date
|
2024-01-06 07:21:00 +01:00
|
|
|
|
2024-01-06 07:20:59 +01:00
|
|
|
./waf build
|
|
|
|
|
2024-01-06 07:21:00 +01:00
|
|
|
|
2024-01-06 07:20:59 +01:00
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-06 07:21:00 +01:00
|
|
|
./waf install --destdir=%{buildroot}
|
|
|
|
|
|
|
|
install -d -m0755 %{buildroot}%{_datadir}/mpv/scripts
|
|
|
|
install -D -m0644 TOOLS/lua/* %{buildroot}%{_datadir}/mpv/scripts/
|
2024-01-06 07:20:59 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -n lib%{name} -p /sbin/ldconfig
|
|
|
|
%postun -n lib%{name} -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 07:21:00 +01:00
|
|
|
%dir %{_sysconfdir}/mpv
|
|
|
|
%config(noreplace) %{_sysconfdir}/mpv/encoding-profiles.conf
|
2024-01-06 07:20:59 +01:00
|
|
|
%{_bindir}/mpv
|
2024-01-06 07:21:00 +01:00
|
|
|
%{_datadir}/applications/mpv.desktop
|
2024-01-06 07:21:00 +01:00
|
|
|
%{_datadir}/metainfo/mpv.metainfo.xml
|
2024-01-06 07:21:00 +01:00
|
|
|
%{_datadir}/bash-completion/completions/mpv
|
|
|
|
%{_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/*
|
|
|
|
%{_datadir}/zsh/site-functions/_mpv
|
2024-01-06 07:21:00 +01:00
|
|
|
%dir %{_datadir}/doc/mpv
|
|
|
|
%{_datadir}/doc/mpv/*
|
|
|
|
%{_mandir}/man1/mpv.1*
|
|
|
|
%doc LICENSE.GPL
|
2024-01-06 07:20:59 +01:00
|
|
|
|
|
|
|
%files -n lib%{name}
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libmpv.so.*
|
2024-01-06 07:21:00 +01:00
|
|
|
%doc LICENSE.LGPL
|
|
|
|
|
|
|
|
%files -n lib%{name}-devel
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 07:21:00 +01:00
|
|
|
%dir %{_includedir}/mpv
|
|
|
|
%{_includedir}/mpv/*.h
|
2024-01-06 07:21:00 +01:00
|
|
|
%{_libdir}/libmpv.so
|
2024-01-06 07:20:59 +01:00
|
|
|
%{_libdir}/pkgconfig/mpv.pc
|
|
|
|
%doc README.md
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 07:21:01 +01:00
|
|
|
* Sun Jan 29 2023 Automatic Build System <autodist@mambasoft.it> 0.35.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:21:00 +01:00
|
|
|
* Tue Nov 22 2022 Automatic Build System <autodist@mambasoft.it> 0.35.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:21:00 +01:00
|
|
|
* Tue Jan 04 2022 Automatic Build System <autodist@mambasoft.it> 0.34.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:21:00 +01:00
|
|
|
* Tue Nov 02 2021 Automatic Build System <autodist@mambasoft.it> 0.34.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:21:00 +01:00
|
|
|
* Tue Apr 06 2021 Automatic Build System <autodist@mambasoft.it> 0.33.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:21:00 +01:00
|
|
|
* Sun Feb 21 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.33.0-2mamba
|
|
|
|
- specfile reworked to fix errors and install headers
|
|
|
|
|
2024-01-06 07:21:00 +01:00
|
|
|
* Mon Jan 25 2021 Automatic Build System <autodist@mambasoft.it> 0.33.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:21:00 +01:00
|
|
|
* Tue May 12 2020 Automatic Build System <autodist@mambasoft.it> 0.32.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:20:59 +01:00
|
|
|
* Mon Apr 17 2017 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 0.24.0-1mamba
|
|
|
|
- package created using the webbuild interface
|