Sync with upstream
[llpp.git] / BUILDING
blob6503f7cb075b58efc68ac8e868e349874a0be494
1 Prerequisites for building from sources:
2         bash          [https://en.wikipedia.org/wiki/Bash_(Unix_shell)]
3         mupdf         [http://mupdf.com/]
4         opengl        [http://en.wikipedia.org/wiki/OpenGL]
5         git           [https://git-scm.com/]
6         ocaml (4.07+) [http://ocaml.org/]
7            If not present will be downloaded from the network and
8            built/used locally without system-wide installation.
10   llpp% git clone https://github.com/ArtifexSoftware/mupdf --recursive
11   llpp% cd mupdf
12   mupdf% git checkout bd88b96f7b7b21d64d4fb32a2674653a08f8cb38
13   mupdf% git submodule update --recursive
14   mupdf% make build=native libs
15   mupdf% cd ..
16   llpp% bash build.bash build
18 Standalone binary should now be in build/llpp.
20 Native macOS
21 ------------
22   If `bash build.bash build' succeeds, standalone macOS app should
23   be in build/llpp.app.