{
 "app_id": "gay.brie.CheesePaper",
 "source_url": "https://raw.githubusercontent.com/flathub/gay.brie.CheesePaper/master/gay.brie.CheesePaper.yml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--socket=fallback-x11",
  "--device=dri"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-17T16:09:59.859669+00:00",
 "manifest": {
  "id": "gay.brie.CheesePaper",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.rust-stable",
   "org.freedesktop.Sdk.Extension.llvm22"
  ],
  "build-options": {
   "append-path": "/usr/lib/sdk/rust-stable/bin"
  },
  "command": "cheese-paper",
  "finish-args": [
   "--share=ipc",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--device=dri"
  ],
  "modules": [
   {
    "name": "cheese-paper",
    "buildsystem": "simple",
    "build-options": {
     "append-path": "/usr/lib/sdk/rust-stable/bin",
     "env": {
      "CARGO_HOME": "/run/build/cheese-paper/cargo",
      "CARGO_NET_OFFLINE": "true"
     }
    },
    "build-commands": [
     "cargo --offline fetch --manifest-path Cargo.toml --verbose",
     "cargo --offline build --release --verbose --no-default-features --features polling",
     "install -Dm755 ./target/release/cheese-paper -t /app/bin",
     "install -Dm644 ./build/flatpak/${FLATPAK_ID}.metainfo.xml -t /app/share/metainfo/",
     "install -Dm644 ./build/${FLATPAK_ID}.desktop -t /app/share/applications/",
     "install -Dm644 ./resources/cheese-paper-icon.png /app/share/icons/hicolor/256x256/apps/gay.brie.CheesePaper.png"
    ],
    "sources": [
     "cargo-sources.json",
     {
      "type": "git",
      "url": "https://codeberg.org/ByteOfBrie/cheese-paper.git",
      "tag": "1.0.0",
      "commit": "8024f0f4d2ec6a1914791172b0af9cbac911929c"
     }
    ]
   }
  ]
 }
}