Name: mpv Version: 0.32.0 Release: 1mamba Summary: A free (as in freedom) media player for the command line Group: Applications/Multimedia Vendor: openmamba Distribution: openmamba Packager: Ercole 'ercolinux' Carpanetto URL: https://mpv.io/ Source: https://github.com/mpv-player/mpv/archive/v%{version}.zip License: LGPL ## AUTOBUILDREQ-BEGIN 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 Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} BuildRoot: %{_tmppath}/%{name}-%{version}-root %description 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} Group: System/Libraries Summary: Shared libraries for %{name} %description -n lib%{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 %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 \ --enable-libsmbclient \ --disable-lua \ --enable-libass \ --enable-libass-osd \ --enable-libbluray \ --enable-dvdnav \ --disable-cdda \ --disable-uchardet \ --enable-rubberband \ --enable-lcms2 \ --disable-vapoursynth \ --enable-libarchive \ --enable-libavdevice \ \ --enable-sdl2 \ --enable-oss-audio \ --disable-rsound \ --disable-sndio \ --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 \ \ --enable-dvbin ./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 %dir %{_datadir}/doc/mpv %{_datadir}/doc/mpv/* %{_mandir}/man1/mpv.1* %doc LICENSE.GPL %files -n lib%{name} %defattr(-,root,root) %{_libdir}/libmpv.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 %doc README.md %changelog * Tue May 12 2020 Automatic Build System 0.32.0-1mamba - automatic version update by autodist * Mon Apr 17 2017 Ercole 'ercolinux' Carpanetto 0.24.0-1mamba - package created using the webbuild interface