Skip to content

Latest commit

 

History

History
58 lines (39 loc) · 960 Bytes

BUILD.md

File metadata and controls

58 lines (39 loc) · 960 Bytes

Build

Start by cloning the repository:

git clone https://github.com/baskerville/plato.git
cd plato

Plato

Preliminary

Install the appropriate compiler toolchain (the binaries of the bin directory need to be in your path).

Install the required dependencies: wget, curl, git, pkg-config, unzip, jq, patchelf.

Install rustup:

curl https://sh.rustup.rs -sSf | sh

Install the appropriate target:

rustup target add arm-unknown-linux-gnueabihf

Build Phase

./build.sh

Distribution

./dist.sh

Developer Tools

Install the required dependencies: MuPDF 1.23.11, DjVuLibre, FreeType, HarfBuzz.

Emulator

Install one additional dependency: SDL2.

You can then run the emulator with:

./run-emulator.sh

Importer

You can install the importer with:

./install-importer.sh