{
 "app_id": "org.openmw.openmwNightly",
 "source_url": "https://raw.githubusercontent.com/casept/flatpak-openmw/master/org.openmw.openmwNightly.json",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "1.6",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--socket=x11",
  "--share=ipc",
  "--device=dri",
  "--socket=pulseaudio",
  "--share=network",
  "--socket=wayland",
  "--filesystem=home"
 ],
 "module_count": 17,
 "fetched_at": "2026-09-17T17:34:21.971746+00:00",
 "manifest": {
  "app-id": "org.openmw.openmwNightly",
  "branch": "nightly",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "1.6",
  "sdk": "org.freedesktop.Sdk",
  "command": "openmw",
  "rename-icon": "openmw",
  "rename-desktop-file": "openmw.desktop",
  "desktop-file-name-prefix": "(nightly) ",
  "rename-appdata-file": "openmw.appdata.xml",
  "finish-args": [
   "--socket=x11",
   "--share=ipc",
   "--device=dri",
   "--socket=pulseaudio",
   "--share=network",
   "--socket=wayland",
   "--filesystem=home"
  ],
  "modules": [
   "modules/icu4c-55.1.json",
   "modules/qt-4.8.7.json",
   "modules/fribidi-0.19.7.json",
   "modules/libass-0.13.6.json",
   "modules/libmp3lame-3.99.5.json",
   "modules/libopus-1.1.4.json",
   "modules/x264-20170416-stable.json",
   "modules/x265-2.3.json",
   "modules/ffmpeg-3.3.1.json",
   "modules/unshield-1.4.2.json",
   "modules/openscenegraph-3.4.0.json",
   "modules/glu-9.0.0.json",
   "modules/openal-1.17.2.json",
   "modules/mygui-3.2.2.json",
   "modules/bullet-2.86.json",
   "modules/boost-1.64.0.json",
   {
    "name": "openmw",
    "buildsystem": "cmake",
    "post-install": [
     "mkdir -p /app/share/icons/hicolor/256x256/apps/",
     "mv /app/share/pixmaps/openmw.png /app/share/icons/hicolor/256x256/apps/openmw.png",
     "mkdir -p /app/share/icons/hicolor/256x256/apps/",
     "mv /app/share/pixmaps/openmw-cs.png /app/share/icons/hicolor/256x256/apps/org.openmw.openmw.CreationSet.Nightly.png",
     "mv /app/share/applications/openmw-cs.desktop /app/share/applications/org.openmw.openmw.CreationSet.Nightly.desktop",
     "sed -i -e 's/Icon=openmw-cs/Icon=org.openmw.openmw.CreationSet.Nightly/g' /app/share/applications/org.openmw.openmw.CreationSet.Nightly.desktop",
     "sed -i -e 's/Name=OpenMW Content Editor/Name=(nightly) OpenMW Content Editor/g' /app/share/applications/org.openmw.openmw.CreationSet.Nightly.desktop"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/OpenMW/openmw.git"
     }
    ],
    "cleanup": [
     "/lib/debug",
     "/include",
     "/lib/*.a",
     "/lib/*.la",
     "/lib/pkgconfig"
    ]
   }
  ]
 }
}