{
 "app_id": "io.github.TeamWheelWizard.WheelWizard",
 "source_url": "https://raw.githubusercontent.com/flathub/io.github.TeamWheelWizard.WheelWizard/master/io.github.TeamWheelWizard.WheelWizard.yaml",
 "runtime": "org.kde.Sdk",
 "runtime_version": "6.11",
 "sdk": "org.kde.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=pulseaudio",
  "--socket=x11",
  "--device=all",
  "--filesystem=~/.var/app/org.DolphinEmu.dolphin-emu/config/dolphin-emu:create",
  "--filesystem=xdg-run/app/com.discordapp.Discord:create",
  "--filesystem=xdg-run/app/com.discordapp.DiscordCanary:create",
  "--filesystem=xdg-data/dolphin-emu",
  "--filesystem=xdg-config/dolphin-emu",
  "--filesystem=xdg-run/gamescope-0:ro",
  "--filesystem=~/.var/app/org.DolphinEmu.dolphin-emu/data/dolphin-emu:create",
  "--filesystem=xdg-config/kdeglobals:ro",
  "--filesystem=~/.dolphin-emu",
  "--filesystem=xdg-run/discord-ipc-0",
  "--allow=bluetooth",
  "--talk-name=com.canonical.AppMenu.Registrar",
  "--talk-name=org.kde.kconfig.notify",
  "--talk-name=org.kde.KGlobalSettings",
  "--talk-name=org.freedesktop.ScreenSaver",
  "--talk-name=org.mate.ScreenSaver",
  "--talk-name=org.xfce.ScreenSaver"
 ],
 "module_count": 5,
 "fetched_at": "2026-09-17T16:10:29.195868+00:00",
 "manifest": {
  "id": "io.github.TeamWheelWizard.WheelWizard",
  "runtime": "org.kde.Sdk",
  "runtime-version": "6.11",
  "sdk": "org.kde.Sdk",
  "separate-locales": false,
  "command": "wheelwizard-wrapper",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.dotnet10"
  ],
  "finish-args": [
   "--socket=x11",
   "--share=ipc",
   "--env=DOTNET_ROOT=/app/lib/dotnet",
   "--env=DOTNET_CLI_TELEMETRY_OPTOUT=true",
   "--share=network",
   "--allow=bluetooth",
   "--device=all",
   "--socket=pulseaudio",
   "--filesystem=~/.dolphin-emu",
   "--filesystem=xdg-config/dolphin-emu",
   "--filesystem=xdg-data/dolphin-emu",
   "--filesystem=~/.var/app/org.DolphinEmu.dolphin-emu/config/dolphin-emu:create",
   "--filesystem=~/.var/app/org.DolphinEmu.dolphin-emu/data/dolphin-emu:create",
   "--filesystem=xdg-run/app/com.discordapp.Discord:create",
   "--filesystem=xdg-run/discord-ipc-0",
   "--filesystem=xdg-run/app/com.discordapp.DiscordCanary:create",
   "--talk-name=org.freedesktop.ScreenSaver",
   "--talk-name=org.xfce.ScreenSaver",
   "--talk-name=org.mate.ScreenSaver",
   "--filesystem=xdg-run/gamescope-0:ro"
  ],
  "cleanup-commands": [
   "find \"${FLATPAK_DEST}/bin/runtimes\" -mindepth 1 -maxdepth 1 -not -name \"$RUNTIME\" -exec rm -rf {} +\n"
  ],
  "build-options": {
   "prepend-path": "/usr/lib/sdk/dotnet10/bin",
   "append-ld-library-path": "/usr/lib/sdk/dotnet10/lib",
   "prepend-pkg-config-path": "/usr/lib/sdk/dotnet10/lib/pkgconfig",
   "env": {
    "DOTNET_CLI_TELEMETRY_OPTOUT": "true"
   },
   "arch": {
    "aarch64": {
     "env": {
      "RUNTIME": "linux-arm64"
     }
    },
    "x86_64": {
     "env": {
      "RUNTIME": "linux-x64"
     }
    }
   }
  },
  "modules": [
   {
    "name": "libevdev",
    "buildsystem": "meson",
    "config-opts": [
     "-Dtests=disabled",
     "-Ddocumentation=disabled"
    ],
    "cleanup": [
     "/share/man"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://www.freedesktop.org/software/libevdev/libevdev-1.13.7.tar.xz",
      "sha256": "0caf824971108f15bb2ad356433bae198d7d3bf1e82d43f63626e069e060bfa6",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 20540,
       "url-template": "https://www.freedesktop.org/software/libevdev/libevdev-$version.tar.xz"
      }
     }
    ]
   },
   {
    "name": "libxml2-legacy",
    "buildsystem": "autotools",
    "config-opts": [
     "--with-python=no"
    ],
    "cleanup": [
     "/share/aclocal",
     "/share/doc",
     "/share/gtk-doc",
     "/share/man"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://download.gnome.org/sources/libxml2/2.13/libxml2-2.13.9.tar.xz",
      "sha256": "a2c9ae7b770da34860050c309f903221c67830c86e4a7e760692b803df95143a",
      "x-checker-data": {
       "type": "gnome",
       "name": "libxml2",
       "versions": {
        "<": "2.14.0"
       }
      }
     }
    ]
   },
   {
    "name": "dotnet",
    "buildsystem": "simple",
    "build-commands": [
     "/usr/lib/sdk/dotnet10/bin/install.sh"
    ]
   },
   {
    "name": "WheelWizard",
    "buildsystem": "simple",
    "build-commands": [
     "DOTNET_CLI_TELEMETRY_OPTOUT=true dotnet publish WheelWizard/WheelWizard.csproj -p:ContinuousIntegrationBuild=true -p:Deterministic=true -p:DeterministicSourcePaths=true -p:DebugType=embedded -p:EnableSourceLink=false -p:EmbedAllSources=true -p:EmbedUntrackedSources=true -p:PublishRepositoryUrl=false -p:RepositoryUrl= -p:RepositoryBranch= -p:SourceBranchName= -p:SourceRevisionId= -p:IncludeSourceRevisionInInformationalVersion=false -c Release --source ./nuget-sources --source /usr/lib/sdk/dotnet10/nuget/packages --no-self-contained\n",
     "mkdir -p \"${FLATPAK_DEST}/bin\"",
     "cp -r --remove-destination WheelWizard/bin/Release/net*/publish/* \"${FLATPAK_DEST}/bin\"",
     "install -D -m0644 \"Flatpak/${FLATPAK_ID}.desktop\" \"${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop\"",
     "install -D -m0644 \"Flatpak/${FLATPAK_ID}-url-handler.desktop\" \"${FLATPAK_DEST}/share/applications/${FLATPAK_ID}-url-handler.desktop\"",
     "install -D -m0644 \"Flatpak/${FLATPAK_ID}.svg\" \"${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/${FLATPAK_ID}.svg\"",
     "install -D -m0644 \"Flatpak/${FLATPAK_ID}.png\" \"${FLATPAK_DEST}/share/icons/hicolor/512x512/apps/${FLATPAK_ID}.png\"",
     "install -D -m0644 \"Flatpak/${FLATPAK_ID}.metainfo.xml\" \"${FLATPAK_DEST}/share/metainfo/${FLATPAK_ID}.metainfo.xml\""
    ],
    "post-install": [
     "install -Dm755 -t \"${FLATPAK_DEST}/bin/\" wheelwizard-wrapper"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/TeamWheelWizard/WheelWizard.git",
      "commit": "7cc35a94ea8f54881d52d56fee18979876d70346"
     },
     "./nuget-sources.json",
     {
      "type": "script",
      "commands": [
       "for i in {0..9}; do\n  test -S $XDG_RUNTIME_DIR/discord-ipc-$i || ln -sf {app/com.discordapp.Discord,$XDG_RUNTIME_DIR}/discord-ipc-$i;\n  # Do the same for Discord Canary as a fallback\n  # (will only stick if available during startup)\n  test -S $XDG_RUNTIME_DIR/discord-ipc-$i || ln -sf {app/com.discordapp.DiscordCanary,$XDG_RUNTIME_DIR}/discord-ipc-$i;\n  # Make any dangling links use the stable Discord though\n  test -S $XDG_RUNTIME_DIR/discord-ipc-$i || ln -sf {app/com.discordapp.Discord,$XDG_RUNTIME_DIR}/discord-ipc-$i;\ndone\nexec WheelWizard \"$@\"\n"
      ],
      "dest-filename": "wheelwizard-wrapper"
     }
    ]
   },
   {
    "name": "dolphin-emu",
    "buildsystem": "cmake-ninja",
    "build-options": {
     "cflags": "",
     "cflags-override": true,
     "cxxflags": "",
     "cxxflags-override": true
    },
    "builddir": true,
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release",
     "-DENABLE_ALSA=OFF",
     "-DENABLE_SDL=ON",
     "-DENABLE_EVDEV=ON",
     "-DDISTRIBUTOR=Flathub",
     "-DUSE_SYSTEM_SDL3=OFF"
    ],
    "post-install": [
     "install -Dm755 -t \"${FLATPAK_DEST}/bin/\" ../Flatpak/dolphin-emu-wrapper"
    ],
    "cleanup": [
     "/share/icons",
     "/share/applications",
     "/share/man"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/dolphin-emu/dolphin.git",
      "tag": "2606a",
      "commit": "c77bbaa0f372c3f72281602a8b087206706542cb",
      "x-checker-data": {
       "type": "json",
       "url": "https://dolphin-emu.org/update/latest/beta",
       "tag-query": ".shortrev",
       "version-query": ".shortrev",
       "timestamp-query": ".date"
      }
     },
     {
      "type": "patch",
      "path": "patches/dolphin-emu/dolphin-emu-wrapper.patch"
     },
     {
      "type": "patch",
      "path": "patches/dolphin-emu/no-dirty-version.patch"
     }
    ]
   }
  ]
 }
}