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",
|
2017-04-11 17:12:26 +00:00
|
|
|
"command": "dolphin-emu",
|
|
|
|
"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",
|
2018-02-24 13:15:54 +00:00
|
|
|
|
|
|
|
"--talk-name=ca.desrt.dconf",
|
|
|
|
"--filesystem=xdg-run/dconf",
|
|
|
|
"--filesystem=~/.config/dconf:ro",
|
|
|
|
"--env=DCONF_USER_CONFIG_DIR=.config/dconf"
|
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-02-27 11:24:16 +00:00
|
|
|
"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"
|
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-04-18 18:29:09 +00:00
|
|
|
"commit": "5c5e6df0380c518d098f20d9ffc832887782335c"
|
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"
|
2017-04-11 17:12:26 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|