diff options
author | wm4 <wm4@nowhere> | 2013-02-01 13:23:12 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-02-01 13:24:31 +0100 |
commit | 28f37b1887aabfb40b166b50a3127293231a9370 (patch) | |
tree | 65f45c7ce95d4b95cea78800ef68549984218570 | |
parent | 22309322c8e5fbfccc5569b6126941f26384d18a (diff) | |
download | mpv-build-28f37b1887aabfb40b166b50a3127293231a9370.tar.bz2 mpv-build-28f37b1887aabfb40b166b50a3127293231a9370.tar.xz |
Change README to .rst
-rw-r--r-- | README.rst (renamed from README) | 32 |
1 files changed, 29 insertions, 3 deletions
@@ -1,16 +1,30 @@ +Overview +======== + This is a collection of scripts to make downloading and building mpv, ffmpeg and libass easier. ffmpeg and libass get special treatment, because they are essential, and distribution packages are often too old or too broken. -Update the ffmpeg, libass and mpv sources with the following command: +Instructions +============ + +Checkout the build repo: + + git clone https://github.com/mpv-player/mpv-build.git + + cd mpv-build + +Get the ffmpeg, libass and mpv sources with the following command: ./update -This is also needed before doing the first build after the initial checkout. +(This is always needed before doing the first build after the initial checkout, +and can be used later to update ffmpeg/libass/mpv later.) Build mpv and ffmpeg/libass with: make clean # sometimes needed to build successfully + make Install mpv with: @@ -25,8 +39,12 @@ mpv doesn't need to be installed. The binary ./mpv/mpv can be used as-is. Note that libass and ffmpeg will be statically linked with mpv when using the provided scripts, and no ffmpeg or libass libraries are/need to be installed. +Dependencies +============ + Essential dependencies (incomplete list): -- gcc, yasm + +- gcc, yasm, git - X development headers (xlib, X extensions, vdpau, GL, Xv, ...) - Audio output development headers (libasound, pulseaudio) - fribidi, freetype, fontconfig development headers (for libass) @@ -39,3 +57,11 @@ Note: most dependencies are optional and autodetected. If they're missing, these features will be disabled silently. This includes some dependencies which could be considered essential. +On Debian or Ubuntu systems, you can use this command to get most of +the required dependencies: + + apt-get build-dep mplayer + +mpv has similar dependencies as mplayer, although there is some +mismatch. + |