Bundle QtApng on Windows

This commit is contained in:
oldmud0 2020-05-17 23:54:35 +00:00
parent f052a7f2ea
commit dbde914a9b

View File

@ -83,6 +83,9 @@ build windows i686:
- git submodule init - git submodule init
- git submodule update - git submodule update
# Print versions
- /opt/mxe/usr/${TARGET_SPEC}/qt5/bin/qmake --version
# Extract BASS # Extract BASS
- mkdir bass - mkdir bass
- cd bass - cd bass
@ -94,6 +97,14 @@ build windows i686:
- cp bassopus.dll ../lib - cp bassopus.dll ../lib
- cd .. - cd ..
# Extract QtApng
- mkdir qtapng
- cd qtapng
- curl -L https://github.com/Skycoder42/QtApng/releases/download/1.1.2-2/qtapng_mingw73_32_5.13.0.zip -o apng.zip
- unzip apng.zip
- cp mingw73_32/plugins/imageformats/qapng.dll ../lib
- cd ..
# Build # Build
- /opt/mxe/usr/${TARGET_SPEC}/qt5/bin/qmake "DEFINES += DISCORD BASSAUDIO" - /opt/mxe/usr/${TARGET_SPEC}/qt5/bin/qmake "DEFINES += DISCORD BASSAUDIO"
- make -j4 - make -j4
@ -165,6 +176,8 @@ deploy windows i686:
# Platform-specific # Platform-specific
- cp -a ../lib/*.dll . - cp -a ../lib/*.dll .
- mkdir imageformats
- cp -a ../lib/imageformats/*.dll imageformats/
- cp -a ../bin/Attorney_Online.exe . - cp -a ../bin/Attorney_Online.exe .
# Zipping # Zipping