org.DolphinEmu.dolphin-emu/org.DolphinEmu.dolphin-emu.json
2018-04-10 05:22:16 +00:00

116 lines
2.8 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=all",
"--filesystem=host:ro",
"--socket=pulseaudio",
"--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-richtext",
"--with-expat=builtin",
"--with-libiconv=/usr"
],
"sources": [
{
"type": "archive",
"url": "https://github.com/wxWidgets/wxWidgets/releases/download/v3.1.1/wxWidgets-3.1.1.tar.bz2",
"sha256":"c925dfe17e8f8b09eb7ea9bfdcfcc13696a3e14e92750effd839f5e10726159e"
}
]
},
{
"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=ON",
"-DENABLE_QT2=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": "e7ed4857b1ec3ac382e307806d22ba0c03dae37c"
},
{
"type": "file",
"path": "appdata.xml"
},
{
"type": "patch",
"path": "use-gtk3.patch"
}
]
}
]
}