comparison .builds/windows.yml @ 239:cae61340cc86

configure: check pkg-config for qt
author Paper <paper@paper.us.eu.org>
date Fri, 19 Jan 2024 12:29:53 -0500
parents a7d0d543b334
children
comparison
equal deleted inserted replaced
238:d2b7e974221e 239:cae61340cc86
15 - qtbase5-dev 15 - qtbase5-dev
16 - qttools5-dev 16 - qttools5-dev
17 sources: 17 sources:
18 - https://hg.sr.ht/~mrpapersonic/minori 18 - https://hg.sr.ht/~mrpapersonic/minori
19 tasks: 19 tasks:
20 - get-wine: |
21 sudo dpkg --add-architecture i386
22
23 sudo mkdir -pm755 /etc/apt/keyrings
24 sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key
25
26 sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/debian/dists/bookworm/winehq-bookworm.sources
27
28 sudo apt update
29
30 sudo apt install -y --install-recommends winehq-devel
20 - autoreconf: | 31 - autoreconf: |
21 cd minori 32 cd minori
22 autoreconf -i 33 autoreconf -i
23 - build-win64: | 34 - install-win64-deps: |
24 export WINEARCH=win64 35 export WINEARCH=win64
25 git clone https://github.com/holyblackcat/quasi-msys2 quasi-msys2-win64 36 git clone https://github.com/holyblackcat/quasi-msys2 quasi-msys2-win64
26 cd quasi-msys2-win64 37 cd quasi-msys2-win64
27 echo MINGW64 >msystem.txt 38 echo MINGW64 >msystem.txt
28 make install _gcc _qt5-base _qt5-tools _curl 39 make install _gcc _qt5-base _qt5-tools _curl
29 mkdir -p ../minori/build64 40 sudo ln -nfs $(realpath ./root/mingw64) /mingw64
30 cd ../minori/build64 41 - build-win64: |
42 export WINEARCH=win64
43 mkdir -p minori/build64
44 cd minori/build64
31 sudo bash -c 'echo -n 1 >/proc/sys/fs/binfmt_misc/status' 45 sudo bash -c 'echo -n 1 >/proc/sys/fs/binfmt_misc/status'
32 bash -c 'source ../../quasi-msys2-win64/env/all.src && ../configure && make' 46 bash -c 'source ../../quasi-msys2-win64/env/all.src && ../configure && make'
33 - get-wine32: | 47 - install-win32-deps: |
34 sudo dpkg --add-architecture i386
35 sudo apt-get update
36 sudo apt-get -y install wine32:i386
37 - build-win32: |
38 export WINEARCH=win32 48 export WINEARCH=win32
39 export WINEPREFIX="$HOME/.wine32" 49 export WINEPREFIX="$HOME/.wine32"
40 git clone https://github.com/holyblackcat/quasi-msys2 quasi-msys2-win32 50 git clone https://github.com/holyblackcat/quasi-msys2 quasi-msys2-win32
41 cd quasi-msys2-win32 51 cd quasi-msys2-win32
42 echo MINGW32 >msystem.txt 52 echo MINGW32 >msystem.txt
43 make install _gcc _qt5-base _qt5-tools _curl 53 make install _gcc _qt5-base _qt5-tools _curl
54 - build-win32: |
55 export WINEARCH=win32
56 export WINEPREFIX="$HOME/.wine32"
44 mkdir -p ../minori/build32 57 mkdir -p ../minori/build32
45 cd ../minori/build32 58 cd ../minori/build32
46 sudo bash -c 'echo -n 1 >/proc/sys/fs/binfmt_misc/status' 59 sudo bash -c 'echo -n 1 >/proc/sys/fs/binfmt_misc/status'
47 bash -c 'source ../../quasi-msys2-win32/env/all.src && ../configure && make' 60 bash -c 'source ../../quasi-msys2-win32/env/all.src && ../configure && make'
48 triggers: 61 triggers: