Merge remote-tracking branch 'upstream/cooker-0.5.4b' into cooker-configurator

This commit is contained in:
icenine451 2022-10-31 10:31:35 -04:00
commit 5ec8301336
3 changed files with 172 additions and 156 deletions

View file

@ -38,7 +38,8 @@ jobs:
#sync -rav --progress --exclude={'res/screenshots/','shared-modules/','rd-submodules/retroarch','.git/','docs','retrodeck-flatpak/','retrodeck-flatpak-cooker/','.flatpak-builder/'} ~/RetroDECK/ ~/flathub/ #sync -rav --progress --exclude={'res/screenshots/','shared-modules/','rd-submodules/retroarch','.git/','docs','retrodeck-flatpak/','retrodeck-flatpak-cooker/','.flatpak-builder/'} ~/RetroDECK/ ~/flathub/
cd $gits_folder/flathub cd $gits_folder/flathub
git checkout master
git checkout -b $relname
git rm -rf * git rm -rf *
git clean -fxd # restroing git index git clean -fxd # restroing git index

View file

@ -69,8 +69,26 @@
<releases> <releases>
<release version="0.5.4b" date="2022-10-31">
<url>https://github.com/XargonWan/RetroDECK/releases/tag/0.5.4b</url>
<description>
<ul>
<li>Updated RetroArch to v1.12.0</li>
<li>Updated PPSSPP (SA) to v1.13.2</li>
<li>Updated Yuzu to mainline-0-1218</li>
<li>Updated Citra (SA) to nightly-1802</li>
<li>Updated PCSX2-QT to nightly v1.7.3501</li>
<li>Updated Dolphin (SA) to latest on 31/10/2022</li>
<li>Updated Xemu to v0.7.71</li>
<li>Updated RPCS3 to latest on 31/10/2022</li>
<li>Updated Duckstation to latest on 31/10/2022</li>
</ul>
</description>
</release>
<release version="0.5.3b" date="2022-10-26"> <release version="0.5.3b" date="2022-10-26">
<url>https://github.com/XargonWan/RetroDECK/releases/tag/0.5.2b</url> <url>https://github.com/XargonWan/RetroDECK/releases/tag/0.5.3b</url>
<description> <description>
<ul> <ul>
<li>Fixed inaccessible RetroArch shaders folder</li> <li>Fixed inaccessible RetroArch shaders folder</li>
@ -78,7 +96,7 @@
<li>Fixed ROM visibility for Dolphin when running standalone, which should address ability to use AR/Gecko codes</li> <li>Fixed ROM visibility for Dolphin when running standalone, which should address ability to use AR/Gecko codes</li>
<li>Changed default RPCS3 launch method to fix games not starting properly</li> <li>Changed default RPCS3 launch method to fix games not starting properly</li>
<li>Fixed PCSX2-QT autosave loading issue</li> <li>Fixed PCSX2-QT autosave loading issue</li>
<li>(Hopefully) Fixed RetroAchievements login on PCSX2-QT</li> <li>Fixed RetroAchievements login on PCSX2-QT</li>
<li>Added Citra SA sysdata folder to RetroDECK BIOS folder</li> <li>Added Citra SA sysdata folder to RetroDECK BIOS folder</li>
<li>Added Yuzu save folders to RetroDECK saves folder</li> <li>Added Yuzu save folders to RetroDECK saves folder</li>
<li>Made Citra standalone the default 3DS emulator</li> <li>Made Citra standalone the default 3DS emulator</li>

View file

