{
 "app_id": "com.msingh.sukhi.play",
 "source_url": "https://raw.githubusercontent.com/meSingh/sukhi-play/main/packaging/flathub/com.msingh.sukhi.play.yml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "24.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=wayland",
  "--socket=fallback-x11",
  "--socket=pulseaudio",
  "--share=network",
  "--device=dri",
  "--talk-name=org.freedesktop.Notifications"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-20T13:02:06.014036+00:00",
 "manifest": {
  "app-id": "com.msingh.sukhi.play",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "24.08",
  "sdk": "org.freedesktop.Sdk",
  "base": "org.electronjs.Electron2.BaseApp",
  "base-version": "24.08",
  "command": "sukhi-play",
  "separate-locales": false,
  "finish-args": [
   "--share=ipc",
   "--socket=wayland",
   "--socket=fallback-x11",
   "--socket=pulseaudio",
   "--share=network",
   "--device=dri",
   "--talk-name=org.freedesktop.Notifications"
  ],
  "modules": [
   {
    "name": "sukhi-play",
    "buildsystem": "simple",
    "build-commands": [
     "install -d /app/lib/sukhi-play",
     "cp -a electron/. /app/lib/sukhi-play/",
     "install -d /app/lib/sukhi-play/resources/app",
     "cp -a src config package.json /app/lib/sukhi-play/resources/app/",
     "install -Dm755 sukhi-play.sh /app/bin/sukhi-play",
     "install -Dm644 com.msingh.sukhi.play.metainfo.xml /app/share/metainfo/com.msingh.sukhi.play.metainfo.xml",
     "install -Dm644 com.msingh.sukhi.play.desktop /app/share/applications/com.msingh.sukhi.play.desktop",
     "for s in 16 24 32 48 64 128 256 512; do\n  install -Dm644 \"build/icons/${s}x${s}.png\" \\\n    \"/app/share/icons/hicolor/${s}x${s}/apps/com.msingh.sukhi.play.png\"\ndone\n"
    ],
    "sources": [
     {
      "type": "archive",
      "only-arches": [
       "x86_64"
      ],
      "url": "https://github.com/electron/electron/releases/download/v44.3.0/electron-v44.3.0-linux-x64.zip",
      "sha256": "8b49b9efdd73c0f467edc3c1cd5678392c384ccf224f34ff54179f736e2f384b",
      "strip-components": 0,
      "dest": "electron"
     },
     {
      "type": "archive",
      "only-arches": [
       "aarch64"
      ],
      "url": "https://github.com/electron/electron/releases/download/v44.3.0/electron-v44.3.0-linux-arm64.zip",
      "sha256": "c11fde221c08e9bffdb3336579f09bd934a009862f509af5033616876741be24",
      "strip-components": 0,
      "dest": "electron"
     },
     {
      "type": "git",
      "url": "https://github.com/meSingh/sukhi-play.git",
      "tag": "v1.0.13"
     },
     {
      "type": "file",
      "path": "sukhi-play.sh"
     },
     {
      "type": "file",
      "path": "com.msingh.sukhi.play.desktop"
     },
     {
      "type": "file",
      "path": "com.msingh.sukhi.play.metainfo.xml"
     }
    ]
   }
  ]
 }
}