{
 "app_id": "com.vitorpamplona.amethyst.Desktop",
 "source_url": "https://raw.githubusercontent.com/vitorpamplona/amethyst/main/desktopApp/packaging/flatpak/com.vitorpamplona.amethyst.Desktop.yml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "24.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=network",
  "--share=ipc",
  "--socket=x11",
  "--socket=pulseaudio",
  "--device=dri",
  "--filesystem=xdg-download",
  "--filesystem=xdg-pictures",
  "--talk-name=org.freedesktop.Notifications",
  "--talk-name=org.freedesktop.secrets",
  "--env=GST_PLUGIN_SYSTEM_PATH=/usr/lib/x86_64-linux-gnu/gstreamer-1.0"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-20T12:58:33.419207+00:00",
 "manifest": {
  "app-id": "com.vitorpamplona.amethyst.Desktop",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "24.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "amethyst-desktop",
  "add-extensions": {
   "org.freedesktop.Platform.ffmpeg-full": {
    "directory": "lib/ffmpeg",
    "version": "24.08",
    "add-ld-path": ".",
    "autodownload": true,
    "autodelete": false
   }
  },
  "cleanup-commands": [
   "mkdir -p /app/lib/ffmpeg"
  ],
  "finish-args": [
   "--share=network",
   "--share=ipc",
   "--socket=x11",
   "--socket=pulseaudio",
   "--device=dri",
   "--filesystem=xdg-download",
   "--filesystem=xdg-pictures",
   "--talk-name=org.freedesktop.Notifications",
   "--talk-name=org.freedesktop.secrets",
   "--env=GST_PLUGIN_SYSTEM_PATH=/usr/lib/x86_64-linux-gnu/gstreamer-1.0"
  ],
  "modules": [
   {
    "name": "amethyst-desktop",
    "buildsystem": "simple",
    "build-commands": [
     "mkdir -p /app/lib/Amethyst",
     "cp -r ./Amethyst/* /app/lib/Amethyst/",
     "install -Dm755 amethyst-desktop.sh /app/bin/amethyst-desktop",
     "install -Dm644 com.vitorpamplona.amethyst.Desktop.metainfo.xml -t /app/share/metainfo/",
     "install -Dm644 com.vitorpamplona.amethyst.Desktop.desktop -t /app/share/applications/",
     "install -Dm644 icons/512/com.vitorpamplona.amethyst.Desktop.png -t /app/share/icons/hicolor/512x512/apps/"
    ],
    "sources": [
     {
      "type": "dir",
      "path": "../../build/compose/binaries/main-release/app",
      "dest": "./"
     },
     {
      "type": "script",
      "dest-filename": "amethyst-desktop.sh",
      "commands": [
       "#!/bin/sh",
       "exec /app/lib/Amethyst/bin/Amethyst \"$@\""
      ]
     },
     {
      "type": "file",
      "path": "com.vitorpamplona.amethyst.Desktop.metainfo.xml"
     },
     {
      "type": "file",
      "path": "com.vitorpamplona.amethyst.Desktop.desktop"
     },
     {
      "type": "dir",
      "path": "icons",
      "dest": "icons"
     }
    ]
   }
  ]
 }
}