Update compilation authored by Karel Slaný's avatar Karel Slaný
......@@ -78,6 +78,27 @@ You need Xcode with Command Line Tools in order to compile and build the package
sudo ln -s MacOSX.sdk MacOSX10.13.sdk
```
#### Building from Git
Use the `scripts/build_git_archive.sh` script to build a git archive. Eg.:
```shell
> ./scripts/build_git_archive.sh -c 90bd2fb92783468f19852140d0080cc2273fa385
Building archive version '4.15.1' from commit '90bd2fb92783468f19852140d0080cc2273fa385'.
...
File size of 'datovka-4.15.1.9999.20200716.140039.90bd2fb92783468f.tar.xz.sha256' OK.
datovka-4.15.1.9999.20200716.140039.90bd2fb92783468f.tar.xz
```
Once the source archive is available use the `-v` parameter to pass the package version (here it is `4.15.1.9999.20200716.140039.90bd2fb92783468f`) to build package bundles:
```shell
> QT_VER="5.15.0" ./scripts/build_macos_dmgs.sh --x86_64 --shared -s 10.15 -v 4.15.1.9999.20200716.140039.90bd2fb92783468f -d
```
```shell
> QT_VER=5.7.1 ./scripts/build_macos_dmgs.sh -s 10.12 --i386 --shared -v 4.15.1.9999.20200716.140039.90bd2fb92783468f -d
```
#### Datovka-4.16.0 and Newer
The building procedure is the same as for Datovka-4.10.2 but libdatovka is required.
......
......