mpv is a free media player for the command line. It supports a wide variety of media file formats, audio and video codecs, and subtitle types.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
下载地址(HTTP):https://github.com/mpv-player/mpv/archive/v0.41.0/mpv-0.41.0.tar.gz
MD5 校验和:fa40a0fedeaf0a77127e238a39b9d4c4
大小:6.9 MB
预计所需磁盘空间:35 MB
预计构建时间:0.4 SBU
alsa-lib-1.2.16.1, FFmpeg-8.1.2, libass-0.17.5, libplacebo-7.360.1, Mesa-26.1.3, and PulseAudio-17.0
libjpeg-turbo-3.2.0, libva-2.24.0, luajit-20260213, uchardet-0.0.8, and Vulkan-Loader-1.4.350.1
libdvdcss-1.5.0, libdvdread-7.0.1, libdvdnav-7.0.0, and libbluray
pipewire-1.6.7, sdl2-compat-2.32.70, JACK, and OpenAL
Install mpv by running the following commands:
mkdir build &&
cd build &&
meson setup --prefix=/usr \
--buildtype=release \
-D x11=enabled \
.. &&
ninja
This package does not come with a test suite.
Now, as the root user:
ninja install
This package installs icon files into the /usr/share/icons/hicolor hierarchy and desktop
files into the /usr/share/applications hierarchy. You can
improve system performance and memory usage by updating
/usr/share/icons/hicolor/index.theme and
/usr/share/applications/mimeinfo.cache. To
perform the update you must have GTK-3.24.52 installed
(for the icon cache) and desktop-file-utils-0.28 (for the
desktop cache) and issue the following commands as the
root user:
gtk-update-icon-cache -qtf /usr/share/icons/hicolor && update-desktop-database -q
-D x11=enabled: allows
linking to the X11 libraries.
-D dvdnav=enabled: enables support for
DVD playback.
-D cdda=enabled: enables support for CD
Audio.
-D sdl2=enabled: enables the usage of
SDL2 for audio and video output.