{
 "app_id": "io.github.ctsdownloads.CosmicCassetteDeck",
 "source_url": "https://raw.githubusercontent.com/ctsdownloads/cosmic-cassette-deck/main/io.github.ctsdownloads.CosmicCassetteDeck.yml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=wayland",
  "--socket=fallback-x11",
  "--device=dri",
  "--socket=pulseaudio",
  "--own-name=org.mpris.MediaPlayer2.io.github.ctsdownloads.CosmicCassetteDeck",
  "--share=network",
  "--filesystem=xdg-music:ro",
  "--filesystem=xdg-config/cosmic:ro",
  "--talk-name=com.system76.CosmicSettingsDaemon"
 ],
 "module_count": 3,
 "fetched_at": "2026-09-20T12:55:48.097119+00:00",
 "manifest": {
  "app-id": "io.github.ctsdownloads.CosmicCassetteDeck",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.rust-stable",
   "org.freedesktop.Sdk.Extension.llvm21"
  ],
  "command": "cosmic-cassette-deck",
  "finish-args": [
   "--share=ipc",
   "--socket=wayland",
   "--socket=fallback-x11",
   "--device=dri",
   "--socket=pulseaudio",
   "--own-name=org.mpris.MediaPlayer2.io.github.ctsdownloads.CosmicCassetteDeck",
   "--share=network",
   "--filesystem=xdg-music:ro",
   "--filesystem=xdg-config/cosmic:ro",
   "--talk-name=com.system76.CosmicSettingsDaemon"
  ],
  "build-options": {
   "append-path": "/usr/lib/sdk/rust-stable/bin:/usr/lib/sdk/llvm21/bin",
   "env": {
    "CARGO_HOME": "/run/build/cosmic-cassette-deck/cargo",
    "CARGO_NET_OFFLINE": "true",
    "CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER": "clang",
    "CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUSTFLAGS": "-C link-arg=-fuse-ld=/usr/lib/sdk/rust-stable/bin/mold",
    "CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER": "clang",
    "CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_RUSTFLAGS": "-C link-arg=-fuse-ld=/usr/lib/sdk/rust-stable/bin/mold"
   }
  },
  "modules": [
   {
    "name": "just",
    "buildsystem": "simple",
    "build-commands": [
     "install -Dm0755 just /app/bin/just"
    ],
    "sources": [
     {
      "type": "archive",
      "strip-components": 0,
      "dest-filename": "just.tar.gz",
      "url": "https://github.com/casey/just/releases/download/1.46.0/just-1.46.0-x86_64-unknown-linux-musl.tar.gz",
      "sha256": "79966e6e353f535ee7d1c6221641bcc8e3381c55b0d0a6dc6e54b34f9db36eaa",
      "only-arches": [
       "x86_64"
      ]
     },
     {
      "type": "archive",
      "strip-components": 0,
      "dest-filename": "just.tar.gz",
      "url": "https://github.com/casey/just/releases/download/1.46.0/just-1.46.0-aarch64-unknown-linux-musl.tar.gz",
      "sha256": "b81970c8247fa64cfb30d2a3da0e487e4253f9f2d01865ed5e7d53cdc7b02188",
      "only-arches": [
       "aarch64"
      ]
     }
    ]
   },
   {
    "name": "cosmic-icons",
    "buildsystem": "simple",
    "build-commands": [
     "just prefix=/app install"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/pop-os/cosmic-icons.git",
      "commit": "b78b059636ed967ad7c6f120709c7d29b2bafac1"
     }
    ]
   },
   {
    "name": "cosmic-cassette-deck",
    "buildsystem": "simple",
    "build-commands": [
     "cargo --offline build --release",
     "install -Dm0755 target/release/cosmic-cassette-deck /app/bin/cosmic-cassette-deck",
     "install -Dm0644 res/io.github.ctsdownloads.CosmicCassetteDeck.desktop /app/share/applications/io.github.ctsdownloads.CosmicCassetteDeck.desktop",
     "install -Dm0644 res/io.github.ctsdownloads.CosmicCassetteDeck.svg /app/share/icons/hicolor/scalable/apps/io.github.ctsdownloads.CosmicCassetteDeck.svg",
     "install -Dm0644 res/io.github.ctsdownloads.CosmicCassetteDeck.metainfo.xml /app/share/metainfo/io.github.ctsdownloads.CosmicCassetteDeck.metainfo.xml"
    ],
    "sources": [
     {
      "type": "dir",
      "path": "."
     },
     "cargo-sources.json"
    ]
   }
  ]
 }
}