summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Beitey <david@davidjb.com>2018-11-29 06:23:53 +0000
committerwm4 <1387750+wm4@users.noreply.github.com>2019-09-14 16:53:33 +0200
commite8ae0ccbb46dd42bf5f38e30257a06e8b9a9b2dc (patch)
tree74345269916df19ee5326ce5b3ed3570048d99b5
parenta9564851ce2df9e245a2ba3cc20f373e86dd9a48 (diff)
downloadmpv-build-e8ae0ccbb46dd42bf5f38e30257a06e8b9a9b2dc.tar.bz2
mpv-build-e8ae0ccbb46dd42bf5f38e30257a06e8b9a9b2dc.tar.xz
Code block formatting in README
-rw-r--r--README.rst24
1 files changed, 12 insertions, 12 deletions
diff --git a/README.rst b/README.rst
index 57e0a1a..a3010eb 100644
--- a/README.rst
+++ b/README.rst
@@ -15,13 +15,13 @@ Generic Instructions
Make sure git is installed. Also check that the dependencies listed in
the next section are installed.
-Checkout the build repo:
+Checkout the build repo::
git clone https://github.com/mpv-player/mpv-build.git
cd mpv-build
-To get the ffmpeg, libass and mpv sources and build them, run the command:
+To get the ffmpeg, libass and mpv sources and build them, run the command::
./rebuild -j4
@@ -33,7 +33,7 @@ incremental builds. You can do incremental builds by explicitly calling
``./build``. This can be faster on minor updates, but breaks sometimes, e.g.
the FFmpeg build system can sometimes be a bit glitchy.
-Install mpv with:
+Install mpv with::
sudo ./install
@@ -74,7 +74,7 @@ enable them explicitly at configuration time. (And it will simply fail
if the dependencies are not available.)
You can put additional ffmpeg configure flags into ffmpeg_options. For
-example, to enable some dependencies needed for encoding:
+example, to enable some dependencies needed for encoding::
echo --enable-libx264 >> ffmpeg_options
@@ -95,22 +95,22 @@ advanced usage and you may experience problems if you have weird third party
repositories enabled or use exotic Debian derivatives. This procedure is
regularly tested on Debian Sid.
-Install some basic packaging tools with the command:
+Install some basic packaging tools with the command::
apt-get install devscripts equivs
In the mpv-build root directory, create and install a dummy build dependency
-package:
+package::
mk-build-deps -s sudo -i
-You can now build the mpv Debian package with the following command:
+You can now build the mpv Debian package with the following command::
dpkg-buildpackage -uc -us -b -j4
Adjust the "4" to your number of available processors as appropriate. On
completion, the file mpv_<version>_<architecture>.deb will be created in the
-parent directory. Install it with
+parent directory. Install it with::
sudo dpkg -i ../mpv_<version>_<architecture>.deb
@@ -143,15 +143,15 @@ expected to maintain them and to backport bug fixes (which they usually fail
to do).
The following command can be used to delete all local changes, and to checkout
-the latest release version of mpv:
+the latest release version of mpv::
./use-mpv-release
-And run ``./rebuild`` or similar. Use this to switch back to git master:
+And run ``./rebuild`` or similar. Use this to switch back to git master::
./use-mpv-master
-Or this to switch to a custom tag/branch/commit FOO:
+Or this to switch to a custom tag/branch/commit FOO::
./use-mpv-custom FOO
@@ -174,7 +174,7 @@ But normally, you shouldn't need this.
Building libmpv
---------------
-You can enable building libmpv by enabling the configure option:
+You can enable building libmpv by enabling the configure option::
echo --enable-libmpv-shared > mpv_options