mirror of
https://github.com/RetroDECK/org.DolphinEmu.dolphin-emu.git
synced 2024-11-22 13:45:39 +00:00
91a9cb9377
In some cases dolphin would try to use non xdg paths for its configuration files and subsequently be unable to write to them, causing it to crash or otherwise fail.
90 lines
2.1 KiB
JSON
90 lines
2.1 KiB
JSON
{
|
|
"app-id": "org.DolphinEmu.dolphin-emu",
|
|
"branch": "stable",
|
|
"runtime": "org.kde.Platform",
|
|
"runtime-version": "5.9",
|
|
"sdk": "org.kde.Sdk",
|
|
"command": "dolphin-emu",
|
|
"rename-desktop-file": "dolphin-emu.desktop",
|
|
"rename-icon": "dolphin-emu",
|
|
"rename-appdata-file": "dolphin-emu.appdata.xml",
|
|
"finish-args": [
|
|
"--device=all",
|
|
"--filesystem=host:ro",
|
|
"--socket=pulseaudio",
|
|
"--socket=x11",
|
|
"--share=network",
|
|
"--share=ipc",
|
|
|
|
"--talk-name=ca.desrt.dconf",
|
|
"--filesystem=xdg-run/dconf",
|
|
"--filesystem=~/.config/dconf:ro",
|
|
"--env=DCONF_USER_CONFIG_DIR=.config/dconf"
|
|
],
|
|
"modules": [
|
|
{
|
|
"name": "libusb",
|
|
"config-opts": [
|
|
"--disable-static"
|
|
],
|
|
"cleanup": [
|
|
"/include",
|
|
"/lib/*.la",
|
|
"/lib/pkgconfig"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "archive",
|
|
"url": "https://sourceforge.net/projects/libusb/files/libusb-1.0/libusb-1.0.21/libusb-1.0.21.tar.gz",
|
|
"sha256": "1a5b08c05bc5e38c81c2d59c29954d5916646f4ff46f51381b3f624384e4ac01"
|
|
}
|
|
],
|
|
"modules": [
|
|
"shared-modules/udev/udev-175.json"
|
|
]
|
|
},
|
|
{
|
|
"name": "dolphin-emu",
|
|
"buildsystem": "cmake-ninja",
|
|
"config-opts": [
|
|
"-DCMAKE_BUILD_TYPE=Release",
|
|
"-DENABLE_ALSA=OFF",
|
|
"-DENABLE_SDL=ON",
|
|
"-DENABLE_EVDEV=OFF",
|
|
"-DENABLE_WX=OFF",
|
|
"-DDISTRIBUTOR=Flathub"
|
|
],
|
|
"build-options": {
|
|
"arch": {
|
|
"arm": {
|
|
"config-opts": [
|
|
"-DENABLE_GENERIC=ON"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"cleanup": [
|
|
"/share/man"
|
|
],
|
|
"post-install": [
|
|
"install -Dm644 appdata.xml /app/share/appdata/dolphin-emu.appdata.xml"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "git",
|
|
"url": "https://github.com/dolphin-emu/dolphin.git",
|
|
"commit": "28ca6fec9a77b3c4ea58abce558bd79220a2db7d"
|
|
},
|
|
{
|
|
"type": "patch",
|
|
"path": "forcexdg.patch"
|
|
},
|
|
{
|
|
"type": "file",
|
|
"path": "appdata.xml"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|