{
 "app_id": "io.github.f3d_app.f3d",
 "source_url": "https://raw.githubusercontent.com/flathub/io.github.f3d_app.f3d/master/io.github.f3d_app.f3d.yaml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=x11",
  "--device=dri",
  "--filesystem=home"
 ],
 "module_count": 21,
 "fetched_at": "2026-09-17T16:11:00.302232+00:00",
 "manifest": {
  "app-id": "io.github.f3d_app.f3d",
  "runtime": "org.freedesktop.Platform",
  "sdk": "org.freedesktop.Sdk",
  "runtime-version": "25.08",
  "command": "f3d",
  "rename-desktop-file": "f3d.desktop",
  "rename-icon": "f3d",
  "finish-args": [
   "--share=ipc",
   "--socket=x11",
   "--device=dri",
   "--filesystem=home"
  ],
  "cleanup": [
   "/include",
   "/lib/cmake",
   "/man",
   "/share/bash-completion",
   "/share/cmake",
   "/share/doc",
   "/share/fish",
   "/share/man",
   "/share/zsh",
   "/etc",
   "*.la",
   "*.a"
  ],
  "modules": [
   "shared-modules/glew/glew.json",
   {
    "name": "Eigen3",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "sources": [
     {
      "type": "archive",
      "url": "https://gitlab.com/libeigen/eigen/-/archive/5.0.1/eigen-5.0.1.tar.bz2",
      "sha256": "e4de6b08f33fd8b8985d2f204381408c660bffa6170ac65b68ae1bd3cd575c0a",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 13751,
       "stable-only": true,
       "url-template": "https://gitlab.com/libeigen/eigen/-/archive/$version/eigen-$version.tar.bz2"
      }
     }
    ],
    "cleanup": [
     "*"
    ]
   },
   {
    "name": "hdf5",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo",
     "-DBUILD_TESTING:BOOL=OFF",
     "-DHDF5_BUILD_EXAMPLES:BOOL=OFF"
    ],
    "cleanup": [
     "/share/hdf5_examples"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/HDFGroup/hdf5/archive/refs/tags/hdf5-1.14.6.tar.gz",
      "sha256": "6df53f84376d87e96eeb255703e3b1a348fc08a48e06e37053f1bfb379970189",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 1303,
       "stable-only": true,
       "url-template": "https://github.com/HDFGroup/hdf5/archive/refs/tags/hdf5-$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "TBB",
    "buildsystem": "cmake",
    "builddir": true,
    "config-opts": [
     "-DTBB_TEST=OFF",
     "-DTBB_EXAMPLES=OFF",
     "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/oneapi-src/oneTBB/archive/v2021.9.0.tar.gz",
      "sha256": "1ce48f34dada7837f510735ff1172f6e2c261b09460e3bf773b49791d247d24e"
     }
    ]
   },
   {
    "name": "Boost",
    "buildsystem": "simple",
    "sources": [
     {
      "type": "archive",
      "url": "https://archives.boost.io/release/1.83.0/source/boost_1_83_0.tar.gz",
      "sha256": "c0685b68dd44cc46574cce86c4e17c0f611b15e195be9848dfd0769a0a207628"
     }
    ],
    "build-commands": [
     "./bootstrap.sh --prefix=/app --with-libraries=iostreams,filesystem,system,date_time,regex,program_options,python",
     "./b2 headers",
     "./b2 -j$FLATPAK_BUILDER_N_JOBS install variant=release cxxstd=17 --layout=system"
    ]
   },
   {
    "name": "blosc",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/Blosc/c-blosc.git",
      "tag": "v1.21.6",
      "commit": "616f4b7343a8479f7e71dd3d7025bd92c9a6bbd0",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^(v[\\d.]+)$"
      }
     }
    ]
   },
   {
    "name": "openvdb",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DOPENVDB_CORE_STATIC:BOOL=OFF",
     "-DOPENVDB_BUILD_BINARIES:BOOL=OFF"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/AcademySoftwareFoundation/openvdb.git",
      "tag": "v13.0.0",
      "commit": "7c03e1f084873cd1b3422c7ff7aec6ee681b3b38"
     }
    ]
   },
   {
    "name": "OSPRay",
    "buildsystem": "simple",
    "build-commands": [
     "cp -rn bin/* /app/bin/",
     "cp -rn lib/* /app/lib/",
     "cp -rn include/* /app/include/"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/RenderKit/ospray/releases/download/v3.2.0/ospray-3.2.0.x86_64.linux.tar.gz",
      "sha256": "d8670e69b4762e24f2aa83629af897e8f33ea1c724e17e613942c0ccc1c723be"
     }
    ]
   },
   {
    "name": "VTK",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DCMAKE_INSTALL_PREFIX=/app",
     "-DCMAKE_MODULE_PATH=/app/lib/cmake/OpenVDB",
     "-DBUILD_SHARED_LIBS=ON",
     "-DOpenGL_GL_PREFERENCE=GLVND",
     "-DVTK_ENABLE_LOGGING=OFF",
     "-DVTK_ENABLE_WRAPPING=OFF",
     "-DVTK_BUILD_TESTING=OFF",
     "-DVTK_LEGACY_REMOVE=ON",
     "-DVTK_VERSIONED_INSTALL=OFF",
     "-DVTK_GROUP_ENABLE_Rendering=DEFAULT",
     "-DVTK_GROUP_ENABLE_StandAlone=DEFAULT",
     "-DVTK_MODULE_ENABLE_VTK_CommonSystem=YES",
     "-DVTK_MODULE_ENABLE_VTK_FiltersGeneral=YES",
     "-DVTK_MODULE_ENABLE_VTK_FiltersGeometry=YES",
     "-DVTK_MODULE_ENABLE_VTK_ImagingCore=YES",
     "-DVTK_MODULE_ENABLE_VTK_ImagingHybrid=YES",
     "-DVTK_MODULE_ENABLE_VTK_InteractionStyle=YES",
     "-DVTK_MODULE_ENABLE_VTK_InteractionWidgets=YES",
     "-DVTK_MODULE_ENABLE_VTK_IOCityGML=YES",
     "-DVTK_MODULE_ENABLE_VTK_IOExodus=YES",
     "-DVTK_MODULE_ENABLE_VTK_IOGeometry=YES",
     "-DVTK_MODULE_ENABLE_VTK_IOImage=YES",
     "-DVTK_MODULE_ENABLE_VTK_IOImport=YES",
     "-DVTK_MODULE_ENABLE_VTK_IOParallel=YES",
     "-DVTK_MODULE_ENABLE_VTK_IOPLY=YES",
     "-DVTK_MODULE_ENABLE_VTK_IOXML=YES",
     "-DVTK_MODULE_ENABLE_VTK_IONetCDF:STRING=YES",
     "-DVTK_MODULE_ENABLE_VTK_IOHDF:STRING=YES",
     "-DVTK_MODULE_ENABLE_VTK_IOOpenVDB:STRING=YES",
     "-DVTK_GROUP_ENABLE_Rendering=YES",
     "-DVTK_MODULE_ENABLE_VTK_TestingCore=YES",
     "-DVTKOSPRAY_ENABLE_DENOISER=NO",
     "-DVTK_SMP_IMPLEMENTATION_TYPE=TBB",
     "-DVTK_SMP_ENABLE_SEQUENTIAL=OFF",
     "-DVTK_SMP_ENABLE_STDTHREAD=OFF",
     "-DVTK_SMP_ENABLE_TBB=ON"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://www.vtk.org/files/release/9.6/VTK-9.6.2.tar.gz",
      "sha256": "aed12cec12a9609179bf66329070266627ca64244a10856a452b2a17ffb04a1d",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 15084,
       "stable-only": true,
       "url-template": "https://www.vtk.org/files/release/$major.$minor/VTK-$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "tcl",
    "buildsystem": "autotools",
    "subdir": "unix",
    "config-opts": [
     "--enable-threads",
     "--enable-shared"
    ],
    "post-install": [
     "chmod 755 /app/lib/libtcl*.so"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://prdownloads.sourceforge.net/tcl/tcl8.6.15-src.tar.gz",
      "sha256": "861e159753f2e2fbd6ec1484103715b0be56be3357522b858d3cbb5f893ffef1"
     }
    ]
   },
   {
    "name": "tk",
    "buildsystem": "autotools",
    "subdir": "unix",
    "post-install": [
     "chmod +w ${FLATPAK_DEST}/lib/libtk*.so",
     "ln -sf /app/bin/wish8.6 /app/bin/wish"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://prdownloads.sourceforge.net/tcl/tk8.6.15-src.tar.gz",
      "sha256": "550969f35379f952b3020f3ab7b9dd5bfd11c1ef7c9b7c6a75f5c49aca793fec"
     }
    ]
   },
   {
    "name": "Draco",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "build-options": {
     "cflags": "-fPIC",
     "cxxflags": "-fPIC"
    },
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/google/draco/archive/refs/tags/1.5.7.tar.gz",
      "sha256": "bf6b105b79223eab2b86795363dfe5e5356050006a96521477973aba8f036fe1",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 322269,
       "stable-only": true,
       "url-template": "https://github.com/google/draco/archive/refs/tags/$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "OCCT",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-D3RDPARTY_TK_INCLUDE_DIR:PATH=/app/include",
     "-DBUILD_MODULE_ApplicationFramework=OFF",
     "-DBUILD_MODULE_DataExchange=ON",
     "-DBUILD_MODULE_Draw=OFF",
     "-DBUILD_MODULE_FoundationClasses=OFF",
     "-DBUILD_MODULE_ModelingAlgorithms=OFF",
     "-DBUILD_MODULE_ModelingData=OFF",
     "-DBUILD_MODULE_Visualization=OFF",
     "-DBUILD_DOC_Overview=OFF",
     "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/Open-Cascade-SAS/OCCT",
      "tag": "V7_8_1",
      "commit": "bd2a789f15235755ce4d1a3b07379a2e062fdc2e"
     },
     {
      "type": "patch",
      "path": "patches/freetype_use_unsigned_point_and_contour.patch"
     }
    ]
   },
   {
    "name": "assimp",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DASSIMP_BUILD_ASSIMP_TOOLS:BOOL=NO",
     "-DASSIMP_BUILD_TESTS:BOOL=NO"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/assimp/assimp/archive/refs/tags/v6.0.5.tar.gz",
      "sha256": "edf3749559c2b7d1f758ffb66fc5bec62186221e623b7f2e8969f17ee46ecb6f",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 6988,
       "stable-only": true,
       "url-template": "https://github.com/assimp/assimp/archive/refs/tags/v$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "Imath",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DBUILD_TESTING:BOOL=OFF"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/AcademySoftwareFoundation/Imath.git",
      "tag": "v3.2.2",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^(v[\\d.]+)$"
      },
      "commit": "1e480d11cb98b032a2dece9b9a8730512effc7f6"
     }
    ]
   },
   {
    "name": "Alembic",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DUSE_TESTS:BOOL=OFF",
     "-DUSE_HDF5:BOOL=ON"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/alembic/alembic/archive/refs/tags/1.8.11.tar.gz",
      "sha256": "ab299bb4b1894a6675c73fa29940522b54c81a91b1d691ca3470d86b7345ffce",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 13980,
       "stable-only": true,
       "url-template": "https://github.com/alembic/alembic/archive/refs/tags/$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "libdeflate",
    "buildsystem": "cmake-ninja",
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/ebiggers/libdeflate/releases/download/v1.20/libdeflate-1.20.tar.gz",
      "sha256": "c52cf0239fd644d71c9e88613dd7431a5306ebee1280c5791c71ca264869250a"
     }
    ]
   },
   {
    "name": "openexr",
    "buildsystem": "cmake-ninja",
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/v3.2.4.tar.gz",
      "sha256": "81e6518f2c4656fdeaf18a018f135e96a96e7f66dbe1c1f05860dd94772176cc"
     }
    ]
   },
   {
    "name": "OpenSubdiv",
    "buildsystem": "cmake-ninja",
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/PixarAnimationStudios/OpenSubdiv/archive/refs/tags/v3_6_0.tar.gz",
      "sha256": "bebfd61ab6657a4f4ff27845fb66a167d00395783bfbd253254d87447ed1d879"
     }
    ]
   },
   {
    "name": "openUSD",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DPXR_BUILD_ALEMBIC_PLUGIN:BOOL=OFF",
     "-DPXR_BUILD_EMBREE_PLUGIN:BOOL=OFF",
     "-DPXR_BUILD_IMAGING:BOOL=OFF",
     "-DPXR_BUILD_MONOLITHIC:BOOL=ON",
     "-DPXR_BUILD_TESTS:BOOL=OFF",
     "-DPXR_BUILD_USD_IMAGING:BOOL=OFF",
     "-DPXR_ENABLE_PYTHON_SUPPORT:BOOL=OFF",
     "-DPXR_BUILD_EXAMPLES:BOOL=OFF",
     "-DPXR_BUILD_TUTORIALS:BOOL=OFF",
     "-DPXR_BUILD_USD_TOOLS:BOOL=OFF",
     "-DPXR_INSTALL_LOCATION:PATH=../lib/usd",
     "-DCMAKE_BUILD_TYPE=Release",
     "-DTBB_INCLUDE_DIRS=/app/include",
     "-DTBB_LIBRARIES=/app/lib/libtbb.so"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/PixarAnimationStudios/OpenUSD/archive/refs/tags/v25.05.01.tar.gz",
      "sha256": "f424e8db26e063a1b005423ee52142e75c38185bbd4b8126ef64173e906dd50f"
     }
    ]
   },
   {
    "name": "F3D",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DBUILD_TESTING:BOOL=OFF",
     "-DF3D_MODULE_EXR:BOOL=ON",
     "-DF3D_LINUX_INSTALL_DEFAULT_CONFIGURATION_FILE_IN_PREFIX:BOOL=ON",
     "-DF3D_PLUGINS_STATIC_BUILD=ON",
     "-DF3D_PLUGIN_BUILD_ALEMBIC=ON",
     "-DF3D_PLUGIN_BUILD_ASSIMP:BOOL=ON",
     "-DF3D_PLUGIN_BUILD_DRACO:BOOL=ON",
     "-DF3D_PLUGIN_BUILD_EXODUS:BOOL=ON",
     "-DF3D_PLUGIN_BUILD_OCCT:BOOL=ON",
     "-DF3D_LINUX_APPLICATION_LINK_FILESYSTEM:BOOL=OFF",
     "-DF3D_PLUGIN_BUILD_USD:BOOL=ON",
     "-DF3D_PLUGIN_BUILD_VDB:BOOL=ON"
    ],
    "post-install": [
     "cmake --install . --component mimetypes",
     "cmake --install . --component sdk",
     "cmake --install . --component configuration",
     "desktop-file-edit --set-key=Icon --set-value=$FLATPAK_ID /app/share/applications/f3d.desktop",
     "mv /app/share/metainfo/app.f3d.F3D.metainfo.xml /app/share/metainfo/$FLATPAK_ID.metainfo.xml"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/f3d-app/f3d/archive/refs/tags/v3.5.0.tar.gz",
      "sha256": "033845b5d49af3ae60fcc3fe85d82c841d990d3534638a4472123f84b3e82795",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 224911,
       "stable-only": true,
       "url-template": "https://github.com/f3d-app/f3d/archive/refs/tags/v$version.tar.gz"
      }
     },
     {
      "type": "patch",
      "path": "patches/fix_metainfo.patch"
     }
    ]
   }
  ]
 }
}