summaryrefslogtreecommitdiff
path: root/multimedia/mpv/README
blob: 2bb44ef5b85cd3239a62496f2364c86400799035 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
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, lua, libquvi, lirc, libbluray, libdvdnav, enca, ladspa_sdk,
          SDL2, jack-audio-connection-kit, OpenAL, wayland, vdpau, oss, libbs2b,
          portaudio, libfdk-acc

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 concider the man pages required, then the
docutils package is optional, too. Building the man pages is recommended.

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).

NUMJOBS:
The default number of jobs to be run during the build process is set to 1;
To override, set NUMJOBS to your preference prior to or at build time. If
you run into suspected bugs with mpv, I recommend first building and installing
mpv with NUMJOBS set to the default of 1. e.g.:

~# NUMJOBS=2 sh mpv.SlackBuild

or, if you use fakeroot to build packages:

~# fakeroot env NUMJOBS=2 sh mpv.SlackBuild

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, you could use the following:

~# BUILD_OPTS="--enable-cdda --enable-openal" sh mpv.SlackBuild

or, if you use fakeroot to build packages:

~$ fakeroot env BUILD_OPTS="--enable-cdda --enable-openal" 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:

vaapi, vapoursynth, libguess, libiconv, rsound