{
 "app_id": "io.github.sigmasd.recordapps",
 "source_url": "https://raw.githubusercontent.com/flathub/io.github.sigmasd.recordapps/master/io.github.sigmasd.recordapps.yml",
 "runtime": "org.gnome.Platform",
 "runtime_version": "50",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=fallback-x11",
  "--socket=pulseaudio",
  "--socket=wayland",
  "--device=all",
  "--filesystem=xdg-run/pipewire-0",
  "--filesystem=xdg-music"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-17T16:12:12.238672+00:00",
 "manifest": {
  "app-id": "io.github.sigmasd.recordapps",
  "runtime": "org.gnome.Platform",
  "runtime-version": "50",
  "sdk": "org.gnome.Sdk",
  "command": "run.sh",
  "finish-args": [
   "--share=ipc",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--socket=pulseaudio",
   "--filesystem=xdg-run/pipewire-0",
   "--device=all",
   "--filesystem=xdg-music",
   "--share=network"
  ],
  "modules": [
   {
    "name": "recordapps",
    "buildsystem": "simple",
    "build-options": {
     "env": {
      "DENO_DIR": "/run/build/recordapps/deno_dir",
      "DENORT_BIN": "denort"
     }
    },
    "build-commands": [
     null,
     "./deno task frontend:build",
     "./deno compile --no-check --cached-only --vendor -o record --include src/webview/app.worker.ts --include src/dist -A src/webview/webview.ts",
     "install -Dm755 record /app/bin/record",
     "install -Dm755 run.sh /app/bin/run.sh",
     "install -D libwebview.*.so -t /app/bin/",
     "install -D distro/io.github.sigmasd.recordapps.desktop -t /app/share/applications/",
     "install -D distro/io.github.sigmasd.recordapps.metainfo.xml -t /app/share/metainfo/",
     "install -D distro/icons/hicolor/scalable/io.github.sigmasd.recordapps.svg -t /app/share/icons/hicolor/scalable/apps/"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/sigmaSd/recordapps/archive/refs/tags/1.14.2.tar.gz",
      "sha256": "b8fc9428c4a1d0bf9c1ea50d1d3a077674ba076b6dd998036d796bebc9ced78f"
     },
     {
      "type": "archive",
      "url": "https://github.com/denoland/deno/releases/download/v2.6.9/deno-x86_64-unknown-linux-gnu.zip",
      "sha256": "8a677a4b0cea1a25aaecfc70d6c6a288f9ad69af0a92e9e9d513cabaaf3c688f",
      "only-arches": [
       "x86_64"
      ]
     },
     {
      "type": "archive",
      "url": "https://github.com/denoland/deno/releases/download/v2.6.9/denort-x86_64-unknown-linux-gnu.zip",
      "sha256": "55867c8f1c489f474d7465aa3b120cd28535fdcb08b18c90090ee91d43e5e251",
      "only-arches": [
       "x86_64"
      ]
     },
     {
      "type": "archive",
      "url": "https://github.com/denoland/deno/releases/download/v2.6.9/deno-aarch64-unknown-linux-gnu.zip",
      "sha256": "d1cd2f5f08abdc22156b67fc1cd9e8dcd2e8e3ab5caffe1da603992c8b1b5d67",
      "only-arches": [
       "aarch64"
      ]
     },
     {
      "type": "archive",
      "url": "https://github.com/denoland/deno/releases/download/v2.6.9/denort-aarch64-unknown-linux-gnu.zip",
      "sha256": "652839887c6ba39186d258002bc6126f2aaf78317fb4aa140ec6acbcaf3f9a37",
      "only-arches": [
       "aarch64"
      ]
     },
     {
      "type": "file",
      "url": "https://github.com/webview/webview_deno/releases/download/0.9.0/libwebview.x86_64.so",
      "sha256": "5a66b75e14e9360d5c24ba53574e5ed5b1b476843623721aae8fc47a15a69a42",
      "only-arches": [
       "x86_64"
      ]
     },
     {
      "type": "file",
      "url": "https://github.com/webview/webview_deno/releases/download/0.9.0/libwebview.aarch64.so",
      "sha256": "e9ee12c1fe6f0c587c37cca827586bf5c202fd7e04afcd01b780c993878d132a",
      "only-arches": [
       "aarch64"
      ]
     },
     {
      "type": "script",
      "dest-filename": "run.sh",
      "commands": [
       "WEBKIT_DISABLE_SANDBOX_THIS_IS_DANGEROUS=1 PLUGIN_URL=/app/bin exec record \"$@\""
      ]
     },
     "deno-sources.json"
    ]
   }
  ]
 }
}