mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-15 06:50:06 +00:00
30bf654d2f
* Create install_dependencies.sh * Create build.sh * Update ci.yml Add AppImage Builds * Delete unneeded line * Remove unneeded command Removed unneeded chmod a+x for a deleted file * Change cp command to mv Reduces AppImage file size by about 20mb * Update Install dependencies for Ninja builds * Change to Ninja build system Additionally adds the correct Build flags to make all Languages appear again and should make compatibility ratings appear again. Also removes unneeded empty folder. * add missing platformthemes This restores all previously missing Icons and Citra uses now the systems default filepicker. * Git make Executable * Remove unnecessary make scripts executable command * Change build to Debian 11 and use Docker * Change workflow for AppImage Docker builds * Change description of Command to the correct one * Fix themeing after switch to Debian 11 * Only upload .AppImage * Include AppImage in releases * Update upload.sh * Move to rev name --------- Co-authored-by: MT19048 <86961834+MT19048@users.noreply.github.com>
29 lines
1.1 KiB
Bash
Executable File
29 lines
1.1 KiB
Bash
Executable File
#!/bin/bash
|
|
|
|
#Building Citra
|
|
mkdir build
|
|
cd build
|
|
cmake .. -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=/usr/lib/ccache/gcc -DCMAKE_CXX_COMPILER=/usr/lib/ccache/g++ -DENABLE_QT_TRANSLATION=ON -DCITRA_ENABLE_COMPATIBILITY_REPORTING=${ENABLE_COMPATIBILITY_REPORTING:-"OFF"} -DENABLE_COMPATIBILITY_LIST_DOWNLOAD=ON -DUSE_DISCORD_PRESENCE=ON -DENABLE_FFMPEG_VIDEO_DUMPER=ON
|
|
ninja
|
|
|
|
ctest -VV -C Release
|
|
|
|
#Building AppDir
|
|
DESTDIR="./AppDir" ninja install
|
|
mv ./AppDir/usr/local/bin ./AppDir/usr
|
|
mv ./AppDir/usr/local/share ./AppDir/usr
|
|
rm -rf ./AppDir/usr/local
|
|
|
|
#Circumvent missing LibFuse in Docker, by extracting the AppImage
|
|
export APPIMAGE_EXTRACT_AND_RUN=1
|
|
|
|
#Copy External Libraries
|
|
mkdir -p ./AppDir/usr/plugins/platformthemes
|
|
mkdir -p ./AppDir/usr/plugins/styles
|
|
cp /usr/lib/x86_64-linux-gnu/qt5/plugins/platformthemes/libqt5ct.so ./AppDir/usr/plugins/platformthemes
|
|
cp /usr/lib/x86_64-linux-gnu/qt5/plugins/platformthemes/libqgtk3.so ./AppDir/usr/plugins/platformthemes
|
|
cp /usr/lib/x86_64-linux-gnu/qt5/plugins/styles/libqt5ct-style.so ./AppDir/usr/plugins/styles
|
|
|
|
#Build AppImage
|
|
/linuxdeploy-x86_64.AppImage --appdir AppDir --plugin qt --output appimage
|