]> de.git.xonotic.org Git - xonotic/netradiant.git/commitdiff
msys2: update build instructions in readme
authorThomas Debesse <dev@illwieckz.net>
Fri, 31 May 2019 15:02:06 +0000 (17:02 +0200)
committerThomas Debesse <dev@illwieckz.net>
Sat, 1 Jun 2019 20:52:54 +0000 (22:52 +0200)
- add minizip and git to pacman packages to install
  * minizip is required by netradiant and q3map2
  * git is required by gamepack-manager
  * other game packs may require subversion
- tell how to use mingw over ssh
- autodetect mingw architecture, give instruction to override
- fix a typo (a i character was mistakenly added somewhere)

README.md

index 6270506950b4f123153f45e6ea08ed6ae40fa9c4..6f6e5c7668ac82f226aeb6d9224a407f6c5d4aeb 100644 (file)
--- a/README.md
+++ b/README.md
@@ -36,20 +36,26 @@ See also https://gitlab.com/xonotic/netradiant/ for a source browser, issues and
 
 ## msys2
 
-Under MSYS2, the mingw shell must be used
+Under MSYS2, the mingw shell must be used.
 
-### 32 bit:
+If you use MSYS2 over SSH, add `mingw64` to the path this way (given you compile for 64 bit windows): 
 
 ```
-pacman -S --needed base-devel mingw-w64-i686-{toolchain,cmake,make,gtk2,gtkglexti,libwebp}
+export PATH="/mingw64/bin:${PATH}"`
 ```
 
-### 64 bit:
+Install the dependencies this way:
+
 
 ```
-pacman -S --needed base-devel mingw-w64-x86_64-{toolchain,cmake,make,gtk2,gtkglext,libwebp}
+pacman -S --needed base-devel mingw-w64-$(uname -m)-{toolchain,cmake,make,gtk2,gtkglext,libwebp,minizip-git} git
 ```
 
+Explicitely use `mingw-w64-x86_64-` or `mingw-w64-i686-` prefix if you need to target a non-default architecture.
+
+You may have to install `subversion` to fetch some non-default game packages.
+
+
 ## macOS:
 
 ```