multimedia/mpv: Fix README, info.

Signed-off-by: B. Watson <yalhcru@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2020-10-11 18:13:59 -04:00 committed by Willy Sudiarto Raharjo
parent 7ffe80b614
commit 7f6a649d13
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with 13 additions and 11 deletions

View File

@ -7,22 +7,24 @@ 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, OpenAL, oss, rubberband, SDL2, wayland,
cudatoolkit & nv-codec-headers
jack, libuchardet, OpenAL, oss, rubberband, SDL2, wayland,
cudatoolkit & nv-codec-headers
Please note that CUDA based hardware acceleration requires mpv to be
built with both the cudatoolkit and nv-codec-headers packages installed.
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.
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.
For example, to enable support for Samba and SDL2 (both disabled by default)
as well as to disable javascript support (normally autodetected),
you could run:
For example, to enable support for Samba and SDL2 (both disabled
by default) as well as to disable javascript support (normally
autodetected), you could run:
BUILD_OPTS="--enable-libsmbclient --enable-sdl2 --disable-javascript" sh mpv.SlackBuild
BUILD_OPTS="--enable-libsmbclient --enable-sdl2 --disable-javascript" \
sh mpv.SlackBuild
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
mpv https://www.youtube.com/watch?v=mAFMJ1LnQu8

View File

@ -7,6 +7,6 @@ MD5SUM="1f7d23afe7a8639dedc9f7beef4e90d7 \
eb0cd320fc8838971cfa735ad78f6de8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="docutils ffmpeg4 libbluray libplacebo lua mujs "
REQUIRES="docutils ffmpeg4 libbluray libplacebo lua mujs"
MAINTAINER="Christoph Willing"
EMAIL="chris.willing@linux.com"