From d941df983ee5c263a51e1722c5fbc55fb6c1590a Mon Sep 17 00:00:00 2001 From: Stenzek Date: Sun, 5 Feb 2023 15:20:09 +1000 Subject: [PATCH] Qt: Ensure svg image format plugin gets included For some reason, it doesn't on the CI universal builds.. --- scripts/make-universal-macos-binary.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/make-universal-macos-binary.sh b/scripts/make-universal-macos-binary.sh index 585efbfa3..676235c5f 100755 --- a/scripts/make-universal-macos-binary.sh +++ b/scripts/make-universal-macos-binary.sh @@ -33,6 +33,11 @@ unset MACOSX_DEPLOYMENT_TARGET BINPATH=bin/DuckStation.app/Contents/MacOS/DuckStation lipo -create "build-x64/$BINPATH" "build-arm64/$BINPATH" -o "build-x64/$BINPATH" +# For some reason, the svg image format plugin doesn't get included in combined builds... +if [ -f $HOME/deps/plugins/imageformats/libqsvg.dylib ]; then + cp -v -n $HOME/deps/plugins/imageformats/libqsvg.dylib build-x64/bin/DuckStation.app/Contents/PlugIns/imageformats +fi + echo "Grab app..." mv build-x64/bin/DuckStation.app . rm -fr build-x64 build-arm64