mirror of
https://github.com/RetroDECK/org.DolphinEmu.dolphin-emu.git
synced 2024-11-26 07:35:39 +00:00
Merge pull request #253 from flathub/update-1e8f4a6
dolphin-emu: Update dolphin.git to 2409
This commit is contained in:
commit
35d8648f20
22
SDL2/SDL2-no-libdecor.json
Normal file
22
SDL2/SDL2-no-libdecor.json
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
{
|
||||||
|
"name": "SDL2",
|
||||||
|
"buildsystem": "autotools",
|
||||||
|
"config-opts": ["--disable-static"],
|
||||||
|
"sources": [
|
||||||
|
{
|
||||||
|
"type": "archive",
|
||||||
|
"url": "https://github.com/libsdl-org/SDL/releases/download/release-2.30.6/SDL2-2.30.6.tar.gz",
|
||||||
|
"sha256": "c6ef64ca18a19d13df6eb22df9aff19fb0db65610a74cc81dae33a82235cacd4"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"cleanup": [ "/bin/sdl2-config",
|
||||||
|
"/include",
|
||||||
|
"/lib/libSDL2.la",
|
||||||
|
"/lib/libSDL2main.a",
|
||||||
|
"/lib/libSDL2main.la",
|
||||||
|
"/lib/libSDL2_test.a",
|
||||||
|
"/lib/libSDL2_test.la",
|
||||||
|
"/lib/cmake",
|
||||||
|
"/share/aclocal",
|
||||||
|
"/lib/pkgconfig"]
|
||||||
|
}
|
|
@ -1,34 +0,0 @@
|
||||||
From f2d3b349d8487cf0ee50b36ba024ac513d36f826 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Carles Pastor <cpbadosa@gmail.com>
|
|
||||||
Date: Sat, 20 Aug 2022 13:35:32 +0200
|
|
||||||
Subject: [PATCH] Detect we are running inside a flatpak sandbox
|
|
||||||
|
|
||||||
---
|
|
||||||
Source/Core/UICommon/UICommon.cpp | 4 ++--
|
|
||||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/Source/Core/UICommon/UICommon.cpp b/Source/Core/UICommon/UICommon.cpp
|
|
||||||
index 8d9dc2abb8..8a9d39a3d5 100644
|
|
||||||
--- a/Source/Core/UICommon/UICommon.cpp
|
|
||||||
+++ b/Source/Core/UICommon/UICommon.cpp
|
|
||||||
@@ -348,7 +348,7 @@ void SetUserDirectory(std::string custom_path)
|
|
||||||
// -> Use GetExeDirectory()/User
|
|
||||||
// 2. $DOLPHIN_EMU_USERPATH is set
|
|
||||||
// -> Use $DOLPHIN_EMU_USERPATH
|
|
||||||
- // 3. ~/.dolphin-emu directory exists
|
|
||||||
+ // 3. ~/.dolphin-emu directory exists, and we're not in flatpak
|
|
||||||
// -> Use ~/.dolphin-emu
|
|
||||||
// 4. Default
|
|
||||||
// -> Use XDG basedir, see
|
|
||||||
@@ -381,7 +381,7 @@ void SetUserDirectory(std::string custom_path)
|
|
||||||
{
|
|
||||||
user_path = home_path + "." DOLPHIN_DATA_DIR DIR_SEP;
|
|
||||||
|
|
||||||
- if (!File::Exists(user_path))
|
|
||||||
+ if (File::Exists("/.flatpak-info") || !File::Exists(user_path))
|
|
||||||
{
|
|
||||||
const char* data_home = getenv("XDG_DATA_HOME");
|
|
||||||
std::string data_path =
|
|
||||||
--
|
|
||||||
2.37.1
|
|
||||||
|
|
|
@ -1,13 +0,0 @@
|
||||||
diff --git a/CMake/ScmRevGen.cmake b/CMake/ScmRevGen.cmake
|
|
||||||
index aacf7491ce..503791cda8 100644
|
|
||||||
--- a/CMake/ScmRevGen.cmake
|
|
||||||
+++ b/CMake/ScmRevGen.cmake
|
|
||||||
@@ -7,7 +7,7 @@ if(GIT_FOUND)
|
|
||||||
OUTPUT_VARIABLE DOLPHIN_WC_REVISION
|
|
||||||
OUTPUT_STRIP_TRAILING_WHITESPACE)
|
|
||||||
# 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
|
|
||||||
OUTPUT_VARIABLE DOLPHIN_WC_DESCRIBE
|
|
||||||
OUTPUT_STRIP_TRAILING_WHITESPACE)
|
|
||||||
|
|
|
@ -36,6 +36,9 @@
|
||||||
<id>dolphin-emu.desktop</id>
|
<id>dolphin-emu.desktop</id>
|
||||||
</provides>
|
</provides>
|
||||||
<releases>
|
<releases>
|
||||||
|
<release version="2409" date="2024-09-04">
|
||||||
|
<description></description>
|
||||||
|
</release>
|
||||||
<release version="2407" date="2024-07-02"/>
|
<release version="2407" date="2024-07-02"/>
|
||||||
<release version="5.0-21460" date="2024-04-29"/>
|
<release version="5.0-21460" date="2024-04-29"/>
|
||||||
<release version="5.0-21264" date="2024-03-26"/>
|
<release version="5.0-21264" date="2024-03-26"/>
|
||||||
|
|
|
@ -65,6 +65,9 @@ modules:
|
||||||
url: https://github.com/Unrud/xdg-screensaver-shim/archive/0.0.2.tar.gz
|
url: https://github.com/Unrud/xdg-screensaver-shim/archive/0.0.2.tar.gz
|
||||||
sha256: 0ed2a69fe6ee6cbffd2fe16f85116db737f17fb1e79bfb812d893cf15c728399
|
sha256: 0ed2a69fe6ee6cbffd2fe16f85116db737f17fb1e79bfb812d893cf15c728399
|
||||||
|
|
||||||
|
# The kde runtime bundles 2.28.5 but current dolphin versions require 2.30.6
|
||||||
|
- SDL2/SDL2-no-libdecor.json
|
||||||
|
|
||||||
- name: dolphin-emu
|
- name: dolphin-emu
|
||||||
buildsystem: cmake-ninja
|
buildsystem: cmake-ninja
|
||||||
config-opts:
|
config-opts:
|
||||||
|
@ -78,14 +81,12 @@ modules:
|
||||||
post-install:
|
post-install:
|
||||||
- install -D -t ${FLATPAK_DEST}/bin/ dolphin-emu-wrapper
|
- install -D -t ${FLATPAK_DEST}/bin/ dolphin-emu-wrapper
|
||||||
- install -Dm644 -t ${FLATPAK_DEST}/share/metainfo/ org.DolphinEmu.dolphin-emu.metainfo.xml
|
- install -Dm644 -t ${FLATPAK_DEST}/share/metainfo/ org.DolphinEmu.dolphin-emu.metainfo.xml
|
||||||
- sed -i -e 's/viewBox="0 0 1024.02 571.29"/viewBox="0 -285.645 1024 1024" width="2048"
|
|
||||||
height="2048"/g' /app/share/icons/hicolor/scalable/apps/dolphin-emu.svg
|
|
||||||
- desktop-file-edit --set-key=Exec --set-value='/app/bin/dolphin-emu-wrapper'
|
- desktop-file-edit --set-key=Exec --set-value='/app/bin/dolphin-emu-wrapper'
|
||||||
/app/share/applications/dolphin-emu.desktop
|
/app/share/applications/dolphin-emu.desktop
|
||||||
sources:
|
sources:
|
||||||
- type: git
|
- type: git
|
||||||
url: https://github.com/dolphin-emu/dolphin.git
|
url: https://github.com/dolphin-emu/dolphin.git
|
||||||
commit: b92e354389bb7c0bd114a8631b8af110d3cb3a14
|
commit: 3c4d4fcd09173ea070dc812ab5d64ca3a3af5f29
|
||||||
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
|
||||||
|
@ -93,16 +94,6 @@ modules:
|
||||||
version-query: .shortrev
|
version-query: .shortrev
|
||||||
timestamp-query: .date
|
timestamp-query: .date
|
||||||
is-main-source: true
|
is-main-source: true
|
||||||
# detects whether dolphin is running in a flatpak sandbox
|
|
||||||
# and makes it use xdg directories if it is.
|
|
||||||
# prevents dolphin from attempting to write conf files
|
|
||||||
# in non-writable paths, typically happens when a user
|
|
||||||
# has leftover files from a previous non-flatpak install
|
|
||||||
- type: patch
|
|
||||||
path: detectflatpak.patch
|
|
||||||
# version strings must match exactly for online multiplayer
|
|
||||||
- type: patch
|
|
||||||
path: nodirtyversion.patch
|
|
||||||
- type: file
|
- type: file
|
||||||
path: org.DolphinEmu.dolphin-emu.metainfo.xml
|
path: org.DolphinEmu.dolphin-emu.metainfo.xml
|
||||||
- type: script
|
- type: script
|
||||||
|
|
Loading…
Reference in a new issue