org.DolphinEmu.dolphin-emu.yml 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. app-id: org.DolphinEmu.dolphin-emu
  2. runtime: org.kde.Platform
  3. runtime-version: '6.8'
  4. sdk: org.kde.Sdk
  5. command: dolphin-emu-wrapper
  6. rename-desktop-file: dolphin-emu.desktop
  7. rename-icon: dolphin-emu
  8. finish-args:
  9. - --device=all
  10. - --socket=pulseaudio
  11. - --socket=x11
  12. - --share=network
  13. - --share=ipc
  14. # required for the emulated bluetooth adapter feature to work.
  15. - --allow=bluetooth
  16. - --filesystem=xdg-run/app/com.discordapp.Discord:create
  17. # required to disable the screensaver in various desktops
  18. - --talk-name=org.freedesktop.ScreenSaver
  19. - --talk-name=org.xfce.ScreenSaver
  20. - --talk-name=org.mate.ScreenSaver
  21. # required for Gamescope on Steam Deck
  22. - --filesystem=xdg-run/gamescope-0:ro
  23. modules:
  24. # enables motion controls on non-wii controllers (switch, ps4, etc)
  25. # requires a udev rule enabling Motion Sensors access
  26. - name: libevdev
  27. buildsystem: meson
  28. config-opts:
  29. - -Dtests=disabled
  30. - -Ddocumentation=disabled
  31. sources:
  32. - type: archive
  33. url: https://www.freedesktop.org/software/libevdev/libevdev-1.13.3.tar.xz
  34. sha256: abf1aace86208eebdd5d3550ffded4c8d73bb405b796d51c389c9d0604cbcfbf
  35. x-checker-data:
  36. type: anitya
  37. project-id: 20540
  38. stable-only: true
  39. url-template: https://www.freedesktop.org/software/libevdev/libevdev-$version.tar.xz
  40. # build the vendored SDL2 from Externals until the runtime gets 2.30.9
  41. - SDL2/SDL2.json
  42. - name: dolphin-emu
  43. buildsystem: cmake-ninja
  44. builddir: true
  45. config-opts:
  46. - -DCMAKE_BUILD_TYPE=Release
  47. - -DENABLE_ALSA=OFF
  48. - -DENABLE_SDL=ON
  49. - -DENABLE_EVDEV=ON
  50. - -DDISTRIBUTOR=dolphin-emu.org
  51. cleanup:
  52. - /share/man
  53. post-install:
  54. - install -Dm755 -t ${FLATPAK_DEST}/bin/ ../Flatpak/dolphin-emu-wrapper
  55. - install -Dm644 -t ${FLATPAK_DEST}/share/metainfo/ Flatpak/org.DolphinEmu.dolphin-emu.metainfo.xml
  56. - desktop-file-edit --set-key=Exec --set-value='/app/bin/dolphin-emu-wrapper'
  57. /app/share/applications/dolphin-emu.desktop
  58. sources:
  59. - type: dir
  60. path: ..