Skip to content

Commit 9c0d5ae

Browse files
authored
fix build with a hack (#14)
1 parent ea1bf13 commit 9c0d5ae

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

azahar-appimage.sh

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ echo "$VERSION" > ~/version
4444
# HACK2
4545
sed -i '1i find_package(SPIRV-Headers)' ./externals/sirit/sirit/src/CMakeLists.txt
4646

47+
# HACK3
48+
qpaheader=$(find /usr/include -type f -name 'qplatformnativeinterface.h' -print -quit)
49+
sed -i "s|#include <qpa/qplatformnativeinterface.h>|#include <$qpaheader>|" ./src/citra_qt/bootmanager.cpp
50+
4751
mkdir ./build
4852
cd ./build
4953
cmake .. -DCMAKE_CXX_COMPILER=clang++ \
@@ -87,11 +91,6 @@ if [ "$DEVEL" = 'true' ]; then
8791
UPINFO="$(echo "$UPINFO" | sed 's|latest|nightly|')"
8892
fi
8993

90-
# allow using host vk for aarch64 given the sad situation
91-
if [ "$ARCH" = 'aarch64' ]; then
92-
echo 'SHARUN_ALLOW_SYS_VKICD=1' >> ./AppDir/.env
93-
fi
94-
9594
# MAKE APPIMAGE WITH URUNTIME
9695
wget --retry-connrefused --tries=30 "$URUNTIME" -O ./uruntime2appimage
9796
chmod +x ./uruntime2appimage

0 commit comments

Comments
 (0)