{
 "app_id": "io.github.gm5dna.open-rig-programmer",
 "source_url": "https://raw.githubusercontent.com/gm5dna/open-rig-programmer/main/flathub/io.github.gm5dna.open-rig-programmer.yml",
 "runtime": "org.gnome.Platform",
 "runtime_version": "50",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--device=all",
  "--device=dri",
  "--share=ipc",
  "--socket=wayland",
  "--socket=fallback-x11"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-20T12:55:55.846236+00:00",
 "manifest": {
  "app-id": "io.github.gm5dna.open-rig-programmer",
  "runtime": "org.gnome.Platform",
  "runtime-version": "50",
  "sdk": "org.gnome.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.node22"
  ],
  "command": "open-rig-programmer",
  "finish-args": [
   "--device=all",
   "--device=dri",
   "--share=ipc",
   "--socket=wayland",
   "--socket=fallback-x11"
  ],
  "rename-desktop-file": "open-rig-programmer.desktop",
  "rename-icon": "open-rig-programmer",
  "modules": [
   {
    "name": "open-rig-programmer",
    "buildsystem": "simple",
    "build-options": {
     "append-path": "/usr/lib/sdk/node22/bin:/run/build/open-rig-programmer/go-sdk/bin",
     "env": {
      "XDG_CACHE_HOME": "/run/build/open-rig-programmer/flatpak-node/cache",
      "npm_config_cache": "/run/build/open-rig-programmer/flatpak-node/npm-cache",
      "npm_config_nodedir": "/usr/lib/sdk/node22",
      "GOROOT": "/run/build/open-rig-programmer/go-sdk",
      "GOFLAGS": "-mod=vendor",
      "GOPROXY": "off",
      "GOSUMDB": "off",
      "CGO_ENABLED": "1"
     }
    },
    "build-commands": [
     "cd app/frontend && npm install --offline && npm run build",
     "cd app && go build -trimpath -tags desktop,production,webkit2_41 -ldflags \"-s -w -X github.com/gm5dna/open-rig-programmer/internal/buildinfo.version=v1.8.2\" -o open-rig-programmer .",
     "install -Dm755 app/open-rig-programmer /app/bin/open-rig-programmer",
     "install -Dm644 app/build/linux/open-rig-programmer.desktop /app/share/applications/open-rig-programmer.desktop",
     "install -Dm644 app/build/linux/open-rig-programmer-512.png /app/share/icons/hicolor/512x512/apps/open-rig-programmer.png",
     "install -Dm644 app/build/flatpak/io.github.gm5dna.open-rig-programmer.metainfo.xml /app/share/metainfo/io.github.gm5dna.open-rig-programmer.metainfo.xml"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/gm5dna/open-rig-programmer.git",
      "tag": "v1.8.2",
      "commit": "69cad45663ea917bd664d05bde168445d186ab2c"
     },
     "go-sources.json",
     "node-sources.json",
     {
      "type": "archive",
      "only-arches": [
       "x86_64"
      ],
      "url": "https://go.dev/dl/go1.25.0.linux-amd64.tar.gz",
      "sha256": "2852af0cb20a13139b3448992e69b868e50ed0f8a1e5940ee1de9e19a123b613",
      "dest": "go-sdk",
      "strip-components": 1
     },
     {
      "type": "archive",
      "only-arches": [
       "aarch64"
      ],
      "url": "https://go.dev/dl/go1.25.0.linux-arm64.tar.gz",
      "sha256": "05de75d6994a2783699815ee553bd5a9327d8b79991de36e38b66862782f54ae",
      "dest": "go-sdk",
      "strip-components": 1
     }
    ]
   }
  ]
 }
}