{
 "app_id": "se.ramse.ggoled",
 "source_url": "https://raw.githubusercontent.com/JerwuQu/ggoled/master/flatpak/se.ramse.ggoled.yml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--device=all",
  "--talk-name=org.kde.StatusNotifierWatcher",
  "--talk-name=org.mpris.MediaPlayer2.*",
  "--socket=wayland",
  "--socket=fallback-x11",
  "--share=ipc"
 ],
 "module_count": 2,
 "fetched_at": "2026-09-20T12:55:05.298753+00:00",
 "manifest": {
  "app-id": "se.ramse.ggoled",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.rust-stable"
  ],
  "command": "ggoled_app",
  "finish-args": [
   "--device=all",
   "--talk-name=org.kde.StatusNotifierWatcher",
   "--talk-name=org.mpris.MediaPlayer2.*",
   "--socket=wayland",
   "--socket=fallback-x11",
   "--share=ipc"
  ],
  "modules": [
   "shared-modules/libayatana-appindicator/libayatana-appindicator-gtk3.json",
   {
    "name": "ggoled",
    "buildsystem": "simple",
    "build-options": {
     "append-path": "/usr/lib/sdk/rust-stable/bin",
     "env": {
      "CARGO_HOME": "/run/build/ggoled/cargo"
     }
    },
    "build-commands": [
     "mkdir -p $CARGO_HOME",
     "cp flatpak/cargo-config.toml $CARGO_HOME/config.toml",
     "cargo build --release --locked --features sdl3-static --offline",
     "install -Dm755 target/release/ggoled /app/bin/ggoled",
     "install -Dm755 target/release/ggoled_app /app/bin/ggoled_app",
     "install -Dm644 flatpak/se.ramse.ggoled.desktop /app/share/applications/se.ramse.ggoled.desktop",
     "install -Dm644 flatpak/se.ramse.ggoled.metainfo.xml /app/share/metainfo/se.ramse.ggoled.metainfo.xml",
     "install -Dm644 ggoled_app/assets/ggoled.png /app/share/icons/hicolor/128x128/apps/se.ramse.ggoled.png"
    ],
    "sources": [
     {
      "type": "dir",
      "path": ".."
     }
    ]
   }
  ]
 }
}