summaryrefslogtreecommitdiffstats
path: root/multimedia/mpv/README
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/mpv/README')
-rw-r--r--multimedia/mpv/README55
1 files changed, 27 insertions, 28 deletions
diff --git a/multimedia/mpv/README b/multimedia/mpv/README
index df6b24d893..56ded2b4c9 100644
--- a/multimedia/mpv/README
+++ b/multimedia/mpv/README
@@ -1,40 +1,39 @@
-mpv
-===
-
mpv is a movie player based on MPlayer and mplayer2. It shares some
features with the former projects while introducing many more. It
supports a wide variety of video file formats, audio and video codecs,
and subtitle types.
-optional: docutils, jack-audio-connection-kit, libbluray, libdvdnav,
- libfdk-aac, libuchardet, lOpenAL, lua, mujs, oss, rubberband,
- SDL2, wayland, youtube-dl
+This SlackBuild provides support for most useful optional features.
+Some other optional features may be enabled by having the relevant
+packages installed; they will be autodetected at build time.
+These include:
+ jack, libuchardet, oss, rubberband, cudatoolkit, nv-codec-headers
-If docutils is not installed, the man pages will not be built/installed.
-This is the reason I have included docutils in both the `required` and
-`optional` lists. If you don't consider the man pages required, then the
-docutils package is optional, too. Building the man pages is
-recommended.
+Please note that CUDA based hardware acceleration requires mpv to be
+built with both the cudatoolkit and nv-codec-headers packages installed.
-If lua is not installed, much functionality will be lost. This is the
-reason I have included lua in both the `required` and `optional` lists.
-If you don't consider the functionality lua gives required, then the
-lua package is optional, too. Building with lua support is recommended.
+Since Pipewire is not configured as the default in Slackware,
+its use is disabled in this SlackBuild. To enable Pipewire, run the
+SlackBuild with the USE_PIPEWIRE environment variable set e.g.
+ USE_PIPEWIRE=yes sh mpv.SlackBuild
-Dependencies are autodetected. Some optional dependencies are disabled
-by default and may be enabled (see BUILD_OPTS). Optional dependencies
-that are enabled by default may be disabled (see BUILD_OPTS).
+Most dependencies are autodetected. Some optional dependencies are
+disabled by default and may be enabled via the BUILD_OPTS environment
+variable. Optional dependencies that are enabled by default may be
+disabled in the same way.
-BUILD_OPTS:
-To override the default for build options, set the shell variable
-BUILD_OPTS prior to or at build time. For example, to enable cdda and
-openal, which are disabled by default, and to build with four jobs in
-parallel, you could use the following:
+For example, to enable support for OpenAL and SDL2 (both disabled
+by default) as well as to disable javascript support (normally
+autodetected), you could run:
-~# BUILD_OPTS="--enable-cdda --enable-openal --jobs=4" sh mpv.SlackBuild
+BUILD_OPTS="-Dopenal=enabled -Dsdl2=enabled -Djavascript=disabled" \
+ sh mpv.SlackBuild
-The following list is meant as a note to myself of build options or
-optional dependencies currently unavailable via full Slackware
-installation and from SBo:
+Runtime support for youtube videos requires installation of youtube-dl
+(available from SBo) to be installed. Watch with something like:
+ mpv https://www.youtube.com/watch?v=mAFMJ1LnQu8
-vapoursynth, rsound
+To enable building with meson/ninja (recommended since waf build is
+to be deprecated), a patch is required to enable use of Slackware 15's
+older version of meson. Unfortunately this disables the ability to
+process configuration/building on Raspberry Pi.