{
 "app_id": "fr.collomatique.Collomatique",
 "source_url": "https://raw.githubusercontent.com/christophcharles/Collomatique/master/pkgs/flatpak/fr.collomatique.Collomatique.yml",
 "runtime": "org.gnome.Platform",
 "runtime_version": "50",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--socket=wayland",
  "--socket=fallback-x11",
  "--share=ipc",
  "--device=dri",
  "--share=network"
 ],
 "module_count": 10,
 "fetched_at": "2026-09-20T13:02:19.220586+00:00",
 "manifest": {
  "app-id": "fr.collomatique.Collomatique",
  "runtime": "org.gnome.Platform",
  "runtime-version": "50",
  "sdk": "org.gnome.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.rust-stable"
  ],
  "command": "collomatique-gtk4",
  "finish-args": [
   "--socket=wayland",
   "--socket=fallback-x11",
   "--share=ipc",
   "--device=dri",
   "--share=network"
  ],
  "cleanup": [
   "/include",
   "/lib/pkgconfig",
   "/share/coin",
   "/share/doc",
   "/share/man",
   "/man",
   "/lib/python3.12/test",
   "/lib/tk8.6/demos",
   "*.a",
   "*.la"
  ],
  "modules": [
   {
    "name": "coinutils",
    "buildsystem": "autotools",
    "config-opts": [
     "-C"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/coin-or/CoinUtils/archive/refs/tags/releases/2.11.13.tar.gz",
      "sha256": "ddfea48e10209215748bc9f90a8c04abbb912b662c1aefaf280018d0a181ef79"
     }
    ]
   },
   {
    "name": "osi",
    "buildsystem": "autotools",
    "config-opts": [
     "-C"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/coin-or/Osi/archive/refs/tags/releases/0.108.11.tar.gz",
      "sha256": "1063b6a057e80222e2ede3ef0c73c0c54697e0fee1d913e2bef530310c13a670"
     }
    ]
   },
   {
    "name": "clp",
    "buildsystem": "autotools",
    "config-opts": [
     "-C"
    ],
    "cleanup": [
     "/bin"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/coin-or/Clp/archive/refs/tags/releases/1.17.10.tar.gz",
      "sha256": "0d79ece896cdaa4a3855c37f1c28e6c26285f74d45f635046ca0b6d68a509885"
     }
    ]
   },
   {
    "name": "cgl",
    "buildsystem": "autotools",
    "config-opts": [
     "-C"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/coin-or/Cgl/archive/refs/tags/releases/0.60.10.tar.gz",
      "sha256": "41b7ac9402db883d9c487eb7101e59eb513cefd726e6e7a669dc94664d9385e6"
     }
    ]
   },
   {
    "name": "cbc",
    "buildsystem": "autotools",
    "config-opts": [
     "-C"
    ],
    "cleanup": [
     "/bin"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/coin-or/Cbc/archive/refs/tags/releases/2.10.12.tar.gz",
      "sha256": "9ed71e4b61668462fc3794c102e26b4bb01a047efbbbcbd69ae7bde1f04f46a8"
     }
    ]
   },
   {
    "name": "tcl",
    "buildsystem": "autotools",
    "subdir": "unix",
    "post-install": [
     "chmod 755 /app/lib/libtcl8.6.so"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://prdownloads.sourceforge.net/tcl/tcl8.6.18-src.tar.gz",
      "sha256": "14f9af32b1767ff718477a8f974ad03c34341097e6b43f4ce54644ee974e268e"
     }
    ]
   },
   {
    "name": "tk",
    "buildsystem": "autotools",
    "subdir": "unix",
    "config-opts": [
     "--with-tcl=/app/lib"
    ],
    "post-install": [
     "chmod 755 /app/lib/libtk8.6.so"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://prdownloads.sourceforge.net/tcl/tk8.6.18-src.tar.gz",
      "sha256": "95cd528a80f5e4bdb557af9b14a7197d6860793a3894e25e7c9fad2ed05d4c3c"
     }
    ]
   },
   {
    "name": "cpython",
    "buildsystem": "autotools",
    "config-opts": [
     "--enable-shared",
     "--with-ensurepip=install"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://www.python.org/ftp/python/3.12.13/Python-3.12.13.tar.xz",
      "sha256": "c08bc65a81971c1dd5783182826503369466c7e67374d1646519adf05207b684"
     }
    ]
   },
   {
    "name": "python3-xlsxwriter",
    "buildsystem": "simple",
    "build-commands": [
     "/app/bin/python3 -m pip install --no-index --no-deps --prefix=${FLATPAK_DEST} xlsxwriter-3.2.9-py3-none-any.whl"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/3a/0c/3662f4a66880196a590b202f0db82d919dd2f89e99a27fadef91c4a33d41/xlsxwriter-3.2.9-py3-none-any.whl",
      "sha256": "9a5db42bc5dff014806c58a20b9eae7322a134abb6fce3c92c181bfb275ec5b3"
     }
    ]
   },
   {
    "name": "collomatique",
    "buildsystem": "simple",
    "build-options": {
     "append-path": "/usr/lib/sdk/rust-stable/bin",
     "env": {
      "CARGO_HOME": "/run/build/collomatique/cargo",
      "CARGO_NET_OFFLINE": "true",
      "PYO3_PYTHON": "/app/bin/python3"
     }
    },
    "build-commands": [
     "cargo --offline fetch --manifest-path Cargo.toml",
     "cargo build --offline --release -p collomatique-gtk4",
     "install -Dm755 target/release/collomatique-gtk4 ${FLATPAK_DEST}/bin/collomatique-gtk4",
     "install -Dm755 pkgs/flatpak/collomatique-pip ${FLATPAK_DEST}/bin/collomatique-pip",
     "install -Dm644 pkgs/flatpak/${FLATPAK_ID}.desktop ${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop",
     "install -Dm644 pkgs/flatpak/${FLATPAK_ID}.metainfo.xml ${FLATPAK_DEST}/share/metainfo/${FLATPAK_ID}.metainfo.xml",
     "install -Dm644 pkgs/flatpak/${FLATPAK_ID}.mime.xml ${FLATPAK_DEST}/share/mime/packages/${FLATPAK_ID}.xml",
     "install -Dm644 resources/icons/collomatique-128.png ${FLATPAK_DEST}/share/icons/hicolor/128x128/apps/${FLATPAK_ID}.png",
     "install -Dm644 resources/icons/collomatique-256.png ${FLATPAK_DEST}/share/icons/hicolor/256x256/apps/${FLATPAK_ID}.png",
     "install -Dm644 resources/icons/collomatique-512.png ${FLATPAK_DEST}/share/icons/hicolor/512x512/apps/${FLATPAK_ID}.png"
    ],
    "sources": [
     {
      "type": "dir",
      "path": "../..",
      "skip": [
       ".flatpak-builder",
       ".git",
       "target"
      ]
     },
     "cargo-sources.json"
    ]
   }
  ]
 }
}