Merge pull request #777 from XargonWan/feat/kde-update

feat/kde update
This commit is contained in:
XargonWan 2024-06-19 13:20:04 +09:00 committed by GitHub
commit 3a4edd5d27
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 21 additions and 31 deletions

View file

@ -1,9 +1,9 @@
app-id: net.retrodeck.retrodeck app-id: net.retrodeck.retrodeck
runtime: org.kde.Platform runtime: org.kde.Platform
runtime-version: "6.5" runtime-version: "6.7"
sdk: org.kde.Sdk sdk: org.kde.Sdk
sdk-extensions: sdk-extensions:
- org.freedesktop.Sdk.Extension.llvm16 # Needed for RPCS3 (llvm17 actually) - org.freedesktop.Sdk.Extension.llvm18 # Needed for RPCS3
- org.freedesktop.Sdk.Extension.rust-stable # Needed for BoilR - org.freedesktop.Sdk.Extension.rust-stable # Needed for BoilR
command: retrodeck.sh command: retrodeck.sh
@ -361,7 +361,7 @@ modules:
sources: sources:
- type: git - type: git
url: https://github.com/FFmpeg/FFmpeg.git url: https://github.com/FFmpeg/FFmpeg.git
tag: n5.1.1 tag: n5.1.4
- name: freeimage - name: freeimage
no-autogen: true no-autogen: true
@ -686,11 +686,10 @@ modules:
# PCSX2 - END # PCSX2 - END
# Dolphin - START - FROZEN UNTIL KDE 6.7 UPDATE # Dolphin - START
# https://github.com/flathub/org.DolphinEmu.dolphin-emu # https://github.com/flathub/org.DolphinEmu.dolphin-emu
# WHEN UPADTING: remember to update rd-submodules/dolphin contents # WHEN UPADTING: remember to update rd-submodules/dolphin contents
# needed for screensaver inhibition
- name: xdg-screensaver-shim - name: xdg-screensaver-shim
buildsystem: meson buildsystem: meson
sources: sources:
@ -717,7 +716,7 @@ modules:
# fatal: remote transport reported error # fatal: remote transport reported error
# url: ssh://git@github.com/dolphin-emu/dolphin.git # url: ssh://git@github.com/dolphin-emu/dolphin.git
url: https://github.com/dolphin-emu/dolphin.git url: https://github.com/dolphin-emu/dolphin.git
commit: 032c77b462a220016f23c5079e71bb23e0ad2adf commit: a9544510468740b77cf06ef28daaa65fe247fd32
x-checker-data: x-checker-data:
type: json type: json
url: https://dolphin-emu.org/update/latest/beta url: https://dolphin-emu.org/update/latest/beta
@ -852,18 +851,15 @@ modules:
# MELONDS - END # MELONDS - END
# RPCS3 - START - FROZEN UNTIL KDE 6.7 UPDATE # RPCS3 - START
# https://github.com/flathub/net.rpcs3.RPCS3 # https://github.com/flathub/net.rpcs3.RPCS3
- name: rpcs3 - name: rpcs3
buildsystem: cmake-ninja buildsystem: cmake-ninja
builddir: true builddir: true
build-options: build-options:
# llvm17 is not available in framework 6.5 but in 6.6, so we're trying llvm16 and cross our fingers until Primehack is updated (as Primehack breaks on 6.6) append-ld-library-path: /usr/lib/sdk/llvm18/lib
#append-ld-library-path: /usr/lib/sdk/llvm17/lib append-path: /usr/lib/sdk/llvm18/bin
#append-path: /usr/lib/sdk/llvm17/bin
append-ld-library-path: /usr/lib/sdk/llvm16/lib
append-path: /usr/lib/sdk/llvm16/bin
cflags: &optflags -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong cflags: &optflags -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong
-grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection
-fcf-protection -fno-omit-frame-pointer -fcf-protection -fno-omit-frame-pointer
@ -889,8 +885,7 @@ modules:
- -DUSE_SYSTEM_ZLIB=ON - -DUSE_SYSTEM_ZLIB=ON
- -Wno-dev - -Wno-dev
post-install: post-install:
#- cp /usr/lib/sdk/llvm17/lib/libLLVM-17.so /app/lib/ - cp /usr/lib/sdk/llvm18/lib/libLLVM.so.18.1 /app/lib/
- cp /usr/lib/sdk/llvm16/lib/libLLVM-16.so /app/lib/
- |- - |-
set -eux set -eux
COMM_TAG="$(awk -F'[\{,]' '/version{.*}/{printf "%d.%d.%d", $2, $3, $4}' ../rpcs3/rpcs3_version.cpp)" COMM_TAG="$(awk -F'[\{,]' '/version{.*}/{printf "%d.%d.%d", $2, $3, $4}' ../rpcs3/rpcs3_version.cpp)"
@ -899,11 +894,11 @@ modules:
sources: sources:
- type: git - type: git
url: https://github.com/RPCS3/rpcs3.git url: https://github.com/RPCS3/rpcs3.git
commit: 4ecf8ecd06c15f0557e1d9243f31e4c2d7baebe2 commit: 5b973448bf75a239f34fd9c7698c8a02b04e2ea9
# RPCS3 - END # RPCS3 - END
# PRIMEHACK - START - FROZEN UNTIL KDE 6.7 UPDATE # PRIMEHACK - START
# https://github.com/flathub/io.github.shiiion.primehack # https://github.com/flathub/io.github.shiiion.primehack
- name: primehack - name: primehack
@ -914,17 +909,14 @@ modules:
- -DENABLE_SDL=ON - -DENABLE_SDL=ON
- -DENABLE_EVDEV=ON - -DENABLE_EVDEV=ON
- -DDISTRIBUTOR=Flathub - -DDISTRIBUTOR=Flathub
- -DQT_DIR=
cleanup: cleanup:
- /share/man - /share/man
post-install: post-install:
- install -D primehack-wrapper /app/bin/primehack-wrapper - install -D primehack-wrapper /app/bin/primehack-wrapper
sources: sources:
- type: git - type: git
url: https://github.com/XargonWan/primehack url: https://github.com/shiiion/dolphin.git
commit: af7710ef7b04a632b4294eae5e0eff8fe9c4d1f8 commit: 81bfb9686afd2d190134b44dd72d3cee876fe2ab # This commit refers to the PR 166: https://github.com/shiiion/dolphin/pull/166, please change it when it's approved
#url: https://github.com/TheDrifter363/primehack.git
#commit: 6295c695307a67f11ee202b05cbdd7b5c1edae5c
# 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
@ -943,7 +935,7 @@ modules:
- primehack "$@" - primehack "$@"
dest-filename: primehack-wrapper dest-filename: primehack-wrapper
# # PRIMEHACK - END # PRIMEHACK - END
# Duckstation-AppImage - START - AUTOUPDATED # Duckstation-AppImage - START - AUTOUPDATED
# https://github.com/stenzek/duckstation/releases/tag/preview # https://github.com/stenzek/duckstation/releases/tag/preview

