{
 "app_id": "com.vcvrack.Rack",
 "source_url": "https://raw.githubusercontent.com/philipreinken/com.vcvrack.Rack/master/com.vcvrack.Rack.json",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "19.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--socket=fallback-x11",
  "--filesystem=home",
  "--share=network",
  "--share=ipc",
  "--device=dri",
  "--device=all",
  "--socket=pulseaudio"
 ],
 "module_count": 3,
 "fetched_at": "2026-09-20T12:53:20.643241+00:00",
 "manifest": {
  "app-id": "com.vcvrack.Rack",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "19.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "vcvrack",
  "finish-args": [
   "--socket=fallback-x11",
   "--filesystem=home",
   "--share=network",
   "--share=ipc",
   "--device=dri",
   "--device=all",
   "--socket=pulseaudio"
  ],
  "modules": [
   {
    "name": "wget",
    "sources": [
     {
      "type": "archive",
      "url": "http://ftp.gnu.org/gnu/wget/wget-latest.tar.gz",
      "sha256": "31cccfc6630528db1c8e3a06f6decf2a370060b982841cfab2b8677400a5092e"
     }
    ]
   },
   {
    "name": "gtk2",
    "sources": [
     {
      "type": "archive",
      "url": "http://ftp.gnome.org/pub/gnome/sources/gtk+/2.24/gtk+-2.24.32.tar.xz",
      "sha256": "b6c8a93ddda5eabe3bfee1eb39636c9a03d2a56c7b62828b359bf197943c582e"
     }
    ]
   },
   {
    "name": "rack",
    "buildsystem": "simple",
    "build-options": {
     "build-args": [
      "--share=network"
     ]
    },
    "build-commands": [
     "git submodule update --init --recursive",
     "sed -i 's/-ljack //g' Makefile",
     "make -j4 dep RTMIDI_FLAGS='--enable-shared=no --without-jack --with-alsa'",
     "make -j4",
     "cp -r ./ \"/app/rack/\"",
     "install -D -t \"/app/bin/\" vcvrack"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/VCVRack/Rack.git",
      "tag": "v1.1.6"
     },
     {
      "type": "script",
      "commands": [
       "/app/rack/Rack -s /app/rack \"$@\""
      ],
      "dest-filename": "vcvrack"
     }
    ]
   }
  ]
 }
}