{
 "app_id": "ca.uwaterloo.Raven",
 "source_url": "https://raw.githubusercontent.com/flathub/ca.uwaterloo.Raven/master/ca.uwaterloo.Raven.json",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "23.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--filesystem=home"
 ],
 "module_count": 3,
 "fetched_at": "2026-09-17T16:06:37.755078+00:00",
 "manifest": {
  "app-id": "ca.uwaterloo.Raven",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "23.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "Raven.exe",
  "finish-args": [
   "--filesystem=home"
  ],
  "cleanup": [
   "/include",
   "/lib/pkgconfig",
   "/lib/*.la",
   "/lib/*.a",
   "/lib/*.settings",
   "/share/hdf5_examples"
  ],
  "modules": [
   {
    "name": "raven",
    "buildsystem": "simple",
    "build-commands": [
     "sed -i 's/^CXXFLAGS += -std=c++11/#&/' Makefile",
     "sed -i 's/^#CXXFLAGS += -Dnetcdf/CXXFLAGS += -Dnetcdf/' Makefile",
     "sed -i 's/^#LDLIBS   += -L\\/usr\\/local -lnetcdf/LDLIBS   += -L\\/app\\/lib -lnetcdf/' Makefile",
     "make",
     "install -D Raven.exe /app/bin/Raven.exe",
     "install -Dm644 ca.uwaterloo.Raven.svg /app/share/icons/hicolor/scalable/apps/ca.uwaterloo.Raven.svg",
     "install -Dm644 ca.uwaterloo.Raven.png /app/share/icons/hicolor/128x128/apps/ca.uwaterloo.Raven.png",
     "install -Dm644 ca.uwaterloo.Raven.png /app/share/app-info/icons/flatpak/128x128/ca.uwaterloo.Raven.png",
     "install -Dm644 ca.uwaterloo.Raven.metainfo.xml /app/share/metainfo/ca.uwaterloo.Raven.metainfo.xml"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://raven.uwaterloo.ca/files/v4.0/RavenSource_v4.0.zip",
      "sha256": "3943bc8cc0936b5d9ca5b6d3b9ebd7f57b707ddd2ca4c3faf13be5e49973e546"
     },
     {
      "type": "file",
      "path": "ca.uwaterloo.Raven.svg"
     },
     {
      "type": "file",
      "path": "ca.uwaterloo.Raven.png"
     },
     {
      "type": "file",
      "path": "ca.uwaterloo.Raven.metainfo.xml"
     }
    ],
    "modules": [
     {
      "name": "hdf5",
      "no-autogen": true,
      "sources": [
       {
        "type": "archive",
        "url": "https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.10/hdf5-1.10.5/src/hdf5-1.10.5.tar.bz2",
        "sha256": "68d6ea8843d2a106ec6a7828564c1689c7a85714a35d8efafa2fee20ca366f44"
       }
      ]
     },
     {
      "name": "netcdf",
      "no-autogen": true,
      "sources": [
       {
        "type": "archive",
        "url": "https://github.com/Unidata/netcdf-c/archive/refs/tags/v4.9.2.zip",
        "sha256": "0f30f6f5088bf7a0b36a74800e9b10e976de68d6b27bee5799af67a59a45f3b3"
       }
      ]
     }
    ]
   }
  ]
 }
}