{
 "app_id": "com.mtkennerly.madamiru",
 "source_url": "https://raw.githubusercontent.com/flathub/com.mtkennerly.madamiru/master/com.mtkennerly.madamiru.yaml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=network",
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--socket=pulseaudio",
  "--socket=fallback-x11",
  "--device=dri",
  "--filesystem=home",
  "--filesystem=/media",
  "--filesystem=/run/media"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-17T16:08:22.752424+00:00",
 "manifest": {
  "app-id": "com.mtkennerly.madamiru",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.rust-stable",
   "org.freedesktop.Sdk.Extension.llvm20"
  ],
  "build-options": {
   "append-path": "/usr/lib/sdk/rust-stable/bin:/usr/lib/sdk/llvm20/bin",
   "env": {
    "CARGO_HOME": "/run/build/madamiru/cargo"
   }
  },
  "finish-args": [
   "--socket=fallback-x11",
   "--socket=wayland",
   "--socket=pulseaudio",
   "--share=network",
   "--share=ipc",
   "--filesystem=home",
   "--filesystem=/run/media/",
   "--filesystem=/media/",
   "--device=dri",
   "--env=WINIT_X11_SCALE_FACTOR=1"
  ],
  "command": "madamiru",
  "modules": [
   {
    "name": "madamiru",
    "buildsystem": "simple",
    "build-options": {
     "env": {
      "APPNAME": "madamiru"
     }
    },
    "build-commands": [
     "cargo --offline fetch --verbose",
     "cargo build --offline --release",
     "install -D target/release/madamiru /app/bin/madamiru"
    ],
    "post-install": [
     "install -Dm644 assets/icon.png /app/share/icons/hicolor/64x64/apps/${FLATPAK_ID}.png",
     "install -Dm644 assets/icon.svg /app/share/icons/hicolor/scalable/apps/${FLATPAK_ID}.svg",
     "install -Dm644 assets/linux/${FLATPAK_ID}.metainfo.xml /app/share/metainfo/${FLATPAK_ID}.metainfo.xml",
     "install -Dm644 assets/linux/${FLATPAK_ID}.desktop /app/share/applications/${FLATPAK_ID}.desktop"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/mtkennerly/madamiru",
      "tag": "v0.4.1"
     },
     "generated-sources.json"
    ]
   }
  ]
 }
}