32
|
1 image: alpine/edge
|
|
2 packages:
|
|
3 - cmake
|
|
4 - clang
|
|
5 - git
|
|
6 - patch
|
|
7 - python3
|
|
8 - curl-dev
|
|
9 - openssl-dev
|
|
10 - xz-dev
|
|
11 - libxml2-dev
|
|
12 - bzip2
|
|
13 - cpio
|
|
14 - libbz2
|
|
15 - zlib-dev
|
33
|
16 - wget
|
32
|
17 sources:
|
|
18 - https://hg.sr.ht/~mrpapersonic/minori
|
|
19 - https://github.com/tpoechtrager/osxcross
|
|
20 tasks:
|
|
21 - build: |
|
|
22 cd osxcross/tarballs
|
33
|
23 wget "https://github.com/phracker/MacOSX-SDKs/releases/download/11.3/MacOSX10.13.sdk.tar.xz"
|
32
|
24 cd ..
|
|
25 UNATTENDED=1 ./build.sh
|
|
26 export PATH="$(pwd)/target/bin:$PATH"
|
|
27 osxcross-macports -v install qt5-qtbase curl pkgconfig
|
|
28 export PKG_CONFIG_PATH="$(pwd)/target/macports/pkgs/opt/local/lib/pkgconfig"
|
|
29 cd ../minori
|
|
30 mkdir build
|
|
31 cd build
|
|
32 cmake .. -G "Unix Makefiles" -DCMAKE_SYSTEM_NAME="Darwin" -DCMAKE_C_COMPILER="o64-clang" -DCMAKE_CXX_COMPILER="o64-clang++" -DCMAKE_FIND_ROOT_PATH="$(pwd)/../../osxcross/target/macports/pkgs/opt/local/" -DCMAKE_OSX_SYSROOT="$(pwd)/../../osxcross/target/SDK/MacOSX10.13.sdk/"
|
|
33 make
|