mirror of
https://github.com/vcmi/vcmi.git
synced 2026-10-11 21:50:01 +00:00
Update docs
This commit is contained in:
@@ -18,7 +18,8 @@ To compile, the following packages (and their development counterparts) are need
|
||||
- zlib and zlib-devel
|
||||
- `LuaJIT`, or Lua (if LuaJit is not available)
|
||||
- Boost C++ libraries: `date-time`, `iostreams`, `filesystem`, `program-options`
|
||||
- Recommended, if you want to build launcher or map editor: Qt (widget and network modules)
|
||||
- Recommended, if you want to build launcher or map editor: Qt (widgets module)
|
||||
- Required for launcher: libcurl
|
||||
- Recommended, FFmpeg libraries, if you want to watch in-game videos: `libavformat` and `libswscale`. Their name could be `libavformat-devel` and `libswscale-devel`, or `ffmpeg-libs-devel` or similar names.
|
||||
- Optional:
|
||||
- if you want to enable MMAI: `onnxruntime`
|
||||
@@ -31,7 +32,7 @@ For Ubuntu and Debian you need to:
|
||||
1. Install this list of packages:
|
||||
|
||||
```sh
|
||||
sudo apt-get install cmake g++ clang libsdl2-dev libsdl2-image-dev libsdl2-ttf-dev libsdl2-mixer-dev zlib1g-dev libavformat-dev libswscale-dev libboost-dev libboost-filesystem-dev libboost-program-options-dev libboost-date-time-dev libboost-iostreams-dev qt6-base-dev qt6-base-dev-tools qt6-tools-dev qt6-tools-dev-tools qt6-l10n-tools qt6-svg-dev libtbb-dev libluajit-5.1-dev liblzma-dev libsqlite3-dev libminizip-dev libsquish-dev libfmt-dev ninja-build ccache
|
||||
sudo apt-get install cmake g++ clang libsdl2-dev libsdl2-image-dev libsdl2-ttf-dev libsdl2-mixer-dev zlib1g-dev libavformat-dev libswscale-dev libboost-dev libboost-filesystem-dev libboost-program-options-dev libboost-date-time-dev libboost-iostreams-dev qt6-base-dev qt6-base-dev-tools qt6-tools-dev qt6-tools-dev-tools qt6-l10n-tools qt6-svg-dev libtbb-dev libluajit-5.1-dev liblzma-dev libsqlite3-dev libminizip-dev libsquish-dev libfmt-dev libcurl4-openssl-dev ninja-build ccache
|
||||
```
|
||||
|
||||
2. Optionally, install `onnxruntime`:
|
||||
@@ -65,7 +66,7 @@ sudo apt-get build-dep vcmi
|
||||
### On RPM-based distributions (e.g. Fedora)
|
||||
|
||||
```sh
|
||||
sudo yum install cmake gcc-c++ SDL2-devel SDL2_image-devel SDL2_ttf-devel SDL2_mixer-devel boost boost-devel boost-filesystem boost-system boost-thread boost-program-options boost-locale boost-iostreams zlib-devel ffmpeg-free-devel qt5-qtbase-devel qt5-qtsvg-devel qt5-qttools-devel tbb-devel luajit-devel xz-devel sqlite-devel minizip-devel onnxruntime-devel libsquish-devel libfmt-devel ccache
|
||||
sudo yum install cmake gcc-c++ SDL2-devel SDL2_image-devel SDL2_ttf-devel SDL2_mixer-devel boost boost-devel boost-filesystem boost-system boost-thread boost-program-options boost-locale boost-iostreams zlib-devel ffmpeg-free-devel qt5-qtbase-devel qt5-qtsvg-devel qt5-qttools-devel tbb-devel luajit-devel xz-devel sqlite-devel minizip-devel onnxruntime-devel libsquish-devel libfmt-devel libcurl-devel ccache
|
||||
```
|
||||
|
||||
### On Arch-based distributions
|
||||
|
||||
@@ -321,6 +321,7 @@ Use this setup only if you specifically need a MinGW build. It does not use Cona
|
||||
mingw-w64-ucrt-x86_64-boost \
|
||||
mingw-w64-ucrt-x86_64-zlib \
|
||||
mingw-w64-ucrt-x86_64-minizip \
|
||||
mingw-w64-ucrt-x86_64-curl \
|
||||
mingw-w64-ucrt-x86_64-ffmpeg \
|
||||
mingw-w64-ucrt-x86_64-SDL2 \
|
||||
mingw-w64-ucrt-x86_64-SDL2_image \
|
||||
|
||||
@@ -119,6 +119,7 @@ in {
|
||||
pkg-config
|
||||
libsquish
|
||||
minizip
|
||||
curl
|
||||
]
|
||||
++ [
|
||||
(
|
||||
|
||||
@@ -2,7 +2,7 @@ Source: vcmi
|
||||
Section: games
|
||||
Priority: optional
|
||||
Maintainer: Ivan Savenko <[email protected]>
|
||||
Build-Depends: debhelper-compat (= 13), cmake, gettext, libsdl2-dev, libsdl2-image-dev, libsdl2-ttf-dev, libsdl2-mixer-dev, zlib1g-dev, libavformat-dev, libswscale-dev, libboost-dev, libboost-date-time-dev, libboost-program-options-dev, libboost-filesystem-dev, libboost-iostreams-dev, libtbb-dev, libminizip-dev, liblzma-dev, libsquish-dev, libfmt-dev, libluajit-5.1-dev, qtbase5-dev, qtbase5-dev-tools, qttools5-dev, qttools5-dev-tools, libqt5svg5-dev
|
||||
Build-Depends: debhelper-compat (= 13), cmake, gettext, libsdl2-dev, libsdl2-image-dev, libsdl2-ttf-dev, libsdl2-mixer-dev, zlib1g-dev, libavformat-dev, libswscale-dev, libboost-dev, libboost-date-time-dev, libboost-program-options-dev, libboost-filesystem-dev, libboost-iostreams-dev, libtbb-dev, libminizip-dev, liblzma-dev, libsquish-dev, libfmt-dev, libluajit-5.1-dev, libcurl4-openssl-dev, qtbase5-dev, qtbase5-dev-tools, qttools5-dev, qttools5-dev-tools, libqt5svg5-dev
|
||||
Standards-Version: 4.6.2
|
||||
Homepage: https://vcmi.eu
|
||||
Vcs-Git: https://github.com/vcmi/vcmi.git
|
||||
|
||||
@@ -2,7 +2,7 @@ Source: vcmi
|
||||
Section: games
|
||||
Priority: optional
|
||||
Maintainer: Ivan Savenko <[email protected]>
|
||||
Build-Depends: debhelper-compat (= 13), cmake, gettext, libsdl2-dev, libsdl2-image-dev, libsdl2-ttf-dev, libsdl2-mixer-dev, zlib1g-dev, libavformat-dev, libswscale-dev, libboost-dev, libboost-date-time-dev, libboost-program-options-dev, libboost-filesystem-dev, libboost-iostreams-dev, libtbb-dev, libminizip-dev, liblzma-dev, libsquish-dev, libfmt-dev, libluajit-5.1-dev, qt6-base-dev, qt6-base-dev-tools, qt6-tools-dev, qt6-tools-dev-tools, qt6-l10n-tools, qt6-svg-dev
|
||||
Build-Depends: debhelper-compat (= 13), cmake, gettext, libsdl2-dev, libsdl2-image-dev, libsdl2-ttf-dev, libsdl2-mixer-dev, zlib1g-dev, libavformat-dev, libswscale-dev, libboost-dev, libboost-date-time-dev, libboost-program-options-dev, libboost-filesystem-dev, libboost-iostreams-dev, libtbb-dev, libminizip-dev, liblzma-dev, libsquish-dev, libfmt-dev, libluajit-5.1-dev, libcurl4-openssl-dev, qt6-base-dev, qt6-base-dev-tools, qt6-tools-dev, qt6-tools-dev-tools, qt6-l10n-tools, qt6-svg-dev
|
||||
Standards-Version: 4.6.2
|
||||
Homepage: https://vcmi.eu
|
||||
Vcs-Git: https://github.com/vcmi/vcmi.git
|
||||
|
||||
@@ -2,7 +2,7 @@ Source: vcmi
|
||||
Section: games
|
||||
Priority: optional
|
||||
Maintainer: Ivan Savenko <[email protected]>
|
||||
Build-Depends: debhelper-compat (= 13), cmake, gettext, libsdl2-dev, libsdl2-image-dev, libsdl2-ttf-dev, libsdl2-mixer-dev, zlib1g-dev, libavformat-dev, libswscale-dev, libboost-dev, libboost-date-time-dev, libboost-program-options-dev, libboost-filesystem-dev, libboost-iostreams-dev, libtbb-dev, libminizip-dev, liblzma-dev, libsquish-dev, libfmt-dev, libluajit-5.1-dev, qt6-base-dev, qt6-base-dev-tools, qt6-tools-dev, qt6-tools-dev-tools, qt6-l10n-tools, qt6-svg-dev, libonnxruntime-dev
|
||||
Build-Depends: debhelper-compat (= 13), cmake, gettext, libsdl2-dev, libsdl2-image-dev, libsdl2-ttf-dev, libsdl2-mixer-dev, zlib1g-dev, libavformat-dev, libswscale-dev, libboost-dev, libboost-date-time-dev, libboost-program-options-dev, libboost-filesystem-dev, libboost-iostreams-dev, libtbb-dev, libminizip-dev, liblzma-dev, libsquish-dev, libfmt-dev, libluajit-5.1-dev, libcurl4-openssl-dev, qt6-base-dev, qt6-base-dev-tools, qt6-tools-dev, qt6-tools-dev-tools, qt6-l10n-tools, qt6-svg-dev, libonnxruntime-dev
|
||||
Standards-Version: 4.6.2
|
||||
Homepage: https://vcmi.eu
|
||||
Vcs-Git: https://github.com/vcmi/vcmi.git
|
||||
|
||||
@@ -33,6 +33,7 @@ BuildRequires: zlib-devel
|
||||
BuildRequires: ffmpeg-devel
|
||||
BuildRequires: ffmpeg-libs
|
||||
BuildRequires: qt5-qtbase-devel
|
||||
BuildRequires: libcurl-devel
|
||||
|
||||
%description
|
||||
VCMI is an open-source project aiming to reimplement HoMM3 game engine, giving it new and extended possibilities.
|
||||
|
||||
Reference in New Issue
Block a user