@ -76,7 +76,7 @@ modules:
- | - |
git checkout ${GITHUB_REF_NAME} git checkout ${GITHUB_REF_NAME}
mkdir -p ${FLATPAK_DEST}/retrodeck/ mkdir -p ${FLATPAK_DEST}/retrodeck/
VERSION="cooker-0.5.3b" VERSION="cooker-0.5.4b"
if [[ $VERSION == *"cooker"* ]]; if [[ $VERSION == *"cooker"* ]];
then then
VERSION="cooker-"$(git rev-parse --short HEAD) VERSION="cooker-"$(git rev-parse --short HEAD)
@ -289,7 +289,7 @@ modules:
sources: sources:
- type: git - type: git
url: https://github.com/libretro/RetroArch.git url: https://github.com/libretro/RetroArch.git
commit: 389ef31a8f4a505f255e9bfebe882750d22ab490 commit: 840c4481ab7cb0720025c30ea609d16e60927a02
- type: file - type: file
path: rd-submodules/retroarch/retroarch.cfg path: rd-submodules/retroarch/retroarch.cfg
post-install: post-install:
@ -322,7 +322,7 @@ modules:
sources: sources:
- type: git - type: git
url: https://github.com/libretro/RetroArch.git url: https://github.com/libretro/RetroArch.git
commit: 389ef31a8f4a505f255e9bfebe882750d22ab490 commit: 840c4481ab7cb0720025c30ea609d16e60927a02
- name: retroarch-filers-audio - name: retroarch-filers-audio
subdir: libretro-common/audio/dsp_filters subdir: libretro-common/audio/dsp_filters
make-install-args: make-install-args:
@ -330,7 +330,7 @@ modules:
sources: sources:
- type: git - type: git
url: https://github.com/libretro/RetroArch.git url: https://github.com/libretro/RetroArch.git
commit: 389ef31a8f4a505f255e9bfebe882750d22ab490 commit: 840c4481ab7cb0720025c30ea609d16e60927a02
- name: retroarch-assets - name: retroarch-assets
make-install-args: make-install-args:
- PREFIX=${FLATPAK_DEST} - PREFIX=${FLATPAK_DEST}
@ -344,21 +344,21 @@ modules:
sources: sources:
- type: git - type: git
url: https://github.com/libretro/libretro-database.git url: https://github.com/libretro/libretro-database.git
commit: 772011a54392aab6be1302bf1bd8aa1cc0c0c6c2 commit: bc488c79cdc36ea1076a2941f2e6e32365d5f53e
- name: libretro-core-info - name: libretro-core-info
make-install-args: make-install-args:
- PREFIX=${FLATPAK_DEST} - PREFIX=${FLATPAK_DEST}
sources: sources:
- type: git - type: git
url: https://github.com/libretro/libretro-core-info.git url: https://github.com/libretro/libretro-core-info.git
commit: 90eff5d4e72db1b5929af7210c9b665c33034536 commit: 7744a25a0e418703e24a4bd7a2208d5a12ae8a7a
- name: retroarch-joypad-autoconfig - name: retroarch-joypad-autoconfig
make-install-args: make-install-args:
- PREFIX=${FLATPAK_DEST} - PREFIX=${FLATPAK_DEST}
sources: sources:
- type: git - type: git
url: https://github.com/libretro/retroarch-joypad-autoconfig.git url: https://github.com/libretro/retroarch-joypad-autoconfig.git
commit: a3b5067b8954f15e8e87eeed71a4262f0ea7fd1c commit: 948fff0a12e487266eebef14774f17b7b881a728
- name: common-shaders - name: common-shaders
make-install-args: make-install-args:
- PREFIX=${FLATPAK_DEST} - PREFIX=${FLATPAK_DEST}
@ -372,7 +372,7 @@ modules:
sources: sources:
- type: git - type: git
url: https://github.com/libretro/slang-shaders.git url: https://github.com/libretro/slang-shaders.git
commit: f8f99ee220edbf2c5df2714a73d46faea43e62e2 commit: 9e89aafe0f6a63645445ca8302b88e4060274c72
- name: glsl-shaders - name: glsl-shaders
make-install-args: make-install-args:
- PREFIX=${FLATPAK_DEST} - PREFIX=${FLATPAK_DEST}
@ -412,79 +412,99 @@ modules:
- -DUSE_SYSTEM_ZSTD=ON - -DUSE_SYSTEM_ZSTD=ON
- -DUSE_WAYLAND_WSI=ON - -DUSE_WAYLAND_WSI=ON
- -DUSING_X11_VULKAN=ON #- -DUSING_X11_VULKAN=ON
- -DUSING_QT_UI=OFF - -DUSING_QT_UI=OFF
- -DBUILD_TESTING=OFF - -DBUILD_TESTING=OFF
- -DOpenGL_GL_PREFERENCE=GLVND - -DOpenGL_GL_PREFERENCE=GLVND
build-options: #build-options:
- -DX86_64=ON #- -DX86_64=ON
cleanup:
- /share/ppsspp/assets/lang/README.md
sources: sources:
- type: git - type: git
url: https://github.com/hrydgard/ppsspp.git url: &ppsspp-url https://github.com/hrydgard/ppsspp.git
tag: v1.13.2 tag: &ppsspp-tag v1.13.2
commit: 9fe6338e3bf397f8a009a51a282c139dfa180eb6 commit: &ppsspp-commit 9fe6338e3bf397f8a009a51a282c139dfa180eb6
x-checker-data: x-checker-data:
type: git type: git
tag-pattern: ^v([\d.]+)$ tag-pattern: ^v([\d.]+)$
is-main-source: true
- name: ppsspp-localization
buildsystem: simple
build-commands:
- |
for LANG_FILE in assets/lang/*.ini; do
LANG_FILE_NAME="$(basename "$LANG_FILE")"
LANG_PREFIX="${LANG_FILE_NAME:0:2}"
LANG_DEST="$FLATPAK_DEST/share/locale/$LANG_PREFIX/ppsspp/$LANG_FILE_NAME";
ln -fsr "$LANG_DEST" "$FLATPAK_DEST/share/ppsspp/$LANG_FILE"
install -Dm644 "$LANG_FILE" "$LANG_DEST"
done
sources:
- type: shell
commands:
- cp -a $FLATPAK_DEST/share/ppsspp/assets .
# PPSSPP Flathub Workaround - START # PPSSPP Flathub Workaround - START
# This workaround disables the PPSSPP libraries (disable-submodules: true) and install them separately # This workaround disables the PPSSPP libraries (disable-submodules: true) and install them separately
# This is only to make it buildable by the flathub builder as normaly it seems not to be needed # This is only to make it buildable by the flathub builder as normaly it seems not to be needed
disable-submodules: true # disable-submodules: true
- type: git # - type: git
dest: SDL/macOS # dest: SDL/macOS
commit: f19a1d54b8a5af6cc378ea307e0ec676922eb4cc # commit: f19a1d54b8a5af6cc378ea307e0ec676922eb4cc
url: https://github.com/hrydgard/ppsspp-mac-sdl # url: https://github.com/hrydgard/ppsspp-mac-sdl
- type: git # - type: git
dest: assets/debugger # dest: assets/debugger
commit: 36ad6b19b22de2075a01a4f0c765e3ef514dc38f # commit: 36ad6b19b22de2075a01a4f0c765e3ef514dc38f
url: https://github.com/unknownbrackets/ppsspp-debugger.git # url: https://github.com/unknownbrackets/ppsspp-debugger.git
- type: git # - type: git
dest: dx9sdk # dest: dx9sdk
commit: 7751cf73f5c06f1be21f5f31c3e2d9a7bacd3a93 # commit: 7751cf73f5c06f1be21f5f31c3e2d9a7bacd3a93
url: https://github.com/hrydgard/minidx9.git # url: https://github.com/hrydgard/minidx9.git
- type: git # - type: git
dest: ext/SPIRV-Cross # dest: ext/SPIRV-Cross
commit: 9acb9ec31f5a8ef80ea6b994bb77be787b08d3d1 # commit: 9acb9ec31f5a8ef80ea6b994bb77be787b08d3d1
url: https://github.com/KhronosGroup/SPIRV-Cross.git # url: https://github.com/KhronosGroup/SPIRV-Cross.git
- type: git # - type: git
dest: ext/armips # dest: ext/armips
commit: 7885552b208493a6a0f21663770c446c3ba65576 # commit: 7885552b208493a6a0f21663770c446c3ba65576
url: https://github.com/Kingcom/armips.git # url: https://github.com/Kingcom/armips.git
- type: git # - type: git
dest: ext/discord-rpc # dest: ext/discord-rpc
commit: 963aa9f3e5ce81a4682c6ca3d136cddda614db33 # commit: 963aa9f3e5ce81a4682c6ca3d136cddda614db33
url: https://github.com/discordapp/discord-rpc.git # url: https://github.com/discordapp/discord-rpc.git
- type: git # - type: git
dest: ext/glslang # dest: ext/glslang
commit: dc11adde23c455a24e13dd54de9b4ede8bdd7db8 # commit: dc11adde23c455a24e13dd54de9b4ede8bdd7db8
url: https://github.com/hrydgard/glslang.git # url: https://github.com/hrydgard/glslang.git
- type: git # - type: git
dest: ext/miniupnp # dest: ext/miniupnp
commit: 3a87be33e797ba947b2b2a5f8d087f6c3ff4d93e # commit: 3a87be33e797ba947b2b2a5f8d087f6c3ff4d93e
url: https://github.com/hrydgard/miniupnp.git # url: https://github.com/hrydgard/miniupnp.git
- type: git # - type: git
dest: ext/native/tools/prebuilt # dest: ext/native/tools/prebuilt
commit: cbea79dc8fef4d9210e2bac7e7b9b5ff3388197a # commit: cbea79dc8fef4d9210e2bac7e7b9b5ff3388197a
url: https://github.com/hrydgard/ppsspp-freetype.git # url: https://github.com/hrydgard/ppsspp-freetype.git
- type: git # - type: git
dest: ext/rapidjson # dest: ext/rapidjson
commit: 73063f5002612c6bf64fe24f851cd5cc0d83eef9 # commit: 73063f5002612c6bf64fe24f851cd5cc0d83eef9
disable-submodules: true # disable-submodules: true
url: https://github.com/Tencent/rapidjson.git # url: https://github.com/Tencent/rapidjson.git
- type: git # - type: git
dest: ext/zstd # dest: ext/zstd
commit: a488ba114ec17ea1054b9057c26a046fc122b3b6 # commit: a488ba114ec17ea1054b9057c26a046fc122b3b6
url: https://github.com/facebook/zstd.git # url: https://github.com/facebook/zstd.git
- type: git # - type: git
dest: ffmpeg # dest: ffmpeg
commit: 3ad7ddb9eb2af898dce8c4b5e9a28b77b3f7ddd7 # commit: 3ad7ddb9eb2af898dce8c4b5e9a28b77b3f7ddd7
url: https://github.com/hrydgard/ppsspp-ffmpeg.git # url: https://github.com/hrydgard/ppsspp-ffmpeg.git
- type: git # - type: git
dest: pspautotests # dest: pspautotests
commit: 682a4303aba63a50c91ae0fa6928c9dac8ca9b92 # commit: 682a4303aba63a50c91ae0fa6928c9dac8ca9b92
url: https://github.com/hrydgard/pspautotests.git # url: https://github.com/hrydgard/pspautotests.git
# PPSSPP Flathub Workaround - END # PPSSPP Flathub Workaround - END
# PPSSPP - END # PPSSPP - END
@ -540,8 +560,8 @@ modules:
- -DCMAKE_BUILD_TYPE=Release - -DCMAKE_BUILD_TYPE=Release
sources: sources:
- type: archive - type: archive
url: https://github.com/KhronosGroup/glslang/archive/11.11.0.tar.gz url: https://github.com/KhronosGroup/glslang/archive/11.12.0.tar.gz
sha256: 26c216c3062512c018cbdd752224b8dad703b7e5bb90bf338ba2dbb5d4f11438 sha256: 7795a97450fecd9779f3d821858fbc2d1a3bf1dd602617d95b685ccbcabc302f
x-checker-data: x-checker-data:
type: anitya type: anitya
stable-only: true stable-only: true
@ -556,8 +576,8 @@ modules:
builddir: true builddir: true
sources: sources:
- type: archive - type: archive
url: https://github.com/catchorg/Catch2/archive/v2.13.9.tar.gz url: https://github.com/catchorg/Catch2/archive/v2.13.10.tar.gz
sha256: 06dbc7620e3b96c2b69d57bf337028bf245a211b3cddb843835bfe258f427a52 sha256: d54a712b7b1d7708bc7a819a8e6e47b2fde9536f487b89ccbca295072a7d9943
x-checker-data: x-checker-data:
type: anitya type: anitya
stable-only: true stable-only: true
@ -620,8 +640,8 @@ modules:
- -DENABLE_COMPATIBILITY_LIST_DOWNLOAD=ON - -DENABLE_COMPATIBILITY_LIST_DOWNLOAD=ON
- -DYUZU_USE_QT_WEB_ENGINE=ON - -DYUZU_USE_QT_WEB_ENGINE=ON
- -DYUZU_USE_BUNDLED_FFMPEG=ON - -DYUZU_USE_BUNDLED_FFMPEG=ON
- -DDISPLAY_VERSION=1195 - -DDISPLAY_VERSION=1218
- -DBUILD_TAG=mainline-1195 - -DBUILD_TAG=mainline-1218
- -DBUILD_REPOSITORY=yuzu-emu/yuzu-mainline - -DBUILD_REPOSITORY=yuzu-emu/yuzu-mainline
#- -DCMAKE_PREFIX_PATH=/run/build/yuzu/_flatpak_build/externals/qt5_5_15_2 #- -DCMAKE_PREFIX_PATH=/run/build/yuzu/_flatpak_build/externals/qt5_5_15_2
build-options: build-options:
@ -639,8 +659,8 @@ modules:
#- disable-submodules: true # FLATHUB WORKAROUND #- disable-submodules: true # FLATHUB WORKAROUND
- type: git - type: git
url: https://github.com/yuzu-emu/yuzu-mainline.git url: https://github.com/yuzu-emu/yuzu-mainline.git
tag: mainline-0-1195 tag: mainline-0-1218
commit: 04db31a25a51f2daa296776eb4e58496ee74d49e commit: 3fde85883904f43f2ae8aa0701250b4ea0d1c2a6
disable-shallow-clone: true disable-shallow-clone: true
x-checker-data: x-checker-data:
type: git type: git
@ -734,7 +754,7 @@ modules:
# CITRA - END # CITRA - END
# PCSX2 - START # PCSX2 (Deprecated)- START
# https://github.com/flathub/net.pcsx2.PCSX2 # https://github.com/flathub/net.pcsx2.PCSX2
- name: wxWidgets - name: wxWidgets
@ -951,7 +971,6 @@ modules:
- name: pcsx2-qt-appimage - name: pcsx2-qt-appimage
buildsystem: simple buildsystem: simple
build-commands: build-commands:
- ls -la #debug
- chmod +x pcsx2*.AppImage - chmod +x pcsx2*.AppImage
- ./pcsx2*.AppImage --appimage-extract - ./pcsx2*.AppImage --appimage-extract
- mkdir -p "${FLATPAK_DEST}/pcsx2-qt" - mkdir -p "${FLATPAK_DEST}/pcsx2-qt"
@ -959,8 +978,8 @@ modules:
- ln -s "${FLATPAK_DEST}/pcsx2-qt/usr/bin/pcsx2-qt" "${FLATPAK_DEST}/bin/pcsx2-qt" - ln -s "${FLATPAK_DEST}/pcsx2-qt/usr/bin/pcsx2-qt" "${FLATPAK_DEST}/bin/pcsx2-qt"
sources: sources:
- type: file - type: file
url: https://github.com/PCSX2/pcsx2/releases/download/v1.7.3478/pcsx2-v1.7.3478-linux-AppImage-64bit-AVX2-Qt.AppImage url: https://github.com/PCSX2/pcsx2/releases/download/v1.7.3501/pcsx2-v1.7.3501-linux-AppImage-64bit-AVX2-Qt.AppImage
sha256: c36e22cb49656d1997255bfe9491217349c05f5179ca3b47475f7d2280588014 sha256: 104e8dae653aeb1fa7c75a4cc0fd07038715e75c1f7d40d111428ae83279356c
# PCSX2 - END # PCSX2 - END
@ -986,8 +1005,8 @@ modules:
- --with-dbussessionbusdir=/app/usr/lib/system-services - --with-dbussessionbusdir=/app/usr/lib/system-services
sources: sources:
- type: archive - type: archive
url: https://www.kernel.org/pub/linux/bluetooth/bluez-5.64.tar.xz url: https://www.kernel.org/pub/linux/bluetooth/bluez-5.65.tar.xz
sha256: ae437e65b6b3070c198bc5b0109fe9cdeb9eaa387380e2072f9de65fe8a1de34 sha256: 2565a4d48354b576e6ad92e25b54ed66808296581c8abb80587051f9993d96d4
x-checker-data: x-checker-data:
type: anitya type: anitya
project-id: 10029 project-id: 10029
@ -1035,7 +1054,14 @@ modules:
sources: sources:
- type: git - type: git
url: https://github.com/dolphin-emu/dolphin.git url: https://github.com/dolphin-emu/dolphin.git
commit: 8335ec70e5fe253eb21509408ca6b5736ed57dfc commit: 48c9c224cf9f82f0f9f2690b7cc6283d7448480c
x-checker-data:
type: json
url: https://dolphin-emu.org/update/latest/beta
commit-query: .hash
version-query: .shortrev
timestamp-query: .date
is-main-source: true
# detects whether dolphin is running in a flatpak sandbox # detects whether dolphin is running in a flatpak sandbox
# and makes it use xdg directories if it is. # and makes it use xdg directories if it is.
# prevents dolphin from attempting to write conf files # prevents dolphin from attempting to write conf files
@ -1048,17 +1074,19 @@ modules:
path: rd-submodules/dolphin/nodirtyversion.patch path: rd-submodules/dolphin/nodirtyversion.patch
- type: script - type: script
commands: commands:
- for i in {0..9}; do - |
- test -S $XDG_RUNTIME_DIR/discord-ipc-$i || ln -sf {app/com.discordapp.Discord,$XDG_RUNTIME_DIR}/discord-ipc-$i; for i in {0..9}; do
- done test -S $XDG_RUNTIME_DIR/discord-ipc-$i ||
ln -sf {app/com.discordapp.Discord,$XDG_RUNTIME_DIR}/discord-ipc-$i;
done
# use gtk3 filechooser on steamdeck # use gtk3 filechooser on steamdeck
- bv=`cat /sys/devices/virtual/dmi/id/board_vendor` bv=`cat /sys/devices/virtual/dmi/id/board_vendor`
- bv=$bv`cat /sys/devices/virtual/dmi/id/board_name` bv=$bv`cat /sys/devices/virtual/dmi/id/board_name`
- if [[ $bv == "ValveJupiter" ]]; then if [[ $bv == "ValveJupiter" ]]; then
- QT_QPA_PLATFORMTHEME=gtk3 dolphin-emu "$@" QT_QPA_PLATFORMTHEME=gtk3 dolphin-emu "$@"
- else else
- dolphin-emu "$@" dolphin-emu "$@"
- fi fi
dest-filename: dolphin-emu-wrapper dest-filename: dolphin-emu-wrapper
# Dolphin - END # Dolphin - END
@ -1117,8 +1145,8 @@ modules:
sources: sources:
- type: git - type: git
url: https://github.com/mborgerson/xemu.git url: https://github.com/mborgerson/xemu.git
tag: v0.7.70 tag: v0.7.71
commit: 080022833db0896b8af4482e726200acd51507a0 commit: 22db3304a454b2d289a9d5ea488fa3c3dec836f4
x-checker-data: x-checker-data:
type: json type: json
url: https://api.github.com/repos/mborgerson/xemu/releases/latest url: https://api.github.com/repos/mborgerson/xemu/releases/latest
@ -1160,62 +1188,15 @@ modules:
#- shared-modules/glu/glu-9.json #- shared-modules/glu/glu-9.json
- shared-modules/glew/glew.json - shared-modules/glew/glew.json
- name: rpcs3-llvm
buildsystem: cmake-ninja
builddir: true
build-options:
cflags: &optflags -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong
-grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection
-fcf-protection -fno-omit-frame-pointer
cflags-override: true
cxxflags: -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong
-grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection
-fcf-protection -fno-omit-frame-pointer -msse -msse2 -mcx16
cxxflags-override: true
env:
AR: llvm-ar
CC: clang
CXX: clang++
RANLIB: llvm-ranlib
ldflags: -fuse-ld=lld
prepend-ld-library-path: /usr/lib/sdk/llvm14/lib
prepend-path: /usr/lib/sdk/llvm14/bin
config-opts:
- -DCMAKE_BUILD_TYPE=Release
- -DBUILD_SHARED_LIBS=OFF
- -DLLVM_CCACHE_BUILD=ON
- -DLLVM_TARGETS_TO_BUILD='X86'
- -DLLVM_BUILD_RUNTIME=OFF
- -DLLVM_BUILD_TOOLS=OFF
- -DLLVM_INCLUDE_DOCS=OFF
- -DLLVM_INCLUDE_EXAMPLES=OFF
- -DLLVM_INCLUDE_TESTS=OFF
- -DLLVM_INCLUDE_TOOLS=OFF
- -DLLVM_INCLUDE_UTILS=OFF
- -DLLVM_USE_INTEL_JITEVENTS=ON
- -DLLVM_USE_PERF=ON
- -DLLVM_ENABLE_Z3_SOLVER=OFF
- -DCMAKE_CXX_STANDARD=17
- -DITTAPI_SOURCE_DIR=/run/build/rpcs3-llvm/ittapi
- -Wno-dev
cleanup:
- '*'
sources:
- type: git
url: https://github.com/RPCS3/llvm-mirror.git
commit: c725f494c91611018f5d830eca22c0a1662c0f31
- type: git
url: https://github.com/intel/ittapi.git
dest: ittapi/ittapi
disable-shallow-clone: true
- name: rpcs3 - name: rpcs3
buildsystem: cmake-ninja buildsystem: cmake-ninja
builddir: true builddir: true
build-options: build-options:
append-ld-library-path: /usr/lib/sdk/llvm14/lib append-ld-library-path: /usr/lib/sdk/llvm14/lib
append-path: /usr/lib/sdk/llvm14/bin append-path: /usr/lib/sdk/llvm14/bin
cflags: *optflags cflags: &optflags -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong
-grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection
-fcf-protection -fno-omit-frame-pointer
cflags-override: true cflags-override: true
cxxflags: *optflags cxxflags: *optflags
cxxflags-override: true cxxflags-override: true
@ -1227,13 +1208,14 @@ modules:
ldflags: -fuse-ld=lld ldflags: -fuse-ld=lld
config-opts: config-opts:
- -DCMAKE_BUILD_TYPE=RelWithDebInfo - -DCMAKE_BUILD_TYPE=RelWithDebInfo
- -DBUILD_LLVM_SUBMODULE=OFF - -DBUILD_LLVM_SUBMODULE=ON
- -DUSE_NATIVE_INSTRUCTIONS=OFF - -DUSE_NATIVE_INSTRUCTIONS=OFF
- -DUSE_PRECOMPILED_HEADERS=OFF - -DUSE_PRECOMPILED_HEADERS=OFF
- -DUSE_SYSTEM_CURL=ON - -DUSE_SYSTEM_CURL=ON
- -DUSE_SYSTEM_FFMPEG=ON - -DUSE_SYSTEM_FFMPEG=ON
- -DUSE_SYSTEM_LIBPNG=ON - -DUSE_SYSTEM_LIBPNG=ON
- -DUSE_SYSTEM_ZLIB=ON - -DUSE_SYSTEM_ZLIB=ON
- -DITTAPI_SOURCE_DIR=/run/build/rpcs3/ittapi
- -Wno-dev - -Wno-dev
post-install: post-install:
- | - |
@ -1244,7 +1226,14 @@ modules:
sources: sources:
- type: git - type: git
url: https://github.com/RPCS3/rpcs3.git url: https://github.com/RPCS3/rpcs3.git
commit: 9d9e18f6147760f2502401ea0b0d4b3524f051c8 branch: master
commit: 8d5a9dc722de8e8e881adf8c7f16e76226a1dad8
- type: git
url: https://github.com/intel/ittapi.git
branch: master
commit: 2428ed97aa977c66b30940081e7d3e9b1a3c7402
dest: ittapi/ittapi
disable-shallow-clone: true
# RPCS3 - END # RPCS3 - END
@ -1296,7 +1285,7 @@ modules:
no-make-install: true no-make-install: true
builddir: true builddir: true
config-opts: config-opts:
- -DCMAKE_BUILD_TYPE=Release - -DCMAKE_BUILD_TYPE=RelWithDebInfo
- -DUSE_EGL=ON - -DUSE_EGL=ON
- -DUSE_SDL2=ON - -DUSE_SDL2=ON
- -DUSE_WAYLAND=ON - -DUSE_WAYLAND=ON
@ -1304,16 +1293,24 @@ modules:
- -DUSE_DRMKMS=ON - -DUSE_DRMKMS=ON
- -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON - -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON
post-install: post-install:
- install -m 755 -t /app/bin/ bin/duckstation-nogui bin/duckstation-qt - install -m755 bin/duckstation-qt /app/bin
- |- - |-
for px in 16 32 48 64 128 256; do for image in ../*px.png; do
install -Dm644 ../extras/icons/icon-${px}px.png /app/share/icons/hicolor/${px}x${px}/apps/org.duckstation.DuckStation.png icon=${image%px*}
px=${icon#*-}
install -Dm644 $image /app/share/icons/hicolor/${px}x${px}/apps/org.duckstation.DuckStation.png
done done
- cp -r ../data/* bin/translations /app/bin - cp -r ../data/* bin/translations /app/bin
sources: sources:
- type: git - type: git
url: https://github.com/stenzek/duckstation.git url: https://github.com/stenzek/duckstation.git
commit: 3fb61865e505ba639609fbf16cb8bdf5c66e020c branch: master
commit: 6f709468601183083b8581d4952aaba7baf77084
# Cloning dep/msvc/qt is only necessary for Windows
disable-submodules: true
- type: dir
path: icons
# Duckstation - END # Duckstation - END