{
 "app_id": "de.capypara.FieldMonitor",
 "source_url": "https://raw.githubusercontent.com/flathub/de.capypara.FieldMonitor/master/de.capypara.FieldMonitor.json",
 "runtime": "org.gnome.Platform",
 "runtime_version": "51",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=fallback-x11",
  "--socket=pulseaudio",
  "--socket=ssh-auth",
  "--socket=wayland",
  "--device=dri",
  "--filesystem=/run/libvirt",
  "--filesystem=~/.ssh/known_hosts:ro",
  "--filesystem=xdg-run/libvirt"
 ],
 "module_count": 14,
 "fetched_at": "2026-09-20T06:36:17.859346+00:00",
 "manifest": {
  "id": "de.capypara.FieldMonitor",
  "runtime": "org.gnome.Platform",
  "runtime-version": "51",
  "sdk": "org.gnome.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.rust-stable"
  ],
  "command": "de.capypara.FieldMonitor",
  "finish-args": [
   "--share=network",
   "--share=ipc",
   "--socket=fallback-x11",
   "--socket=ssh-auth",
   "--device=dri",
   "--socket=wayland",
   "--socket=pulseaudio",
   "--usb=all",
   "--filesystem=~/.ssh/known_hosts:ro",
   "--filesystem=xdg-run/libvirt",
   "--filesystem=/run/libvirt",
   "--require-version=1.15.11"
  ],
  "build-options": {
   "append-path": "/usr/lib/sdk/rust-stable/bin",
   "env": {
    "RUST_BACKTRACE": "1"
   }
  },
  "cleanup": [
   "/include",
   "/lib/cmake",
   "/lib/girepository-1.0",
   "/lib/pkgconfig",
   "/share/bash-completion",
   "/share/doc",
   "/share/gtk-doc",
   "/share/man",
   "/share/pkgconfig",
   "/share/vala",
   "*.la",
   "*.a"
  ],
  "cleanup-commands": [
   "rm -rf /app/var/run/libvirt",
   "mkdir -p /app/var/run",
   "ln -s /var/run/libvirt /app/var/run/libvirt"
  ],
  "modules": [
   {
    "name": "usbredir",
    "buildsystem": "meson",
    "config-opts": [
     "--buildtype=release"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://www.spice-space.org/download/usbredir/usbredir-0.15.0.tar.xz",
      "sha256": "6dc2a380277688a068191245dac2ab7063a552999d8ac3ad8e841c10ff050961"
     }
    ]
   },
   {
    "name": "gtk-vnc",
    "buildsystem": "meson",
    "config-opts": [
     "--buildtype=release",
     "-Dpulseaudio=enabled"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://download.gnome.org/sources/gtk-vnc/1.5/gtk-vnc-1.5.0.tar.xz",
      "sha256": "c0beb4747528ad931da43acc567c6a0190f7fc624465571ed9ccece02c34dd23"
     }
    ]
   },
   {
    "name": "spice-gtk",
    "buildsystem": "meson",
    "build-options": {
     "env": {
      "PYTHONPATH": "/app"
     }
    },
    "config-opts": [
     "--buildtype=release",
     "-Dvapi=enabled",
     "-Dwebdav=enabled",
     "-Dpolkit=disabled",
     "-Dusbredir=enabled",
     "-Dgtk_doc=disabled"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://gitlab.freedesktop.org/spice/spice-gtk.git",
      "tag": "v0.43",
      "commit": "f028f45a573926736223548887e18ac65dabb50b"
     },
     {
      "type": "shell",
      "commands": [
       "echo 0.43 > .tarball-version"
      ]
     }
    ],
    "modules": [
     {
      "name": "spice-protocol",
      "buildsystem": "meson",
      "sources": [
       {
        "type": "archive",
        "url": "https://www.spice-space.org/download/releases/spice-protocol-0.14.5.tar.xz",
        "sha256": "baf58449f6e89d19f475899ad5fb9196fdc46c03cc53233f4e39cf2978f9cff7"
       }
      ]
     },
     {
      "name": "phodav",
      "buildsystem": "meson",
      "config-opts": [
       "-Dsystemdsystemunitdir=/app/lib/systemd/system",
       "-Dudevrulesdir=usr/lib/udev/rules.d"
      ],
      "sources": [
       {
        "type": "archive",
        "url": "https://download.gnome.org/sources/phodav/3.0/phodav-3.0.tar.xz",
        "sha256": "392ec2d06d50300dcff1ef269a2a985304e29bce3520002fca29f2edc1d138d1"
       }
      ]
     },
     {
      "name": "python-pyparsing",
      "buildsystem": "simple",
      "build-commands": [
       "pip3 install --prefix=/app pyparsing-3.3.2-py3-none-any.whl"
      ],
      "sources": [
       {
        "type": "file",
        "url": "https://files.pythonhosted.org/packages/10/bd/c038d7cc38edc1aa5bf91ab8068b63d4308c66c4c8bb3cbba7dfbc049f9c/pyparsing-3.3.2-py3-none-any.whl",
        "sha256": "850ba148bd908d7e2411587e247a1e4f0327839c40e2e5e6d05a007ecc69911d"
       }
      ]
     },
     {
      "name": "libcacard",
      "sources": [
       {
        "type": "archive",
        "url": "https://www.spice-space.org/download/libcacard/libcacard-2.8.2.tar.xz",
        "sha256": "45fc28a6ff3c7a359d4448132ca190f0a9c760540c445dba4597a5b71de40f68"
       }
      ]
     },
     {
      "name": "spice",
      "buildsystem": "autotools",
      "config-opts": [
       "--disable-lz4",
       "--disable-manual",
       "--disable-test"
      ],
      "sources": [
       {
        "type": "archive",
        "url": "https://www.spice-space.org/download/releases/spice-0.15.2.tar.bz2",
        "sha256": "6d9eb6117f03917471c4bc10004abecff48a79fb85eb85a1c45f023377015b81"
       }
      ]
     }
    ]
   },
   {
    "name": "simdutf",
    "buildsystem": "cmake",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/simdutf/simdutf.git",
      "tag": "v9.1.0",
      "commit": "2d4e249dcfd978b39dd567b156f20a43db97377b"
     }
    ]
   },
   {
    "name": "vte",
    "buildsystem": "meson",
    "config-opts": [
     "--buildtype=release",
     "-Ddocs=false",
     "-Dgtk3=false",
     "-Dgtk4=true",
     "-Dvapi=true",
     "-Dglade=false"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://download.gnome.org/sources/vte/0.84/vte-0.84.1.tar.xz",
      "sha256": "aca1caa8478aebcdbb1d67897fb3511eb7601debae6810e16a15b6fa25f31ac8"
     }
    ]
   },
   {
    "name": "json-c",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/json-c/json-c/archive/refs/tags/json-c-0.19-20260627.tar.gz",
      "sha256": "f17a6d7d265cf840dfd8f0f46a606d98c6b5b26dc7cfe27275d1546a213086c8"
     }
    ]
   },
   {
    "name": "libtirpc",
    "buildsystem": "autotools",
    "sources": [
     {
      "type": "archive",
      "url": "https://downloads.sourceforge.net/libtirpc/libtirpc-1.3.7.tar.bz2",
      "sha256": "b47d3ac19d3549e54a05d0019a6c400674da716123858cfdb6d3bdd70a66c702"
     }
    ]
   },
   {
    "name": "libvirt",
    "buildsystem": "meson",
    "config-opts": [
     "-Ddriver_remote=enabled",
     "-Ddriver_libvirtd=enabled",
     "-Ddriver_qemu=enabled",
     "-Ddocs=disabled",
     "-Dtests=disabled"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://download.libvirt.org/libvirt-12.6.0.tar.xz",
      "sha256": "1592256deb76fc94028ff083a4d9f06a74f3b92a66a1794f37bc26f21430c888"
     }
    ]
   },
   {
    "name": "field-monitor",
    "buildsystem": "meson",
    "config-opts": [
     "--buildtype=release"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/theCapypara/field-monitor.git",
      "commit": "c408ef893ee24c2548ae7b62381378e94602cc5a",
      "tag": "v51.0"
     },
     "cargo-sources.json",
     {
      "type": "shell",
      "commands": [
       "mkdir -p .cargo",
       "cat cargo/config >> .cargo/config.toml",
       "cat .cargo/config.toml"
      ]
     }
    ]
   }
  ]
 }
}