2017-04-11 17:12:26 +00:00
|
|
|
{
|
|
|
|
"app-id": "org.DolphinEmu.dolphin-emu",
|
2017-11-16 23:38:51 +00:00
|
|
|
"branch": "stable",
|
2018-02-24 13:15:54 +00:00
|
|
|
"runtime": "org.kde.Platform",
|
2019-02-27 11:24:16 +00:00
|
|
|
"runtime-version": "5.12",
|
2018-02-24 13:15:54 +00:00
|
|
|
"sdk": "org.kde.Sdk",
|
2019-05-29 20:15:33 +00:00
|
|
|
"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",
|
2018-02-24 13:15:54 +00:00
|
|
|
"--share=network",
|
2018-06-22 20:44:47 +00:00
|
|
|
"--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": [
|
2018-02-24 18:10:42 +00:00
|
|
|
{
|
|
|
|
"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"
|
2018-02-24 18:10:42 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"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": [
|
2018-02-24 18:10:42 +00:00
|
|
|
"-DCMAKE_BUILD_TYPE=Release",
|
2017-11-16 23:38:51 +00:00
|
|
|
"-DENABLE_ALSA=OFF",
|
|
|
|
"-DENABLE_SDL=ON",
|
|
|
|
"-DENABLE_EVDEV=OFF",
|
2018-02-24 13:15:54 +00:00
|
|
|
"-DENABLE_WX=OFF",
|
2017-11-16 23:38:51 +00:00
|
|
|
"-DDISTRIBUTOR=Flathub"
|
|
|
|
],
|
2017-04-11 17:52:17 +00:00
|
|
|
"build-options": {
|
2017-06-20 07:41:58 +00:00
|
|
|
"arch": {
|
|
|
|
"arm": {
|
|
|
|
"config-opts": [
|
|
|
|
"-DENABLE_GENERIC=ON"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
2017-04-11 17:52:17 +00:00
|
|
|
},
|
2018-02-24 18:10:42 +00:00
|
|
|
"cleanup": [
|
|
|
|
"/share/man"
|
|
|
|
],
|
2017-04-11 17:12:26 +00:00
|
|
|
"post-install": [
|
2019-05-29 20:15:33 +00:00
|
|
|
"install -D dolphin-emu-wrapper /app/bin/dolphin-emu-wrapper",
|
2019-02-27 11:24:16 +00:00
|
|
|
"install -Dm644 appdata.xml /app/share/appdata/dolphin-emu.appdata.xml",
|
2019-05-29 20:15:33 +00:00
|
|
|
"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": [
|
|
|
|
{
|
2018-02-24 18:10:42 +00:00
|
|
|
"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
|
|
|
},
|
2018-08-11 23:53:18 +00:00
|
|
|
{
|
|
|
|
"type": "patch",
|
|
|
|
"path": "forcexdg.patch"
|
|
|
|
},
|
2017-11-16 23:38:51 +00:00
|
|
|
{
|
2018-02-24 18:10:42 +00:00
|
|
|
"type": "file",
|
|
|
|
"path": "appdata.xml"
|
2019-05-29 20:15:33 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"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
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|