{
 "app_id": "org.mfek.MFEKglif",
 "source_url": "https://raw.githubusercontent.com/flathub/org.mfek.MFEKglif/master/org.mfek.MFEKglif.yml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=fallback-x11",
  "--socket=wayland",
  "--device=dri",
  "--filesystem=home"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-17T16:16:05.499497+00:00",
 "manifest": {
  "app-id": "org.mfek.MFEKglif",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "cleanup": [
   "/sdk"
  ],
  "build-options": {
   "append-path": "/app/sdk/rust-nightly/bin",
   "env": {
    "CARGO_HOME": "/run/build/MFEKglif/cargo",
    "SKIA_BINARIES_URL": "file:///run/build/MFEKglif/skia-binaries.tar.gz",
    "FORCE_SKIA_BINARIES_DOWNLOAD": "1"
   }
  },
  "finish-args": [
   "--share=ipc",
   "--socket=wayland",
   "--socket=fallback-x11",
   "--device=dri",
   "--filesystem=home"
  ],
  "command": "MFEKglif",
  "modules": [
   {
    "name": "MFEKglif",
    "buildsystem": "simple",
    "build-commands": [
     "cd rust && ./install.sh --prefix=/app/sdk/rust-nightly --without=rust-docs --without=rust-docs-json-preview --disable-ldconfig --verbose",
     "cp ./resources/MFEKglif.desktop ./${FLATPAK_ID}.desktop",
     "cp ./resources/MFEKglif.png ./${FLATPAK_ID}.png",
     "desktop-file-edit ./${FLATPAK_ID}.desktop --set-key=Icon --set-value=org.mfek.MFEKglif.png",
     "cargo --offline fetch --manifest-path Cargo.toml --verbose",
     "cargo --offline build --release",
     "install -Dm755 ./target/release/MFEKglif -t /app/bin/",
     "install -Dm644 ./${FLATPAK_ID}.metainfo.xml -t /app/share/metainfo/",
     "install -Dm644 ./${FLATPAK_ID}.desktop -t /app/share/applications/",
     "install -Dm644 ./${FLATPAK_ID}.png -t /app/share/icons/hicolor/512x512/apps/"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/MFEK/glif.git",
      "commit": "e7c24c5d77b768429b7c7f13605b080fd3f1ca98"
     },
     {
      "type": "file",
      "only-arches": [
       "x86_64"
      ],
      "url": "https://github.com/rust-skia/skia-binaries/releases/download/0.70.0/skia-binaries-84208280edf3e5d111e9-x86_64-unknown-linux-gnu-gl.tar.gz",
      "dest-filename": "skia-binaries.tar.gz",
      "sha256": "a5be71c6505f4b871e8baf8fda0444dcab578367fe15f23095ba9731e68c71f2"
     },
     {
      "type": "file",
      "only-arches": [
       "aarch64"
      ],
      "url": "https://github.com/rust-skia/skia-binaries/releases/download/0.70.0/skia-binaries-84208280edf3e5d111e9-aarch64-unknown-linux-gnu-gl.tar.gz",
      "dest-filename": "skia-binaries.tar.gz",
      "sha256": "e591b0d2714eafb6f8147df88eba52ef5df194733a2258ff4372a185e58e96c0"
     },
     {
      "type": "file",
      "path": "./org.mfek.MFEKglif.metainfo.xml"
     },
     "generated-sources.json",
     {
      "type": "archive",
      "only-arches": [
       "x86_64"
      ],
      "dest": "rust",
      "url": "https://static.rust-lang.org/dist/2026-07-22/rust-nightly-x86_64-unknown-linux-gnu.tar.xz",
      "sha256": "5df1eebd4c287b2e688b5aeab012a3e3698c9d321225073ca580c9d6583e2546"
     },
     {
      "type": "archive",
      "only-arches": [
       "aarch64"
      ],
      "dest": "rust",
      "url": "https://static.rust-lang.org/dist/2026-07-22/rust-nightly-aarch64-unknown-linux-gnu.tar.xz",
      "sha256": "a9a7ad85f293b31befae0f882be4e79c0313c2b37e691c78856204367c18f943"
     }
    ]
   }
  ]
 }
}