aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoroldmud0 <3421260-oldmud0@users.noreply.gitlab.com>2020-05-17 23:54:35 +0000
committeroldmud0 <3421260-oldmud0@users.noreply.gitlab.com>2020-05-17 23:54:35 +0000
commitdbde914a9bbc42bb5af41ef93f31cbe31a5adb29 (patch)
tree517ebe02a019bdfba912f53b5f55f15ce959dfd1
parentf052a7f2ea2e447910207b44811bab5c5d08c2aa (diff)
Bundle QtApng on Windows
-rw-r--r--.gitlab-ci.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index bc156198..5c1da369 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -83,6 +83,9 @@ build windows i686:
- git submodule init
- git submodule update
+ # Print versions
+ - /opt/mxe/usr/${TARGET_SPEC}/qt5/bin/qmake --version
+
# Extract BASS
- mkdir bass
- cd bass
@@ -94,6 +97,14 @@ build windows i686:
- cp bassopus.dll ../lib
- 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
- /opt/mxe/usr/${TARGET_SPEC}/qt5/bin/qmake "DEFINES += DISCORD BASSAUDIO"
- make -j4
@@ -165,6 +176,8 @@ deploy windows i686:
# Platform-specific
- cp -a ../lib/*.dll .
+ - mkdir imageformats
+ - cp -a ../lib/imageformats/*.dll imageformats/
- cp -a ../bin/Attorney_Online.exe .
# Zipping