To run locally you should install Zig 0.13.0 locally along with SDL2, SDL2_ttf, SDL2_image, SDL2_gfx, libcurl. Then, to build & run locally run:
export PATH="$PATH:$(realpath $(pwd))/scripts"
zig build run
Note, the above command altering path puts the scripts in scripts/
in
$PATH
which mepo's default configuration assumes.
Alpine Linux build dependencies:
apk add curl-dev sdl2-dev sdl2_image-dev sdl2_ttf-dev sdl2_gfx-dev
Alpine Linux runtime dependencies (X):
apk add zenity jq xwininfo curl ncurses
Run all files through zig fmt
:
scriptsdev/mepo_dev_zigfmt.sh
Package maintainers should take note of the following dependencies:
Build Dependencies:
Runtime Dependencies:
Optional Runtime Dependencies:
The Alpine Linux package is the canonical example package maintained by Miles Alan, the application developer and can be seen here. The flatpak may also be used as a reference for understanding packaging in a generic way.