org.DolphinEmu.dolphin-emu/org.DolphinEmu.dolphin-emu.json

99 lines
2.7 KiB
JSON
Raw Normal View History

2017-04-11 17:12:26 +00:00
{
"app-id": "org.DolphinEmu.dolphin-emu",
2017-11-16 23:38:51 +00:00
"branch": "stable",
"runtime": "org.kde.Platform",
"runtime-version": "5.12",
"sdk": "org.kde.Sdk",
"command": "dolphin-emu-wrapper",
2017-04-11 17:12:26 +00:00
"rename-desktop-file": "dolphin-emu.desktop",
"rename-icon": "dolphin-emu",
"rename-appdata-file": "dolphin-emu.appdata.xml",
"finish-args": [
2017-11-23 12:04:24 +00:00
"--device=all",
2017-11-16 23:38:51 +00:00
"--filesystem=host:ro",
2017-04-11 17:12:26 +00:00
"--socket=pulseaudio",
"--socket=x11",
"--share=network",
"--share=ipc",
2019-08-20 14:57:36 +00:00
"--filesystem=xdg-run/app/com.discordapp.Discord:create"
2017-04-11 17:12:26 +00:00
],
"modules": [
{
"name": "libusb",
"config-opts": [
"--disable-static"
],
"cleanup": [
"/include",
"/lib/*.la",
"/lib/pkgconfig"
],
"sources": [
{
"type": "archive",
2018-10-13 16:10:42 +00:00
"url": "https://github.com/libusb/libusb/releases/download/v1.0.22/libusb-1.0.22.tar.bz2",
"sha256": "75aeb9d59a4fdb800d329a545c2e6799f732362193b465ea198f2aa275518157"
}
],
"modules": [
"shared-modules/udev/udev-175.json"
2017-11-16 23:38:51 +00:00
]
},
2017-04-11 17:12:26 +00:00
{
"name": "dolphin-emu",
2017-11-16 23:38:51 +00:00
"buildsystem": "cmake-ninja",
"config-opts": [
"-DCMAKE_BUILD_TYPE=Release",
2017-11-16 23:38:51 +00:00
"-DENABLE_ALSA=OFF",
"-DENABLE_SDL=ON",
"-DENABLE_EVDEV=OFF",
"-DENABLE_WX=OFF",
2017-11-16 23:38:51 +00:00
"-DDISTRIBUTOR=Flathub"
],
2017-04-11 17:52:17 +00:00
"build-options": {
"arch": {
"arm": {
"config-opts": [
"-DENABLE_GENERIC=ON"
]
}
}
2017-04-11 17:52:17 +00:00
},
"cleanup": [
"/share/man"
],
2017-04-11 17:12:26 +00:00
"post-install": [
"install -D dolphin-emu-wrapper /app/bin/dolphin-emu-wrapper",
"install -Dm644 appdata.xml /app/share/appdata/dolphin-emu.appdata.xml",
"sed -i -e 's/\"2048\"/\"512\"/g' /app/share/icons/hicolor/scalable/apps/dolphin-emu.svg",
"desktop-file-edit --set-key=Exec --set-value='/app/bin/dolphin-emu-wrapper' /app/share/applications/dolphin-emu.desktop"
2017-04-11 17:12:26 +00:00
],
"sources": [
{
"type": "git",
"url": "https://github.com/dolphin-emu/dolphin.git",
2019-10-05 18:02:46 +00:00
"commit": "3c6c94a04a61a97990dd459138912f75c9f0eb1a"
2017-04-11 17:12:26 +00:00
},
{
"type": "patch",
"path": "forcexdg.patch"
},
2017-11-16 23:38:51 +00:00
{
"type": "file",
"path": "appdata.xml"
},
{
"type": "script",
"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;",
"done",
"dolphin-emu \"$@\""
],
"dest-filename": "dolphin-emu-wrapper"
2017-04-11 17:12:26 +00:00
}
]
}
]
}