{
 "app_id": "app.fotema.Fotema",
 "source_url": "https://raw.githubusercontent.com/flathub/app.fotema.Fotema/master/app.fotema.Fotema.json",
 "runtime": "org.gnome.Platform",
 "runtime_version": "50",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=network",
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--socket=pulseaudio",
  "--socket=fallback-x11",
  "--device=dri"
 ],
 "module_count": 4,
 "fetched_at": "2026-09-17T16:06:21.975265+00:00",
 "manifest": {
  "id": "app.fotema.Fotema",
  "runtime": "org.gnome.Platform",
  "runtime-version": "50",
  "sdk": "org.gnome.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.rust-stable",
   "org.freedesktop.Sdk.Extension.llvm21"
  ],
  "command": "fotema",
  "finish-args": [
   "--device=dri",
   "--share=ipc",
   "--share=network",
   "--socket=wayland",
   "--socket=fallback-x11",
   "--socket=pulseaudio",
   "--env=RUST_BACKTRACE=0",
   "--env=RUST_LOG=fotema=info,fotema_core::thumbnailify=warn,relm4=warn,glycin=warn"
  ],
  "build-options": {
   "append-path": "/usr/lib/sdk/rust-stable/bin:/usr/lib/sdk/llvm21/bin",
   "prepend-ld-library-path": "/usr/lib/sdk/llvm21/lib"
  },
  "cleanup": [
   "/include",
   "/lib/cmake",
   "/lib/girepository-1.0",
   "/lib/pkgconfig",
   "/share/gir-1.0",
   "*.la",
   "*.a"
  ],
  "modules": [
   "modules/libshumate.json",
   "modules/opencv.json",
   "modules/libonnxruntime.json",
   {
    "name": "fotema",
    "buildsystem": "meson",
    "builddir": true,
    "run-tests": false,
    "build-options": {
     "append-path": "/usr/lib/sdk/rust-stable/bin:/usr/lib/sdk/llvm21/bin",
     "prepend-ld-library-path": "/usr/lib/sdk/llvm21/lib",
     "env": {
      "OPENCV_INCLUDE_PATHS": "/app/include/opencv4",
      "LIBCLANG_PATH": "/usr/lib/sdk/llvm21/lib",
      "ORT_STRATEGY": "system"
     }
    },
    "config-opts": [
     "-Dprofile=default",
     "-Dsandboxed=true"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/blissd/fotema.git",
      "tag": "v2.4.2",
      "commit": "9210858ca1a833e2007291ddd62e0b0ed8c31e52"
     },
     "cargo-sources.json"
    ]
   }
  ]
 }
}