View file

@ -30,5 +30,4 @@ index 8d9dc2abb8..8a9d39a3d5 100644
const char* data_home = getenv("XDG_DATA_HOME"); const char* data_home = getenv("XDG_DATA_HOME");
std::string data_path = std::string data_path =
-- --
2.37.1 2.37.1

View file

@ -1,13 +1,12 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt diff --git a/CMake/ScmRevGen.cmake b/CMake/ScmRevGen.cmake
index 9af66009a1..2acd3bed9a 100644 index aacf7491ce..503791cda8 100644
--- a/CMakeLists.txt --- a/CMake/ScmRevGen.cmake
+++ b/CMakeLists.txt +++ b/CMake/ScmRevGen.cmake
@@ -149,7 +149,7 @@ if(GIT_FOUND) @@ -7,7 +7,7 @@ if(GIT_FOUND)
OUTPUT_VARIABLE DOLPHIN_WC_REVISION OUTPUT_VARIABLE DOLPHIN_WC_REVISION
OUTPUT_STRIP_TRAILING_WHITESPACE) OUTPUT_STRIP_TRAILING_WHITESPACE)
# defines DOLPHIN_WC_DESCRIBE # defines DOLPHIN_WC_DESCRIBE
- execute_process(WORKING_DIRECTORY ${PROJECT_SOURCE_DIR} COMMAND ${GIT_EXECUTABLE} describe --always --long --dirty - execute_process(WORKING_DIRECTORY ${PROJECT_SOURCE_DIR} COMMAND ${GIT_EXECUTABLE} describe --always --long --dirty
+ execute_process(WORKING_DIRECTORY ${PROJECT_SOURCE_DIR} COMMAND ${GIT_EXECUTABLE} describe --always --long + execute_process(WORKING_DIRECTORY ${PROJECT_SOURCE_DIR} COMMAND ${GIT_EXECUTABLE} describe --always --long
OUTPUT_VARIABLE DOLPHIN_WC_DESCRIBE OUTPUT_VARIABLE DOLPHIN_WC_DESCRIBE
OUTPUT_STRIP_TRAILING_WHITESPACE) OUTPUT_STRIP_TRAILING_WHITESPACE)