1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-23 15:52:55 +01:00

Update duktape info

Michael Steenbeek
2022-04-27 22:05:23 +02:00
parent bc166df052
commit f5d63cf503

@@ -17,7 +17,7 @@ Package | Note(s)
`icu` | >= 59.0 `icu` | >= 59.0
`zlib` | `zlib` |
`gl` | Commonly provided by Mesa or GPU vendors; only for UI client, can be disabled. `gl` | Commonly provided by Mesa or GPU vendors; only for UI client, can be disabled.
`duktape` | Unless scripting is disabled. `duktape` | Shipped with the code. Not used if scripting is disabled.
`cmake` | `cmake` |
`nlohmann-json` | >= 3.6.0 `nlohmann-json` | >= 3.6.0
Google Benchmark | Optional. Google Benchmark | Optional.
@@ -30,7 +30,7 @@ The exact package names will differ from distribution to distribution, but here'
sudo apt-get install --no-install-recommends -y cmake libsdl2-dev libicu-dev \ sudo apt-get install --no-install-recommends -y cmake libsdl2-dev libicu-dev \
gcc pkg-config libspeex-dev libspeexdsp-dev libcurl4-openssl-dev \ gcc pkg-config libspeex-dev libspeexdsp-dev libcurl4-openssl-dev \
libcrypto++-dev libfontconfig1-dev libfreetype6-dev libpng-dev libssl-dev libzip-dev \ libcrypto++-dev libfontconfig1-dev libfreetype6-dev libpng-dev libssl-dev libzip-dev \
build-essential make duktape-dev nlohmann-json3-dev libbenchmark-dev build-essential make nlohmann-json3-dev libbenchmark-dev
``` ```
This listing should work on Debian and Ubuntu. This listing should work on Debian and Ubuntu.
@@ -39,7 +39,7 @@ This solution is tested continuously with our own dockerfile.
Install dependencies: Install dependencies:
``` ```
sudo pacman -S sdl2 curl nlohmann-json speexdsp fontconfig libpng openssl libzip gcc gcc-libs icu duktape sudo pacman -S sdl2 curl nlohmann-json speexdsp fontconfig libpng openssl libzip gcc gcc-libs icu
``` ```
### DNF (Fedora): ### DNF (Fedora):
@@ -49,8 +49,7 @@ sudo dnf install gcc gcc-c++ json-devel \
openssl-devel SDL2-devel libicu-devel \ openssl-devel SDL2-devel libicu-devel \
speexdsp-devel libcurl-devel \ speexdsp-devel libcurl-devel \
cmake fontconfig-devel freetype-devel \ cmake fontconfig-devel freetype-devel \
libpng-devel libzip-devel mesa-libGL-devel \ libpng-devel libzip-devel mesa-libGL-devel
duktape-devel
``` ```
### Gentoo ### Gentoo
@@ -84,7 +83,7 @@ Some old Leap versions use an old version of gcc by default, while OpenRCT2 need
### Alpine Linux ### Alpine Linux
Install dependencies: Install dependencies:
``` ```
apk add git gcc g++ make cmake libzip-dev curl-dev nlohmann-json sdl2-dev fontconfig-dev fts-dev icu-dev duktape-dev speexdsp-dev apk add git gcc g++ make cmake libzip-dev curl-dev nlohmann-json sdl2-dev fontconfig-dev fts-dev icu-dev speexdsp-dev
``` ```
(Dependency fts may not be required in the future, see [#5520](https://github.com/OpenRCT2/OpenRCT2/issues/5520)) (Dependency fts may not be required in the future, see [#5520](https://github.com/OpenRCT2/OpenRCT2/issues/5520))
(You may wish to install Zenity or KDialog, see [#5521](https://github.com/OpenRCT2/OpenRCT2/issues/5521)) (You may wish to install Zenity or KDialog, see [#5521](https://github.com/OpenRCT2/OpenRCT2/issues/5521))