{
 "app_id": "in.cinny.Cinny",
 "source_url": "https://raw.githubusercontent.com/flathub/in.cinny.Cinny/master/in.cinny.Cinny.yml",
 "runtime": "org.gnome.Platform",
 "runtime_version": "50",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=fallback-x11",
  "--socket=pulseaudio",
  "--socket=wayland",
  "--device=dri",
  "--filesystem=home",
  "--filesystem=xdg-run/keyring",
  "--talk-name=org.kde.StatusNotifierWatcher",
  "--talk-name=org.freedesktop.Notifications"
 ],
 "module_count": 3,
 "fetched_at": "2026-09-17T16:10:04.899223+00:00",
 "manifest": {
  "id": "in.cinny.Cinny",
  "runtime": "org.gnome.Platform",
  "runtime-version": "50",
  "sdk": "org.gnome.Sdk",
  "command": "cinny",
  "rename-icon": "cinny",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.node24",
   "org.freedesktop.Sdk.Extension.rust-stable"
  ],
  "finish-args": [
   "--socket=wayland",
   "--socket=fallback-x11",
   "--share=ipc",
   "--device=dri",
   "--socket=pulseaudio",
   "--share=network",
   "--filesystem=xdg-run/keyring",
   "--filesystem=home",
   "--talk-name=org.freedesktop.Notifications",
   "--talk-name=org.kde.StatusNotifierWatcher"
  ],
  "build-options": {
   "append-path": "/usr/lib/sdk/node24/bin:/usr/lib/sdk/rust-stable/bin"
  },
  "modules": [
   "shared-modules/libappindicator/libappindicator-gtk3-12.10.json",
   {
    "name": "libvips",
    "cleanup": [
     "/*"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/libvips/libvips",
      "tag": "v8.18.6",
      "commit": "426af3f44246fce9cfa8dd51a353aa4dfd48c553",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^v((?:\\d+.)*\\d+)$"
      }
     }
    ],
    "buildsystem": "meson"
   },
   {
    "name": "Cinny",
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/cinnyapp/cinny-desktop.git",
      "tag": "v4.12.7",
      "commit": "d3627de8792ff1b3bba74aecbee3a503ce75ad35",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^v((?:\\d+.)*\\d+)$"
      }
     },
     {
      "type": "patch",
      "path": "0001-disable-tauri-updater.patch"
     },
     "node-sources.json",
     "cargo-sources.json",
     {
      "type": "file",
      "path": "in.cinny.Cinny.desktop"
     },
     {
      "type": "file",
      "path": "in.cinny.Cinny.appdata.xml"
     }
    ],
    "buildsystem": "simple",
    "build-options": {
     "env": {
      "CARGO_HOME": "/run/build/Cinny/cargo",
      "XDG_CACHE_HOME": "/run/build/Cinny/flatpak-node/cache",
      "npm_config_cache": "/run/build/Cinny/flatpak-node/npm-cache",
      "npm_config_offline": "true",
      "npm_config_sharp_libvips_local_prebuilds": "/run/build/Cinny/flatpak-node/libvips-cache",
      "NODE_OPTIONS": "--max_old_space_size=4096"
     }
    },
    "build-commands": [
     "for project in . cinny; do npm ci --offline --legacy-peer-deps --prefix=$project; done",
     "cargo --offline fetch --manifest-path src-tauri/Cargo.toml",
     "npm run tauri build -- --no-bundle -v",
     "install -Dm644 -t /app/share/metainfo/ in.cinny.Cinny.appdata.xml",
     "install -Dm755 -t /app/bin/ src-tauri/target/release/cinny",
     "install -Dm755 -t /app/share/icons/hicolor/scalable/apps/ cinny/public/res/svg/cinny.svg",
     "install -Dm644 -t /app/share/applications/ in.cinny.Cinny.desktop"
    ]
   }
  ]
 }
}