{
 "app_id": "io.github.tomluchowski.OpenDungeonsPlus",
 "source_url": "https://raw.githubusercontent.com/flathub/io.github.tomluchowski.OpenDungeonsPlus/master/io.github.tomluchowski.OpenDungeonsPlus.yml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "24.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=pulseaudio",
  "--socket=x11",
  "--device=dri"
 ],
 "module_count": 8,
 "fetched_at": "2026-09-20T12:16:30.393771+00:00",
 "manifest": {
  "app-id": "io.github.tomluchowski.OpenDungeonsPlus",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "24.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "opendungeons-plus",
  "finish-args": [
   "--share=ipc",
   "--socket=x11",
   "--share=network",
   "--device=dri",
   "--socket=pulseaudio"
  ],
  "modules": [
   {
    "name": "boost",
    "buildsystem": "simple",
    "build-commands": [
     "./bootstrap.sh --prefix=/app",
     "./b2 install"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://archives.boost.io/release/1.82.0/source/boost_1_82_0.tar.gz",
      "sha256": "66a469b6e608a51f8347236f4912e27dc5c60c60d7d53ae9bfe4683316c6f04c"
     }
    ]
   },
   {
    "name": "OIS",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/wgois/OIS/archive/refs/tags/v1.5.tar.gz",
      "sha256": "aa3e6b840b1149bb06835e04365957f4659c08b3e3095a48b289050f1637a174"
     }
    ]
   },
   {
    "name": "pugixml",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/zeux/pugixml/archive/refs/tags/v1.13.tar.gz",
      "sha256": "5c5ad5d7caeb791420408042a7d88c2c6180781bf218feca259fd9d840a888e1"
     }
    ]
   },
   {
    "name": "pybind11",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DPYBIND11_FINDPYTHON=ON"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/pybind/pybind11/archive/refs/tags/v2.10.4.tar.gz",
      "sha256": "832e2f309c57da9c1e6d4542dedd34b24e4192ecb4d62f6f4866a737454c9970"
     }
    ]
   },
   {
    "name": "sfml",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/SFML/SFML/archive/refs/tags/2.5.1.tar.gz",
      "sha256": "438c91a917cc8aa19e82c6f59f8714da353c488584a007d401efac8368e1c785"
     }
    ]
   },
   {
    "name": "ogre",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release",
     "-DOGRE_CONFIG_THREAD_PROVIDER=std",
     "-DOGRE_CONFIG_THREADS=3",
     "-DOGRE_STATIC=FALSE",
     "-DOGRE_BUILD_DEPENDENCIES=FALSE",
     "-DOGRE_BUILD_RENDERSYSTEM_GL=TRUE",
     "-DOGRE_BUILD_RENDERSYSTEM_GL3PLUS=TRUE",
     "-DOGRE_RESOURCEMANAGER_STRICT=0",
     "-DOGRE_BUILD_RENDERSYSTEM_GLES2=FALSE",
     "-DOGRE_BUILD_TOOLS=FALSE",
     "-DOGRE_BUILD_SAMPLES=FALSE",
     "-DOGRE_BUILD_PLUGIN_FREEIMAGE=FALSE",
     "-DOGRE_BUILD_PLUGIN_EXRCODEC=FALSE",
     "-DOGRE_BUILD_PLUGIN_BSP=FALSE",
     "-DOGRE_BUILD_PLUGIN_PCZ=FALSE",
     "-DOGRE_BUILD_PLUGIN_DOT_SCENE=FALSE",
     "-DOGRE_BUILD_COMPONENT_JAVA=FALSE",
     "-DOGRE_BUILD_COMPONENT_VOLUME=FALSE",
     "-DOGRE_BUILD_COMPONENT_PAGING=FALSE",
     "-DOGRE_BUILD_COMPONENT_TERRAIN=FALSE",
     "-DOGRE_BUILD_COMPONENT_PROPERTY=FALSE",
     "-DOGRE_BUILD_COMPONENT_MESHLODGENERATOR=FALSE",
     "-DOGRE_BUILD_COMPONENT_HLMS=FALSE",
     "-DOGRE_ENABLE_PRECOMPILED_HEADERS=OFF"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/OGRECave/ogre/archive/refs/tags/v13.6.5.tar.gz",
      "sha256": "857f74d18c4bb484f0e31c288b8d27837615a59c3da2b3d8304496c83ef669cd"
     },
     {
      "type": "archive",
      "url": "https://github.com/ocornut/imgui/archive/refs/tags/v1.87.tar.gz",
      "sha256": "b54ceb35bda38766e36b87c25edf7a1cd8fd2cb8c485b245aedca6fb85645a20",
      "dest": "imgui-1.87"
     }
    ]
   },
   {
    "name": "cegui",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release",
     "-DCMAKE_CXX_FLAGS=-std=c++11",
     "-DCEGUI_BUILD_RENDERER_OPENGL=FALSE",
     "-DCEGUI_BUILD_RENDERER_OPENGLES=FALSE",
     "-DCEGUI_BUILD_RENDERER_OPENGL3=FALSE",
     "-DCEGUI_BUILD_IMAGECODEC_FREEIMAGE=FALSE",
     "-DCEGUI_OPTION_DEFAULT_IMAGECODEC=OgreRenderer-0",
     "-DCEGUI_SAMPLES_ENABLED=FALSE",
     "-DCEGUI_BUILD_PYTHON_MODULES=OFF",
     "-DCEGUI_LIB_INSTALL_DIR=lib"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/tomluchowski/cegui.git",
      "commit": "4fee4a6020b0c5ccd980f369abe4ad3680cae428"
     }
    ]
   },
   {
    "name": "opendungeons-plus",
    "buildsystem": "cmake-ninja",
    "build_commands": [
     "install -Dm644 meta/gui/iconplus.svg \"/app/share/icons/hicolor/scalable/apps/${FLATPAK_ID}.svg\"",
     "install -D -m644 -t \"${FLATPAK_DEST}/share/applications/\" \"${FLATPAK_ID}.desktop\"",
     "install -D -m644 -t \"${FLATPAK_DEST}/share/metainfo/\" \"${FLATPAK_ID}.metainfo.xml\""
    ],
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release",
     "-DOD_TREAT_WARNINGS_AS_ERRORS=OFF",
     "-DPYBIND11_FINDPYTHON=ON",
     "-DOD_PLUGINS_CFG_PATH=/app/etc/opendungeons-plus",
     "-DOD_BIN_PATH=/app/bin"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/tomluchowski/OpenDungeonsPlus",
      "tag": "experimental_tag_for_flathub_12"
     }
    ]
   }
  ]
 }
}