{
 "app_id": "com.infinipaint.infinipaint",
 "source_url": "https://raw.githubusercontent.com/flathub/com.infinipaint.infinipaint/master/com.infinipaint.infinipaint.yml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=x11",
  "--device=all",
  "--filesystem=xdg-documents",
  "--filesystem=xdg-desktop",
  "--filesystem=xdg-pictures",
  "--filesystem=xdg-download"
 ],
 "module_count": 9,
 "fetched_at": "2026-09-17T16:08:01.346112+00:00",
 "manifest": {
  "id": "com.infinipaint.infinipaint",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "infinipaint",
  "finish-args": [
   "--share=ipc",
   "--socket=x11",
   "--device=all",
   "--share=network",
   "--filesystem=xdg-desktop",
   "--filesystem=xdg-documents",
   "--filesystem=xdg-download",
   "--filesystem=xdg-pictures"
  ],
  "cleanup": [
   "/Skia",
   "/include",
   "/lib/pkgconfig",
   "/lib/cmake",
   "/lib/libupb.a",
   "/bin/proto*",
   "/lib/*.a",
   "/lib/libicui18n*",
   "/lib/libicudata*",
   "/bin/zstd*",
   "/bin/unzstd"
  ],
  "modules": [
   {
    "name": "ICU",
    "buildsystem": "simple",
    "subdir": "source",
    "build-commands": [
     "chmod +x runConfigureICU configure install-sh",
     "./runConfigureICU Linux --prefix=/app --disable-icu-config --disable-icuio --disable-extras --disable-tools --disable-tests --disable-samples --disable-layoutex --disable-layout",
     "make -j$(nproc)",
     "make install"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/unicode-org/icu/releases/download/release-77-1/icu4c-77_1-src.tgz",
      "sha256": "588e431f77327c39031ffbb8843c0e3bc122c211374485fa87dc5f3faff24061"
     }
    ]
   },
   {
    "name": "zstd",
    "buildsystem": "cmake-ninja",
    "subdir": "build/cmake",
    "sources": [
     {
      "type": "git",
      "tag": "v1.5.7",
      "commit": "f8745da6ff1ad1e7bab384bd1f9d742439278e99",
      "url": "https://github.com/facebook/zstd.git"
     }
    ]
   },
   {
    "name": "libdatachannel",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DNO_MEDIA=ON",
     "-DCMAKE_BUILD_TYPE=Release"
    ],
    "sources": [
     {
      "type": "git",
      "tag": "v0.24.0",
      "commit": "8c31097ea78f051e857d0aa1b2f6efb26cd12b7e",
      "url": "https://github.com/paullouisageneau/libdatachannel.git"
     }
    ]
   },
   {
    "name": "oneTBB",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DTBB_TEST=OFF"
    ],
    "sources": [
     {
      "type": "git",
      "tag": "v2022.0.0",
      "commit": "0c0ff192a2304e114bc9e6557582dfba101360ff",
      "url": "https://github.com/uxlfoundation/oneTBB.git"
     }
    ]
   },
   {
    "name": "SDL3",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release",
     "-DSDL_SHARED=ON",
     "-DSDL_STATIC=OFF",
     "-DSDL_TEST_LIBRARY=OFF",
     "-DSDL_TESTS=OFF",
     "-DSDL_DISABLE_INSTALL_DOCS=OFF",
     "-DSDL_INSTALL_TESTS=OFF",
     "-DSDL_WAYLAND=OFF",
     "-DSDL_X11=ON"
    ],
    "sources": [
     {
      "type": "git",
      "tag": "release-3.4.8",
      "commit": "d9d5536704d585616d4db3c8ba3c4ff6fc2757e1",
      "url": "https://github.com/libsdl-org/SDL.git"
     }
    ]
   },
   {
    "name": "Skia",
    "buildsystem": "simple",
    "build-commands": [
     "mkdir /app/Skia",
     "mv out /app/Skia",
     "mv include /app/Skia",
     "mv src /app/Skia",
     "mv modules /app/Skia"
    ],
    "cleanup": [
     "*"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/google/skia/archive/da51f0d60ea2b14e845a823dc11b405dbeef42d8.zip",
      "sha256": "1f5140d5908031d8cdd06429a633a1583b12fc43dc1c768374ed1e91ab9fa596"
     },
     {
      "type": "archive",
      "url": "https://raw.githubusercontent.com/erroratline0/com.infinipaint.infinipaint/master/skiabuilds/skia-da51f0d6-x86_64-flatpak-25.08.7z",
      "sha256": "7240e33fd63d8e495c6ba680842848294b2615364158a9233d20e725c9012623",
      "dest": "out/Static",
      "only-arches": [
       "x86_64"
      ]
     },
     {
      "type": "archive",
      "url": "https://raw.githubusercontent.com/erroratline0/com.infinipaint.infinipaint/master/skiabuilds/skia-da51f0d6-aarch64-flatpak-25.08.7z",
      "sha256": "f8fc58b4c3eb83cc48bb12faec2ae44b291cf94f78249512592fb9989c5b2e79",
      "dest": "out/Static",
      "only-arches": [
       "aarch64"
      ]
     }
    ]
   },
   {
    "name": "Clipper2",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCLIPPER2_UTILS=OFF",
     "-DCLIPPER2_EXAMPLES=OFF",
     "-DCLIPPER2_TESTS=OFF"
    ],
    "subdir": "CPP",
    "sources": [
     {
      "type": "git",
      "tag": "Clipper2_2.0.1",
      "commit": "21ebba05db8894f0c7217ad35ea518080f324946",
      "url": "https://github.com/AngusJohnson/Clipper2.git"
     }
    ]
   },
   {
    "name": "infinipaint-x86_64",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "only-arches": [
     "x86_64"
    ],
    "config-opts": [
     "-DNO_CONAN_BUILD=ON",
     "-DSKIA_INCLUDE=/app/Skia",
     "-DSKIA_LIB=/app/Skia/out/Static/libskia.a",
     "-DSKIA_SVG_LIB=/app/Skia/out/Static/libsvg.a",
     "-DSKIA_RESOURCES_LIB=/app/Skia/out/Static/libskresources.a",
     "-DSKIA_SHAPER_LIB=/app/Skia/out/Static/libskshaper.a",
     "-DSKIA_UNICODE_ICU_LIB=/app/Skia/out/Static/libskunicode_core.a",
     "-DSKIA_UNICODE_CORE_LIB=/app/Skia/out/Static/libskunicode_icu.a",
     "-DSKIA_PARAGRAPH_LIB=/app/Skia/out/Static/libskparagraph.a",
     "-DCMAKE_BUILD_TYPE=Release",
     "-DGRAPHICS_BACKEND=OpenGL3.3"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/ErrorAtLine0/infinipaint.git",
      "tag": "v0.6.1",
      "commit": "bcadd5d68f94c38cfb29d5f27c2f65e9e02ba62f"
     }
    ]
   },
   {
    "name": "infinipaint-aarch64",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "only-arches": [
     "aarch64"
    ],
    "config-opts": [
     "-DNO_CONAN_BUILD=ON",
     "-DSKIA_INCLUDE=/app/Skia",
     "-DSKIA_LIB=/app/Skia/out/Static/libskia.a",
     "-DSKIA_SVG_LIB=/app/Skia/out/Static/libsvg.a",
     "-DSKIA_RESOURCES_LIB=/app/Skia/out/Static/libskresources.a",
     "-DSKIA_SHAPER_LIB=/app/Skia/out/Static/libskshaper.a",
     "-DSKIA_UNICODE_ICU_LIB=/app/Skia/out/Static/libskunicode_core.a",
     "-DSKIA_UNICODE_CORE_LIB=/app/Skia/out/Static/libskunicode_icu.a",
     "-DSKIA_PARAGRAPH_LIB=/app/Skia/out/Static/libskparagraph.a",
     "-DCMAKE_BUILD_TYPE=Release",
     "-DGRAPHICS_BACKEND=OpenGLES3.0"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/ErrorAtLine0/infinipaint.git",
      "tag": "v0.6.1",
      "commit": "bcadd5d68f94c38cfb29d5f27c2f65e9e02ba62f"
     }
    ]
   }
  ]
 }
}