{
 "app_id": "com.jellyx.music",
 "source_url": "https://raw.githubusercontent.com/netcraker01/jellyx-player/main/packaging/flatpak/com.jellyx.music.yml",
 "runtime": "org.gnome.Platform",
 "runtime_version": "48",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=network",
  "--share=ipc",
  "--socket=fallback-x11",
  "--socket=wayland",
  "--device=dri",
  "--socket=pulseaudio",
  "--filesystem=xdg-music:ro",
  "--filesystem=xdg-videos:ro",
  "--talk-name=org.freedesktop.Notifications"
 ],
 "module_count": 2,
 "fetched_at": "2026-09-20T13:01:49.059305+00:00",
 "manifest": {
  "app-id": "com.jellyx.music",
  "runtime": "org.gnome.Platform",
  "runtime-version": "48",
  "sdk": "org.gnome.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.rust-stable",
   "org.freedesktop.Sdk.Extension.node22"
  ],
  "command": "jellyx",
  "finish-args": [
   "--share=network",
   "--share=ipc",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--device=dri",
   "--socket=pulseaudio",
   "--filesystem=xdg-music:ro",
   "--filesystem=xdg-videos:ro",
   "--talk-name=org.freedesktop.Notifications"
  ],
  "build-options": {
   "append-path": "/usr/lib/sdk/rust-stable/bin:/usr/lib/sdk/node22/bin",
   "env": {
    "CARGO_HOME": "/run/build/jellyx/cargo",
    "npm_config_nodedir": "/usr/lib/sdk/node22"
   }
  },
  "cleanup": [
   "/include",
   "/lib/pkgconfig",
   "/share/doc",
   "/share/man",
   "*.a",
   "*.la"
  ],
  "modules": [
   {
    "name": "jellyx-ui",
    "buildsystem": "simple",
    "build-commands": [
     "cd ui && npm install && npm run build"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/netcraker01/jellyx-player/archive/92f424c3d61f3229d967628c04cc4386b1b8bb3e.tar.gz",
      "sha256": "c4b2f81a3622f9c477b8ab63c96ab5442d4c4c95404f54b1b997f690b00cab06"
     },
     "cargo-sources.json"
    ]
   },
   {
    "name": "jellyx",
    "buildsystem": "simple",
    "build-commands": [
     "cargo build --release --manifest-path jellyx-desktop/Cargo.toml",
     "install -Dm755 target/release/jellyx /app/bin/jellyx",
     "install -Dm644 jellyx-desktop/icons/32x32.png /app/share/icons/hicolor/32x32/apps/com.jellyx.music.png",
     "install -Dm644 jellyx-desktop/icons/128x128.png /app/share/icons/hicolor/128x128/apps/com.jellyx.music.png",
     "install -Dm644 jellyx-desktop/icons/128x128@2x.png /app/share/icons/hicolor/256x256/apps/com.jellyx.music.png",
     "install -Dm644 packaging/flatpak/com.jellyx.music.desktop /app/share/applications/com.jellyx.music.desktop",
     "install -Dm644 packaging/flatpak/com.jellyx.music.metainfo.xml /app/share/metainfo/com.jellyx.music.metainfo.xml"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/netcraker01/jellyx-player/archive/92f424c3d61f3229d967628c04cc4386b1b8bb3e.tar.gz",
      "sha256": "c4b2f81a3622f9c477b8ab63c96ab5442d4c4c95404f54b1b997f690b00cab06"
     },
     "cargo-sources.json"
    ]
   }
  ]
 }
}