mirror of
https://github.com/RetroDECK/org.DolphinEmu.dolphin-emu.git
synced 2024-11-25 15:15:38 +00:00
91 lines
2.2 KiB
JSON
91 lines
2.2 KiB
JSON
{
|
|
"app-id": "org.DolphinEmu.dolphin-emu",
|
|
"branch": "stable",
|
|
"runtime": "org.kde.Platform",
|
|
"runtime-version": "5.12",
|
|
"sdk": "org.kde.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",
|
|
"--share=ipc",
|
|
|
|
"--talk-name=ca.desrt.dconf",
|
|
"--filesystem=xdg-run/dconf",
|
|
"--filesystem=~/.config/dconf:ro",
|
|
"--env=DCONF_USER_CONFIG_DIR=.config/dconf"
|
|
],
|
|
"modules": [
|
|
{
|
|
"name": "libusb",
|
|
"config-opts": [
|
|
"--disable-static"
|
|
],
|
|
"cleanup": [
|
|
"/include",
|
|
"/lib/*.la",
|
|
"/lib/pkgconfig"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "archive",
|
|
"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"
|
|
]
|
|
},
|
|
{
|
|
"name": "dolphin-emu",
|
|
"buildsystem": "cmake-ninja",
|
|
"config-opts": [
|
|
"-DCMAKE_BUILD_TYPE=Release",
|
|
"-DENABLE_ALSA=OFF",
|
|
"-DENABLE_SDL=ON",
|
|
"-DENABLE_EVDEV=OFF",
|
|
"-DENABLE_WX=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",
|
|
"sed -i -e 's/\"2048\"/\"512\"/g' /app/share/icons/hicolor/scalable/apps/dolphin-emu.svg"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "git",
|
|
"url": "https://github.com/dolphin-emu/dolphin.git",
|
|
"commit": "75e74315e69df1dc03bbda4373528e9e26274d7d"
|
|
},
|
|
{
|
|
"type": "patch",
|
|
"path": "forcexdg.patch"
|
|
},
|
|
{
|
|
"type": "file",
|
|
"path": "appdata.xml"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|