Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dosbox-staging/dosbox-staging.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorPatryk Obara <dreamer.tan@gmail.com>2021-02-18 16:23:52 +0300
committerPatryk Obara <patryk.obara@gmail.com>2021-02-19 21:36:58 +0300
commitd46d6f425a4d1ba8c173b0e7e13529fb72c1feab (patch)
tree942b671c2251cc65db9ec0cdd5c28d7e5437d186 /docs
parent1965ada7b3de2b2440387ee5a4b0dc8c47acbe89 (diff)
Move Haiku-specific instructions to separate file
Diffstat (limited to 'docs')
-rw-r--r--docs/build-haiku.md44
1 files changed, 44 insertions, 0 deletions
diff --git a/docs/build-haiku.md b/docs/build-haiku.md
new file mode 100644
index 000000000..46024a156
--- /dev/null
+++ b/docs/build-haiku.md
@@ -0,0 +1,44 @@
+Haiku builds can be created with Clang or GCC using the Meson buildsystem.
+
+## Build on Haiku
+
+Install dependencies:
+
+``` shell
+pkgman install -y meson ccache libpng libsdl2_devel sdl2_net_devel \
+ libogg_devel opus_devel opusfile_devel gcc_syslibs_devel \
+ opus_tools fluidsynth2_devel llvm_clang
+```
+
+Clone and enter the repository's directory:
+
+``` shell
+git clone https://github.com/dosbox-staging/dosbox-staging.git
+cd dosbox-staging
+```
+
+Build with OpenGL disabled (Haiku supports OpenGL only via software fallback):
+
+``` shell
+meson setup -Duse_opengl=false build
+ninja -C build
+```
+
+Detailed instructions and build options are documented in [BUILD.md](/BUILD.md).
+
+## Run
+
+Edit your configuration file by running: `dosbox -editconf` and make the
+following suggested changes (leave all other settings as-is):
+
+``` ini
+[sdl]
+output = texture
+texture_renderer = software
+
+[cpu]
+core = normal
+```
+
+The state of Haiku's GPU Hardware-acceleration is being discussed here:
+https://discuss.haiku-os.org/t/state-of-accelerated-opengl/4163