{
 "app_id": "de.swsnr.pictureoftheday",
 "source_url": "https://raw.githubusercontent.com/flathub/de.swsnr.pictureoftheday/master/de.swsnr.pictureoftheday.yaml",
 "runtime": "org.gnome.Platform",
 "runtime_version": "50",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=fallback-x11",
  "--socket=wayland",
  "--device=dri"
 ],
 "module_count": 2,
 "fetched_at": "2026-09-17T16:09:27.964274+00:00",
 "manifest": {
  "id": "de.swsnr.pictureoftheday",
  "runtime": "org.gnome.Platform",
  "runtime-version": "50",
  "sdk": "org.gnome.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.rust-stable"
  ],
  "command": "de.swsnr.pictureoftheday",
  "finish-args": [
   "--share=ipc",
   "--share=network",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--device=dri"
  ],
  "build-options": {
   "append-path": "/usr/lib/sdk/rust-stable/bin"
  },
  "modules": [
   {
    "name": "just",
    "buildsystem": "simple",
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/casey/just/releases/download/1.42.4/just-1.42.4-aarch64-unknown-linux-musl.tar.gz",
      "sha256": "beb35a4ed1208ffbb0fef26042c65875759a5358b9ee1a7856dec8490dfd4aca",
      "strip-components": 0,
      "only-arches": [
       "aarch64"
      ]
     },
     {
      "type": "archive",
      "url": "https://github.com/casey/just/releases/download/1.42.4/just-1.42.4-x86_64-unknown-linux-musl.tar.gz",
      "sha256": "678efc1cfbd5fa5a88375daa7e2f3864a049d6d63a0296df925a2ae5f516cb56",
      "strip-components": 0,
      "only-arches": [
       "x86_64"
      ]
     }
    ],
    "build-commands": [
     "install -D -m755 just /app/bin/just"
    ],
    "cleanup": [
     "*"
    ]
   },
   {
    "name": "pictureoftheday",
    "buildsystem": "simple",
    "sources": [
     {
      "type": "git",
      "url": "https://codeberg.org/swsnr/picture-of-the-day.git",
      "tag": "v1.11.5",
      "commit": "fefefacdd6d045c7c50cd1d7d1fd5ca9265c3378"
     },
     "de.swsnr.pictureoftheday.cargo-sources.json"
    ],
    "build-commands": [
     "install -Dm644 cargo/config .cargo/config.toml",
     "just APPID=de.swsnr.pictureoftheday compile",
     "cargo build --frozen --release --verbose",
     "just APPID=de.swsnr.pictureoftheday DESTPREFIX=/app install"
    ]
   }
  ]
 }
}