{
 "app_id": "page.codeberg.M23Snezhok.Vinyl",
 "source_url": "https://raw.githubusercontent.com/flathub/page.codeberg.M23Snezhok.Vinyl/master/page.codeberg.M23Snezhok.Vinyl.json",
 "runtime": "org.gnome.Platform",
 "runtime_version": "50",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=fallback-x11",
  "--socket=pulseaudio",
  "--socket=wayland",
  "--device=dri",
  "--filesystem=xdg-music:ro"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-17T16:17:03.034515+00:00",
 "manifest": {
  "id": "page.codeberg.M23Snezhok.Vinyl",
  "runtime": "org.gnome.Platform",
  "runtime-version": "50",
  "sdk": "org.gnome.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.rust-stable"
  ],
  "command": "vinyl-player",
  "finish-args": [
   "--share=ipc",
   "--socket=fallback-x11",
   "--device=dri",
   "--socket=wayland",
   "--socket=pulseaudio",
   "--filesystem=xdg-music:ro"
  ],
  "modules": [
   {
    "name": "Vinyl",
    "buildsystem": "simple",
    "build-options": {
     "append-path": "/usr/lib/sdk/rust-stable/bin",
     "env": {
      "CARGO_HOME": "/run/build/Vinyl/cargo",
      "CARGO_NET_OFFLINE": "true",
      "RUST_BACKTRACE": "1",
      "RUST_LOG": "vinyl-player=debug"
     }
    },
    "build-commands": [
     "install -Dm0644 cargo/config .cargo/config.toml",
     "cargo --offline fetch --manifest-path Cargo.toml --verbose",
     "cargo build --offline --release --all-features",
     "install -Dm0755 target/release/vinyl-player ${FLATPAK_DEST}/bin/vinyl-player",
     "install -Dm0644 data/hicolor/scalable/apps/page.codeberg.M23Snezhok.Vinyl.svg ${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/${FLATPAK_ID}.svg",
     "install -Dm0644 data/hicolor/symbolic/apps/page.codeberg.M23Snezhok.Vinyl-symbolic.svg ${FLATPAK_DEST}/share/icons/hicolor/symbolic/apps/${FLATPAK_ID}-symbolic.svg",
     "install -Dm0644 data/page.codeberg.M23Snezhok.Vinyl.desktop ${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop",
     "install -Dm0644 data/page.codeberg.M23Snezhok.Vinyl.service ${FLATPAK_DEST}/share/dbus-1/services/${FLATPAK_ID}.service",
     "install -Dm0644 data/page.codeberg.M23Snezhok.Vinyl.metainfo.xml ${FLATPAK_DEST}/share/metainfo/${FLATPAK_ID}.metainfo.xml"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://codeberg.org/M23Snezhok/Vinyl/archive/v1.6.1.tar.gz",
      "sha256": "92be6c0c339a190950ff3c02198d7e51e24dd5a46756f365e1e753da1346e42d"
     },
     "cargo-sources.json"
    ]
   }
  ]
 }
}