2024-01-06 07:20:59 +01:00
|
|
|
Name: mpv
|
2024-01-06 07:21:00 +01:00
|
|
|
Version: 0.33.0
|
2024-01-06 07:20:59 +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
|
|
|
|
Packager: Ercole 'ercolinux' Carpanetto <ercole69@gmail.com>
|
|
|
|
URL: https://mpv.io/
|
|
|
|
Source: https://github.com/mpv-player/mpv/archive/v%{version}.zip
|
|
|
|
License: LGPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-06 07:21:00 +01:00
|
|
|
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
|
2024-01-06 07:20:59 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%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}
|
|
|
|
|
|
|
|
%description -n lib%{name}-devel
|
|
|
|
This package contains development files for lib%{name}.
|
2024-01-06 07:20:59 +01:00
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{name}-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
./bootstrap.py
|
|
|
|
./waf configure \
|
|
|
|
--color=yes \
|
|
|
|
--bindir=%{buildroot}%{_bindir} \
|
|
|
|
--mandir=%{buildroot}%{_mandir} \
|
|
|
|
--libdir=%{buildroot}%{_libdir} \
|
|
|
|
--docdir=%{buildroot}%{_docdir}/%{name} \
|
|
|
|
--confdir=%{buildroot}%{_sysconfdir}/%{name} \
|
|
|
|
--prefix=%{buildroot}usr \
|
|
|
|
--progress \
|
|
|
|
\
|
|
|
|
--enable-libmpv-shared \
|
|
|
|
--disable-libmpv-static \
|
|
|
|
--disable-static-build \
|
|
|
|
--disable-debug-build \
|
|
|
|
\
|
|
|
|
--enable-manpage-build \
|
|
|
|
--disable-html-build \
|
|
|
|
--disable-pdf-build \
|
|
|
|
\
|
|
|
|
--enable-cplugins \
|
|
|
|
--disable-test \
|
|
|
|
--disable-clang-database \
|
|
|
|
\
|
|
|
|
--disable-win32-internal-pthreads \
|
|
|
|
--enable-iconv \
|
|
|
|
--disable-lua \
|
|
|
|
--enable-libbluray \
|
|
|
|
--enable-dvdnav \
|
|
|
|
--disable-cdda \
|
|
|
|
--disable-uchardet \
|
|
|
|
--enable-rubberband \
|
|
|
|
--enable-lcms2 \
|
|
|
|
--disable-vapoursynth \
|
|
|
|
--enable-libarchive \
|
|
|
|
--enable-libavdevice \
|
|
|
|
\
|
|
|
|
--enable-sdl2 \
|
|
|
|
--enable-pulse \
|
|
|
|
--enable-jack \
|
|
|
|
--enable-openal \
|
|
|
|
--disable-opensles \
|
|
|
|
--enable-alsa \
|
|
|
|
--disable-coreaudio \
|
|
|
|
--disable-audiounit \
|
|
|
|
--disable-wasapi \
|
|
|
|
\
|
|
|
|
--disable-cocoa \
|
|
|
|
--enable-drm \
|
|
|
|
--enable-gbm \
|
|
|
|
--enable-wayland \
|
|
|
|
--enable-x11 \
|
|
|
|
--enable-xv \
|
|
|
|
--disable-gl-cocoa \
|
|
|
|
--enable-gl-x11 \
|
|
|
|
--enable-egl-x11 \
|
|
|
|
--enable-egl-drm \
|
|
|
|
--enable-gl-wayland \
|
|
|
|
--disable-gl-win32 \
|
|
|
|
--disable-gl-dxinterop \
|
|
|
|
--disable-egl-angle \
|
|
|
|
--disable-egl-angle-lib \
|
|
|
|
--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 \
|
|
|
|
--disable-direct3d \
|
|
|
|
--disable-android \
|
|
|
|
--disable-rpi \
|
|
|
|
--disable-ios-gl \
|
|
|
|
--enable-plain-gl \
|
|
|
|
--enable-gl \
|
|
|
|
\
|
|
|
|
--disable-videotoolbox-gl \
|
|
|
|
--disable-d3d-hwaccel \
|
|
|
|
--disable-cuda-hwaccel \
|
|
|
|
\
|
2024-01-06 07:21:00 +01:00
|
|
|
--enable-dvbin
|
|
|
|
|
2024-01-06 07:20:59 +01:00
|
|
|
./waf build
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
./waf install
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -n lib%{name} -p /sbin/ldconfig
|
|
|
|
%postun -n lib%{name} -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_sysconfdir}/mpv/encoding-profiles.conf
|
|
|
|
%{_bindir}/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
|
|
|
#%dir %{_libdir}/mpv
|
|
|
|
#%{_libdir}/mpv/*.so
|
|
|
|
%doc LICENSE.LGPL
|
|
|
|
|
|
|
|
%files -n lib%{name}-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libmpv.so
|
2024-01-06 07:20:59 +01:00
|
|
|
%{_libdir}/pkgconfig/mpv.pc
|
|
|
|
%doc README.md
|
|
|
|
|
|
|
|
%changelog
|
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
|