{
 "app_id": "com.proximamagnifica.aoide",
 "source_url": "https://raw.githubusercontent.com/eliranbenishai/aoide/main/packaging/flatpak/com.proximamagnifica.aoide.yml",
 "runtime": "org.kde.Platform",
 "runtime_version": "6.11",
 "sdk": "org.kde.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=fallback-x11",
  "--socket=wayland",
  "--talk-name=org.kde.KWin",
  "--filesystem=xdg-run/aoide:create",
  "--socket=pulseaudio",
  "--device=dri",
  "--filesystem=host"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-20T12:57:05.256976+00:00",
 "manifest": {
  "app-id": "com.proximamagnifica.aoide",
  "runtime": "org.kde.Platform",
  "runtime-version": "6.11",
  "sdk": "org.kde.Sdk",
  "command": "aoide",
  "finish-args": [
   "--share=ipc",
   "--share=network",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--talk-name=org.kde.KWin",
   "--filesystem=xdg-run/aoide:create",
   "--socket=pulseaudio",
   "--device=dri",
   "--filesystem=host"
  ],
  "modules": [
   {
    "name": "aoide",
    "buildsystem": "simple",
    "build-commands": [
     "install -d /app/aoide /app/bin",
     "cp -a . /app/aoide/",
     "chmod +x /app/aoide/aoide",
     "printf '%s\\n' '#!/bin/sh' \\\n  'export LD_LIBRARY_PATH=/app/aoide/lib:${LD_LIBRARY_PATH:-}' \\\n  'exec /app/aoide/aoide \"$@\"' > /app/bin/aoide\n",
     "chmod +x /app/bin/aoide",
     "# The whole tree, not a list of subdirectories. CMake decides what ships,\n# and a manifest that enumerates share/ silently drops whatever is added\n# next -- which is how share/metainfo went missing, leaving flatpak with no\n# name to show and the app installing as com.proximamagnifica.aoide.\n# flatpak-builder only composes AppStream data from /app/share/metainfo, so\n# the depth matters as much as the presence.\nif [ -d share ]; then\n  install -d /app/share\n  cp -a share/. /app/share/\nfi\n# Exec must name the /app/bin wrapper, whatever the shared desktop file says\n# for the tarball and the AppImage.\nif [ -f /app/share/applications/com.proximamagnifica.aoide.desktop ]; then\n  sed -i 's|^Exec=.*|Exec=aoide %F|' \\\n    /app/share/applications/com.proximamagnifica.aoide.desktop\nfi\n"
    ],
    "sources": [
     {
      "type": "dir",
      "path": "../../build/linux/flatpak-bundle"
     }
    ]
   }
  ]
 }
}