org.DolphinEmu.dolphin-emu/org.DolphinEmu.dolphin-emu.json
2017-11-16 18:38:51 -05:00

104 lines
2.7 KiB
JSON

{
"app-id": "org.DolphinEmu.dolphin-emu",
"branch": "stable",
"runtime": "org.freedesktop.Platform",
"runtime-version": "1.6",
"sdk": "org.freedesktop.Sdk",
"command": "dolphin-emu",
"rename-desktop-file": "dolphin-emu.desktop",
"rename-icon": "dolphin-emu",
"rename-appdata-file": "dolphin-emu.appdata.xml",
"finish-args": [
"--device=dri",
"--filesystem=host:ro",
"--socket=pulseaudio",
"--socket=wayland",
"--socket=x11",
"--share=network"
],
"modules": [
{
"name": "wxWidgets",
"rm-configure": true,
"cleanup": [
"/bin",
"/include",
"/share/bakefile",
"/share/aclocal"
],
"config-opts": [
"--with-libpng",
"--with-zlib",
"--disable-sdltest",
"--disable-webkit",
"--disable-webview",
"--disable-webviewwebkit",
"--disable-ribbon",
"--disable-html",
"--disable-propgrid",
"--disable-xru",
"--disable-richtext",
"--with-expat=builtin",
"--with-libiconv=/usr"
],
"sources": [
{
"type": "archive",
"url": "https://github.com/wxWidgets/wxWidgets/releases/download/v3.0.3.1/wxWidgets-3.0.3.1.tar.bz2",
"sha256":"3164ad6bc5f61c48d2185b39065ddbe44283eb834a5f62beb13f1d0923e366e4"
},
{
"type": "script",
"dest-filename": "autogen.sh",
"commands": [
"cp -p /usr/share/automake-*/config.{sub,guess} .",
"autoconf -f -B build/autoconf_prepend-include"
]
}
]
},
{
"name": "dolphin-emu",
"buildsystem": "cmake-ninja",
"config-opts": [
"-DENABLE_ALSA=OFF",
"-DENABLE_SDL=ON",
"-DENABLE_EVDEV=OFF",
"-DDISTRIBUTOR=Flathub"
],
"build-options": {
"arch": {
"arm": {
"config-opts": [
"-DENABLE_GENERIC=ON"
]
}
}
},
"cleanup": [ "/bin/dolphin-emu-nogui" ],
"post-install": [
"install -Dm644 appdata.xml /app/share/appdata/dolphin-emu.appdata.xml"
],
"sources": [
{
"type": "archive",
"url": "https://github.com/dolphin-emu/dolphin/archive/5.0.tar.gz",
"sha256": "62c4602055767ab314ff50a3b94ea57f792832aa1629e6b1117ebce10518dc0b"
},
{
"type": "patch",
"path": "dolphin-emu-5.0-gtk3.patch"
},
{
"type": "patch",
"path": "6033250bebe9f5dcec47c4e2ec8e5d3b102f73e7.patch"
},
{
"type": "file",
"path": "appdata.xml"
}
]
}
]
}