{
 "app_id": "org.firestormviewer.FirestormViewer",
 "source_url": "https://raw.githubusercontent.com/flathub/org.firestormviewer.FirestormViewer/master/org.firestormviewer.FirestormViewer.json",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=pulseaudio",
  "--socket=x11",
  "--device=all",
  "--filesystem=xdg-documents",
  "--filesystem=xdg-desktop",
  "--filesystem=xdg-music",
  "--filesystem=~/.firestorm_x64:create",
  "--filesystem=xdg-pictures",
  "--filesystem=xdg-download",
  "--filesystem=xdg-run/app/com.discordapp.Discord:create",
  "--allow=multiarch",
  "--talk-name=org.freedesktop.Notifications",
  "--talk-name=org.freedesktop.secrets",
  "--own-name=com.secondlife.ViewerAppAPIService"
 ],
 "module_count": 5,
 "fetched_at": "2026-09-19T13:02:03.758024+00:00",
 "manifest": {
  "app-id": "org.firestormviewer.FirestormViewer",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "firestorm-viewer",
  "separate-locales": false,
  "finish-args": [
   "--share=ipc",
   "--socket=x11",
   "--socket=pulseaudio",
   "--share=network",
   "--allow=multiarch",
   "--device=all",
   "--filesystem=~/.firestorm_x64:create",
   "--filesystem=xdg-desktop",
   "--filesystem=xdg-documents",
   "--filesystem=xdg-download",
   "--filesystem=xdg-music",
   "--filesystem=xdg-pictures",
   "--filesystem=xdg-run/app/com.discordapp.Discord:create",
   "--talk-name=org.freedesktop.Notifications",
   "--talk-name=org.freedesktop.secrets",
   "--own-name=com.secondlife.ViewerAppAPIService",
   "--env=LD_LIBRARY_PATH=/app/extra/lib/:/app/lib32/:/app/lib"
  ],
  "cleanup": [
   "/share/man",
   "/share/doc",
   "/share/gtk-doc",
   "/lib/pkgconfig"
  ],
  "build-options": {
   "strip": true
  },
  "modules": [
   "shared-modules/glu/glu-9.json",
   "shared-modules/gtk2/gtk2.json",
   "shared-modules/dbus-glib/dbus-glib.json",
   {
    "name": "libnotify",
    "buildsystem": "meson",
    "config-opts": [
     "-Ddocbook_docs=disabled",
     "-Dintrospection=disabled",
     "-Dtests=false",
     "-Dgtk_doc=false",
     "-Dman=false"
    ],
    "cleanup": [
     "/bin"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://download.gnome.org/sources/libnotify/0.8/libnotify-0.8.6.tar.xz",
      "sha256": "c5540aaefb60e1d63b1c587c05f2284ebe72ece7d0c0e5e4a778cfd5844b6b58"
     }
    ]
   },
   {
    "name": "firestorm",
    "buildsystem": "simple",
    "sources": [
     {
      "type": "extra-data",
      "filename": "viewer.tar.xz",
      "url": "https://downloads.firestormviewer.org/release/linux/Phoenix-Firestorm-Releasex64_AVX2-7-2-4-80712.tar.xz",
      "sha256": "405fe8fc598494d71145a48e7feae3e1f02f7492f73017eeeba6fa077a5f21a8",
      "size": 185302052
     },
     {
      "type": "script",
      "dest-filename": "apply_extra",
      "commands": [
       "tar -xf viewer.tar.xz --strip 1 --no-same-owner",
       "rm viewer.tar.xz",
       "cp /app/etc/launch_url.sh etc/"
      ]
     },
     {
      "type": "file",
      "path": "assets/firestorm-viewer"
     },
     {
      "type": "file",
      "path": "assets/launch_url.sh"
     },
     {
      "type": "file",
      "path": "assets/org.firestormviewer.FirestormViewer.desktop"
     },
     {
      "type": "file",
      "path": "assets/org.firestormviewer.FirestormViewer.metainfo.xml"
     },
     {
      "type": "file",
      "url": "https://raw.githubusercontent.com/FirestormViewer/phoenix-firestorm/master/indra/newview/skins/default/textures/firestorm_icon.png",
      "sha256": "a2e3ec61c05b675e2a256be463342ea2b18feefaf4434879d03ddd055f213b1b",
      "dest-filename": "org.firestormviewer.FirestormViewer.png"
     }
    ],
    "build-commands": [
     "install apply_extra /app/bin/",
     "install launch_url.sh /app/etc/",
     "install -Dm755 firestorm-viewer $FLATPAK_DEST/bin/",
     "install -Dm644 $FLATPAK_ID.desktop $FLATPAK_DEST/share/applications/$FLATPAK_ID.desktop",
     "install -Dm644 $FLATPAK_ID.png $FLATPAK_DEST/share/icons/hicolor/512x512/apps/$FLATPAK_ID.png",
     "install -Dm644 $FLATPAK_ID.metainfo.xml $FLATPAK_DEST/share/metainfo/$FLATPAK_ID.metainfo.xml",
     "mkdir $FLATPAK_DEST/lib/i386-linux-gnu"
    ]
   }
  ]
 }
}