Documentation: Add Ladybird build instructions for Haiku

This commit is contained in:
nipos 2023-08-29 17:13:46 +02:00 committed by Andrew Kaster
parent 0dfd6994e3
commit 2c9bf5b935

View file

@ -58,6 +58,11 @@ Note that OpenIndiana's latest GCC port (GCC 11) is too old to build Ladybird, s
pfexec pkg install cmake ninja clang-15 libglvnd qt6
```
On Haiku:
```
pkgman install cmake ninja cmd:python3 qt6_base_devel qt6_multimedia_devel qt6_tools_devel openal_devel
```
On Windows:
WSL2/WSLg are preferred, as they provide a linux environment that matches one of the above distributions.
@ -196,3 +201,14 @@ CMAKE_PREFIX_PATH=/usr/lib/qt/6.2/lib/amd64/cmake cmake -GNinja -S Ladybird -B B
cmake --build Build/ladybird
XDG_RUNTIME_DIR=/var/tmp ninja -C Build/ladybird run
```
### Building on Haiku
Haiku is supported by Ladybird out of the box. The steps are the same as on OpenIndiana, but no
additional environment variables are required.
```
cmake -GNinja -S Ladybird -B Build/ladybird
cmake --build Build/ladybird
ninja -C Build/ladybird run
```