{
 "app_id": "eu.diatar.vetito",
 "source_url": "https://raw.githubusercontent.com/diatar-eu/diatar-flutter/main/flatpak/eu.diatar.vetito.yaml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "24.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=network",
  "--share=ipc",
  "--socket=fallback-x11",
  "--socket=wayland",
  "--socket=pulseaudio",
  "--device=dri",
  "--filesystem=home",
  "--talk-name=org.freedesktop.secrets",
  "--talk-name=org.mpris.MediaPlayer2.*"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-20T13:04:34.332845+00:00",
 "manifest": {
  "app-id": "eu.diatar.vetito",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "24.08",
  "sdk": "org.freedesktop.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.flutter"
  ],
  "command": "diavetito",
  "finish-args": [
   "--share=network",
   "--share=ipc",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--socket=pulseaudio",
   "--device=dri",
   "--filesystem=home",
   "--talk-name=org.freedesktop.secrets",
   "--talk-name=org.mpris.MediaPlayer2.*"
  ],
  "build-options": {
   "append-path": "/usr/lib/sdk/flutter/bin",
   "env": {
    "FLUTTER_ROOT": "/usr/lib/sdk/flutter",
    "XDG_DATA_DIRS": "/usr/lib/sdk/flutter:/app/share:/usr/share"
   }
  },
  "modules": [
   {
    "name": "diavetito",
    "buildsystem": "simple",
    "build-options": {
     "env": {
      "XDG_DATA_DIRS": "/usr/lib/sdk/flutter:/app/share:/usr/share"
     }
    },
    "build-commands": [
     "cd DiaVetito",
     "flutter config --enable-linux-desktop",
     "flutter pub get",
     "flutter build linux --release",
     "install -D -t /app/bin build/linux/x64/release/bundle/diavetito",
     "cp -r build/linux/x64/release/bundle/lib /app/bin/",
     "cp -r build/linux/x64/release/bundle/data /app/bin/",
     "install -Dm644 flatpak/eu.diatar.vetito.desktop /app/share/applications/eu.diatar.vetito.desktop",
     "install -Dm644 flatpak/eu.diatar.vetito.metainfo.xml /app/share/metainfo/eu.diatar.vetito.metainfo.xml",
     "install -Dm644 assets/icon/icon.png /app/share/icons/hicolor/512x512/apps/eu.diatar.vetito.png"
    ],
    "sources": [
     {
      "type": "dir",
      "path": ".."
     }
    ]
   }
  ]
 }
}