deps.sh for fetching mupdf deps
[llpp.git] / BUILDING
blob408ab4cb1947120cf1f502a2e889b72c8e7ea334
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% bash deps.sh && bash build.bash build
12   Or if you like to do things manually:
14   llpp% git clone https://github.com/ArtifexSoftware/mupdf --recursive
15   llpp% cd mupdf
16   mupdf% git checkout bd88b96f7b7b21d64d4fb32a2674653a08f8cb38
17   mupdf% git submodule update --recursive
18   mupdf% make build=native libs
19   mupdf% cd ..
20   llpp% bash build.bash build
22 Standalone binary should now be in build/llpp.
24 Native macOS
25 ------------
26   If `bash build.bash build' succeeds, standalone macOS app should
27   be in build/llpp.app.