{
 "app_id": "ru.sview.sView",
 "source_url": "https://raw.githubusercontent.com/flathub/ru.sview.sView/master/ru.sview.sView.json",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=x11",
  "--socket=pulseaudio",
  "--device=dri",
  "--filesystem=host:ro",
  "--filesystem=xdg-run/gvfs:ro",
  "--talk-name=org.gtk.vfs.*"
 ],
 "module_count": 6,
 "fetched_at": "2026-09-17T16:17:20.151646+00:00",
 "manifest": {
  "app-id": "ru.sview.sView",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "sView",
  "rename-desktop-file": "sViewMP.desktop",
  "rename-icon": "sview",
  "finish-args": [
   "--share=ipc",
   "--socket=x11",
   "--device=dri",
   "--socket=pulseaudio",
   "--filesystem=host:ro",
   "--talk-name=org.gtk.vfs.*",
   "--filesystem=xdg-run/gvfs:ro"
  ],
  "modules": [
   "shared-modules/gtk2/gtk2.json",
   {
    "name": "libconfig",
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/hyperrealm/libconfig/archive/refs/tags/v1.8.2.tar.gz",
      "sha256": "8e71983761b08c65b15b769b3ec1d980036c461fdfd415c7183378a4b3eac8f4"
     },
     {
      "commands": [
       "autoreconf -fiv"
      ],
      "dest-filename": "autogen.sh",
      "type": "script"
     }
    ]
   },
   {
    "name": "nanum-fonts",
    "buildsystem": "simple",
    "build-commands": [
     "mkdir -p /app/share/fonts",
     "install -m0644 Fonts/NanumMyeongjo{,Bold}.ttf /app/share/fonts",
     "install -m0644 Fonts/NanumGothic{,Bold}.ttf /app/share/fonts"
    ],
    "sources": [
     {
      "type": "archive",
      "archive-type": "7z",
      "url": "http://appdown.naver.com/naver/font/NanumFont/setup/NanumFontSetup_TTF_ALL_totalsearch.exe",
      "sha256": "63cbbe0fef0a509bed8031976b30a0fa30d1a49c41a0942ea436db9ccec6a849"
     }
    ]
   },
   {
    "name": "droid-sans",
    "buildsystem": "simple",
    "build-commands": [
     "install -m0644 DroidSansFallbackFull.ttf /app/share/fonts"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://github.com/aosp-mirror/platform_frameworks_base/raw/2d8961d99f3aa559dbd4b78b716ab36c456b43e1/data/fonts/DroidSansFallbackFull.ttf",
      "sha256": "2392015530438bafc48edfc4aee6d9de2387f627a6134d8ab3dfcc99d21c8240"
     }
    ]
   },
   {
    "name": "openvr",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release",
     "-DBUILD_SHARED=ON"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/ValveSoftware/openvr/archive/refs/tags/v2.12.14.tar.gz",
      "sha256": "becc2e6b956d1b98d66e2cc75fd8b20db94eb5af584ec360a4dad7e8adec3176"
     }
    ],
    "cleanup": [
     "/share/pkgconfig"
    ]
   },
   {
    "name": "sview",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DUSE_UPDATER=OFF",
     "-DCMAKE_BUILD_TYPE=Release"
    ],
    "cleanup": [
     "/share/applications/sViewIV.desktop"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/gkv311/sview.git",
      "commit": "b7ec490a059024c26a9faec87baedb79a92d33c3"
     },
     {
      "type": "file",
      "path": "ru.sview.sView.appdata.xml"
     }
    ],
    "post-install": [
     "install -Dm644 -t /app/share/metainfo/ ru.sview.sView.appdata.xml"
    ]
   }
  ]
 }
}