mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-29 00:55:42 +00:00
Merge remote-tracking branch
This commit is contained in:
commit
3d5d93d8e3
|
@ -5,7 +5,7 @@ runtime-version: 5.15-21.08
|
|||
sdk: org.kde.Sdk
|
||||
sdk-extensions:
|
||||
- org.freedesktop.Sdk.Extension.llvm14 # Needed for rpcs3
|
||||
- org.freedesktop.Sdk.Extension.dotnet6 # Needed for Ryujinx
|
||||
#- org.freedesktop.Sdk.Extension.dotnet6 # Needed for Ryujinx - Removed, check if it's not breaking something else
|
||||
base: io.qt.qtwebengine.BaseApp # Needed for Yuzu
|
||||
base-version: 5.15-21.08 # Needed for Yuzu
|
||||
command: retrodeck.sh
|
||||
|
@ -465,8 +465,8 @@ modules:
|
|||
- ln -s "${FLATPAK_DEST}/yuzu/usr/bin/yuzu" "${FLATPAK_DEST}/bin/yuzu"
|
||||
sources:
|
||||
- type: file
|
||||
url: https://github.com/yuzu-emu/yuzu-mainline/releases/download/mainline-0-1248/yuzu-mainline-20221123-5d9bec400.AppImage
|
||||
sha256: 16f92b054872d000959e93d889c42126241446a5fae7be44382d0bac77c5261a
|
||||
url: https://github.com/yuzu-emu/yuzu-mainline/releases/download/mainline-0-1255/yuzu-mainline-20221129-9034d5328.AppImage
|
||||
sha256: efa8ee53ba17b3296a59573d4f2dd838bf6f0fd7455f58f4dbf4ad82a7585427
|
||||
|
||||
# Yuzu - END
|
||||
|
||||
|
@ -922,17 +922,7 @@ modules:
|
|||
# Cemu - START
|
||||
# https://github.com/cemu-project/Cemu/releases
|
||||
|
||||
#- name: libsepol
|
||||
# buildsystem: simple
|
||||
# build-commands:
|
||||
# - |
|
||||
# cd libsepol
|
||||
# make
|
||||
# make install PREFIX=${FLATPAK_DEST}
|
||||
# sources:
|
||||
# - type: git
|
||||
# url: https://github.com/SELinuxProject/selinux.git
|
||||
# commit: 0a8c177dacdc1df96ea11bb8aa75e16c4fa82285
|
||||
# Yes, this is old, do not update as we need libespol.so.1
|
||||
|
||||
#- name: Cemu-binary
|
||||
# buildsystem: simple
|
||||
|
@ -950,6 +940,72 @@ modules:
|
|||
|
||||
# Cemu - END
|
||||
|
||||
# Ryujinx - START
|
||||
# NOTE: if this module is not the last one (before RetroDECK) it will break
|
||||
# https://ryujinx.org/download
|
||||
|
||||
- name: Ryujinx
|
||||
buildsystem: simple
|
||||
build-options:
|
||||
no-debuginfo: true
|
||||
no-debuginfo-compression: true,
|
||||
strip: false
|
||||
arch:
|
||||
x86_64:
|
||||
env:
|
||||
RUNTIME: linux-x64
|
||||
env:
|
||||
PKG_CONFIG_PATH: /app/lib/pkgconfig:/app/share/pkgconfig:/usr/lib/pkgconfig:/usr/share/pkgconfig
|
||||
DOTNET_CLI_TELEMETRY_OPTOUT: 'true'
|
||||
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 'true'
|
||||
RYUJINX_VERSION: 1.1.398
|
||||
RYUJINX_TARGET_RELEASE_CHANNEL_OWNER: flathub
|
||||
RYUJINX_TARGET_RELEASE_CHANNEL_REPO: org.ryujinx.Ryujinx
|
||||
RYUJINX_TARGET_RELEASE_CHANNEL_NAME: master
|
||||
build-commands:
|
||||
- |
|
||||
export PATH=$PATH:/run/build/Ryujinx/dotnet-sdk
|
||||
export RYUJINX_GIT_SHORT_HASH=$(git rev-parse --short HEAD)
|
||||
export RUNTIME_FRAMEWORK_VERSION=$(find nuget-sources -name 'microsoft.netcore.app.host.linux-x64.*' | grep -oP '(\d.\d.\d+.nupkg)' | grep -oP '(\d.\d.\d+)')
|
||||
sed -r --in-place "s/\%\%RYUJINX_BUILD_VERSION\%\%/$RYUJINX_VERSION/g;" Ryujinx.Common/ReleaseInformations.cs
|
||||
sed -r --in-place "s/\%\%RYUJINX_BUILD_GIT_HASH\%\%/$RYUJINX_GIT_SHORT_HASH/g;" Ryujinx.Common/ReleaseInformations.cs
|
||||
sed -r --in-place "s/\%\%RYUJINX_TARGET_RELEASE_CHANNEL_NAME\%\%/$RYUJINX_TARGET_RELEASE_CHANNEL_NAME/g;" Ryujinx.Common/ReleaseInformations.cs
|
||||
sed -r --in-place "s/\%\%RYUJINX_TARGET_RELEASE_CHANNEL_OWNER\%\%/$RYUJINX_TARGET_RELEASE_CHANNEL_OWNER/g;" Ryujinx.Common/ReleaseInformations.cs
|
||||
sed -r --in-place "s/\%\%RYUJINX_TARGET_RELEASE_CHANNEL_REPO\%\%/$RYUJINX_TARGET_RELEASE_CHANNEL_REPO/g;" Ryujinx.Common/ReleaseInformations.cs
|
||||
mkdir -p /app/bin
|
||||
dotnet publish -c Release -r $RUNTIME /p:DebugType=embedded Ryujinx /p:Version=$RYUJINX_VERSION /p:SourceRevisionId=$RYUJINX_GIT_SHORT_HASH /p:ExtraDefineConstants=DISABLE_UPDATER /p:RuntimeFrameworkVersion=$RUNTIME_FRAMEWORK_VERSION --self-contained --source nuget-sources
|
||||
if [ $? -ne 0 ]; then
|
||||
exit 1;
|
||||
fi;
|
||||
cp -r --remove-destination /run/build/Ryujinx/Ryujinx/bin/Release/net7.0/$RUNTIME/publish/* /app/bin/
|
||||
mkdir -p /app/lib/ffmpeg
|
||||
ln -s /usr/lib/x86_64-linux-gnu/libX11.so.6 /app/lib/libX11.so
|
||||
install -Dm644 $FLATPAK_ID.appdata.xml /app/share/metainfo/$FLATPAK_ID.appdata.xml
|
||||
install -Dm755 ryujinx-wrapper /app/bin/ryujinx-wrapper
|
||||
install -Dm644 distribution/linux/ryujinx-logo.svg /app/share/icons/hicolor/scalable/apps/ryujinx.svg
|
||||
install -Dm644 distribution/linux/ryujinx-mime.xml /app/share/mime/packages/$FLATPAK_ID.mime.xml
|
||||
install -Dm644 distribution/linux/ryujinx.desktop /app/share/applications/$FLATPAK_ID.desktop
|
||||
desktop-file-edit --set-key="Exec" --set-value="ryujinx-wrapper %f" /app/share/applications/$FLATPAK_ID.desktop
|
||||
sources:
|
||||
- type: archive
|
||||
only-arches:
|
||||
- x86_64
|
||||
dest: dotnet-sdk
|
||||
url: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/7.0.100/dotnet-sdk-7.0.100-linux-x64.tar.gz
|
||||
sha256: 5d4a58eeca1a4ab095b55e6486b1278147b0ab121ce883b2bcde3d3626c9a81c
|
||||
x-checker-data:
|
||||
type: html
|
||||
url: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/7.0/latest.version
|
||||
version-pattern: ^([\d\.a-z-]+)$
|
||||
url-template: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/$version/dotnet-sdk-$version-linux-x64.tar.gz
|
||||
- rd-submodules/ryujinx/nuget_sources.json
|
||||
- type: git
|
||||
url: https://github.com/Ryujinx/Ryujinx.git
|
||||
commit: a5c2aead6795192158caeb79e785543a15b5b2f4
|
||||
# - type: file
|
||||
# path: ryujinx-wrapper
|
||||
|
||||
# Ryujinx - END
|
||||
|
||||
# External manifests end
|
||||
|
||||
|
|
|
@ -211,10 +211,10 @@
|
|||
},
|
||||
{
|
||||
"type": "file",
|
||||
"url": "https://api.nuget.org/v3-flatcontainer/opentk.redist.glfw/3.3.7.25/opentk.redist.glfw.3.3.7.25.nupkg",
|
||||
"sha512": "b650bff89b652c563d083ab6e8518717bae6be168d988da484180a91bd894105346e7d199d5e9d0d9f962f571efe2fe8dba8a59929bd68d856847a72a11b89ed",
|
||||
"url": "https://api.nuget.org/v3-flatcontainer/opentk.redist.glfw/3.3.8.30/opentk.redist.glfw.3.3.8.30.nupkg",
|
||||
"sha512": "2c0f00846b5ecc4e9ce429b3988f624f896924df8390faaf9c45429b1fb4e752f74c3f086b889cd9250e9a2a545db2f925c186030018cb2c3e3005dffc44aef3",
|
||||
"dest": "nuget-sources",
|
||||
"dest-filename": "opentk.redist.glfw.3.3.7.25.nupkg"
|
||||
"dest-filename": "opentk.redist.glfw.3.3.8.30.nupkg"
|
||||
},
|
||||
{
|
||||
"type": "file",
|
||||
|
@ -225,10 +225,10 @@
|
|||
},
|
||||
{
|
||||
"type": "file",
|
||||
"url": "https://api.nuget.org/v3-flatcontainer/opentk.windowing.graphicslibraryframework/4.7.2/opentk.windowing.graphicslibraryframework.4.7.2.nupkg",
|
||||
"sha512": "5c02b8d65a7be6722880a5c9a121684f95470c80dd6e317c132dedd6a5ba99122ed05c883d9aa2bd8bd569e20610909483347d910f957552053b7033d88a3e84",
|
||||
"url": "https://api.nuget.org/v3-flatcontainer/opentk.windowing.graphicslibraryframework/4.7.5/opentk.windowing.graphicslibraryframework.4.7.5.nupkg",
|
||||
"sha512": "74f7edbea70485aa43a5e5f08d6221674548d9a7cf1c9879576f7a21ef1e46812559f0306a7d6ca260f2446a62a75bbdeb7f5ad8ed749ccccdf21060f50a24d1",
|
||||
"dest": "nuget-sources",
|
||||
"dest-filename": "opentk.windowing.graphicslibraryframework.4.7.2.nupkg"
|
||||
"dest-filename": "opentk.windowing.graphicslibraryframework.4.7.5.nupkg"
|
||||
},
|
||||
{
|
||||
"type": "file",
|
||||
|
@ -442,10 +442,10 @@
|
|||
},
|
||||
{
|
||||
"type": "file",
|
||||
"url": "https://api.nuget.org/v3-flatcontainer/opentk.mathematics/4.7.2/opentk.mathematics.4.7.2.nupkg",
|
||||
"sha512": "865157b30d62c8bcbe0ca52d4ac14a6293a33c358d97115f3aafa267c43623f0a3ca22a2eb81194da0197de36dcd849aaed8f3f6270e75e6a47454df41a59876",
|
||||
"url": "https://api.nuget.org/v3-flatcontainer/opentk.mathematics/4.7.5/opentk.mathematics.4.7.5.nupkg",
|
||||
"sha512": "6b66bd3a3b81e38f60c67f925718aeb103ce556d8424f654bdc1e77df8fca018b570c911c7c9d95b298d0f38e39a08038d1c7572ea28cb171945199e72468d5d",
|
||||
"dest": "nuget-sources",
|
||||
"dest-filename": "opentk.mathematics.4.7.2.nupkg"
|
||||
"dest-filename": "opentk.mathematics.4.7.5.nupkg"
|
||||
},
|
||||
{
|
||||
"type": "file",
|
||||
|
@ -995,10 +995,10 @@
|
|||
},
|
||||
{
|
||||
"type": "file",
|
||||
"url": "https://api.nuget.org/v3-flatcontainer/opentk.openal/4.7.2/opentk.openal.4.7.2.nupkg",
|
||||
"sha512": "854219abd8c1873f20a35677c5c61828ae1d4aca79e8cb1c3cf1ce1b5a4075320234d8b6e4cd853d59b911c52a31939022952462b69339733a43073a7e8c41dd",
|
||||
"url": "https://api.nuget.org/v3-flatcontainer/opentk.openal/4.7.5/opentk.openal.4.7.5.nupkg",
|
||||
"sha512": "a8f6b0345b2ca924594449bb9ddb3b02ce083247d1ff127c99d7edbc0c9805467482d610881d78dd9853d8853ee50e1f87706c35bde92f4952d2fe82ede09498",
|
||||
"dest": "nuget-sources",
|
||||
"dest-filename": "opentk.openal.4.7.2.nupkg"
|
||||
"dest-filename": "opentk.openal.4.7.5.nupkg"
|
||||
},
|
||||
{
|
||||
"type": "file",
|
||||
|
@ -1394,10 +1394,10 @@
|
|||
},
|
||||
{
|
||||
"type": "file",
|
||||
"url": "https://api.nuget.org/v3-flatcontainer/opentk.core/4.7.2/opentk.core.4.7.2.nupkg",
|
||||
"sha512": "268f88b7f2391817383d00fb2dc71ed93e51520b3b583480eb3386a05c04842da85c9db14121e86065d6d9de7e657f6c9900b1c5b0e41f3a415809f24065e070",
|
||||
"url": "https://api.nuget.org/v3-flatcontainer/opentk.core/4.7.5/opentk.core.4.7.5.nupkg",
|
||||
"sha512": "094eb32380f21aedf38302de221f24d20536aeb15935d0ae819adb3d974c91fbe6874dcfdb6c6f02cba7db2e4b48782597a1dff9811e105958a02b265e5bd145",
|
||||
"dest": "nuget-sources",
|
||||
"dest-filename": "opentk.core.4.7.2.nupkg"
|
||||
"dest-filename": "opentk.core.4.7.5.nupkg"
|
||||
},
|
||||
{
|
||||
"type": "file",
|
||||
|
@ -1436,10 +1436,10 @@
|
|||
},
|
||||
{
|
||||
"type": "file",
|
||||
"url": "https://api.nuget.org/v3-flatcontainer/opentk.graphics/4.7.2/opentk.graphics.4.7.2.nupkg",
|
||||
"sha512": "8f3febdee59336340a62f94fbdbca67ede425b9b862e10bdd9ae8e6172bcf0280d79856769a1cd65d86d195553f11b09d1ad99ae3f3c847c526d8ee06e9f2825",
|
||||
"url": "https://api.nuget.org/v3-flatcontainer/opentk.graphics/4.7.5/opentk.graphics.4.7.5.nupkg",
|
||||
"sha512": "a8203d7210c3f88ba358d349a275a99b0f18d806444a70a2fe4caecd6fade2984a7eeb64fb8be3160add0d5c3fd6e87685cb25dd24c165fcd6c6c925846d95fa",
|
||||
"dest": "nuget-sources",
|
||||
"dest-filename": "opentk.graphics.4.7.2.nupkg"
|
||||
"dest-filename": "opentk.graphics.4.7.5.nupkg"
|
||||
},
|
||||
{
|
||||
"type": "file",
|
||||
|
|
Loading…
Reference in a new issue