{
 "app_id": "us.pixls.art.ART",
 "source_url": "https://raw.githubusercontent.com/flathub/us.pixls.art.ART/master/us.pixls.art.ART.yaml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "26.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=fallback-x11",
  "--socket=pulseaudio",
  "--socket=wayland",
  "--device=dri",
  "--filesystem=home",
  "--filesystem=xdg-run/gvfsd",
  "--filesystem=xdg-run/gvfs:ro",
  "--talk-name=org.gtk.vfs.*"
 ],
 "module_count": 25,
 "fetched_at": "2026-09-17T16:17:35.764086+00:00",
 "manifest": {
  "id": "us.pixls.art.ART",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "26.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "ART",
  "rename-desktop-file": "ART.desktop",
  "rename-icon": "ART",
  "copy-icon": true,
  "finish-args": [
   "--share=ipc",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--socket=pulseaudio",
   "--device=dri",
   "--filesystem=home",
   "--filesystem=xdg-run/gvfs:ro",
   "--filesystem=xdg-run/gvfsd",
   "--talk-name=org.gtk.vfs.*"
  ],
  "cleanup": [
   "/include",
   "/lib/cmake",
   "/lib/pkgconfig",
   "/lib/*/include",
   "/lib/*/proc",
   "/share/gdm",
   "/share/gnome",
   "/share/gtk-doc",
   "/share/info",
   "/share/man",
   "/share/vala",
   "*.a",
   "*.la"
  ],
  "modules": [
   {
    "name": "imath",
    "buildsystem": "cmake-ninja",
    "cleanup": [
     "/include/Imath",
     "/lib/pkgconfig/Imath.pc"
    ],
    "config-opts": [
     "-DBUILD_TESTING=OFF"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/AcademySoftwareFoundation/Imath/archive/refs/tags/v3.2.1.tar.gz",
      "sha256": "b2c8a44c3e4695b74e9644c76f5f5480767355c6f98cde58ba0e82b4ad8c63ce"
     }
    ]
   },
   {
    "name": "OpenEXR",
    "buildsystem": "cmake-ninja",
    "cleanup": [
     "/bin",
     "/share/doc/OpenEXR/examples"
    ],
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release",
     "-DOPENEXR_BUILD_EXAMPLES=OFF",
     "-DOPENEXR_BUILD_TOOLS=OFF",
     "-DBUILD_TESTING=OFF"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/AcademySoftwareFoundation/openexr/releases/download/v3.4.15/openexr-3.4.15.tar.gz",
      "sha256": "ab893d8003773ccd9a5556b2caf38da591ae37e20b06ee9d589a08984c5191f2"
     }
    ]
   },
   {
    "name": "CTL",
    "buildsystem": "cmake-ninja",
    "build-options": {
     "cxxflags": "-fpermissive"
    },
    "cleanup": [
     "/bin",
     "/share/doc"
    ],
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/ampas/CTL/archive/refs/tags/ctl-1.5.4.tar.gz",
      "sha256": "fb84925320d053827fce965d7aeea5bb8690d7093bb083c8e3915d7a600e25fc"
     }
    ]
   },
   {
    "name": "mm-common",
    "buildsystem": "meson",
    "config-opts": [
     "--buildtype=debugoptimized",
     "--wrap-mode=nodownload",
     "-Duse-network=false"
    ],
    "cleanup": [
     "*"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://ftp.gnome.org/pub/GNOME/sources/mm-common/1.0/mm-common-1.0.0.tar.xz",
      "sha256": "b97d9b041e5952486cab620b44ab09f6013a478f43b6699ae899b8a4da189cd4"
     }
    ]
   },
   {
    "name": "libsigc++",
    "rm-configure": true,
    "config-opts": [
     "--disable-static",
     "--disable-documentation",
     "--enable-maintainer-mode"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://ftp.gnome.org/pub/GNOME/sources/libsigc++/2.10/libsigc++-2.10.2.tar.xz",
      "sha256": "b1ca0253379596f9c19f070c83d362b12dfd39c0a3ea1dd813e8e21c1a097a98"
     },
     {
      "type": "shell",
      "commands": [
       "cp -p /usr/share/automake-*/config.{sub,guess} \"build/\";"
      ]
     }
    ]
   },
   {
    "name": "cairomm",
    "rm-configure": true,
    "config-opts": [
     "--disable-static",
     "--disable-documentation",
     "--enable-maintainer-mode"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://ftp.gnome.org/pub/GNOME/sources/cairomm/1.12/cairomm-1.12.0.tar.xz",
      "sha256": "a54ada8394a86182525c0762e6f50db6b9212a2109280d13ec6a0b29bfd1afe6"
     },
     {
      "type": "shell",
      "commands": [
       "cp -p /usr/share/automake-*/config.{sub,guess} \"build/\";"
      ]
     }
    ]
   },
   {
    "name": "glibmm",
    "rm-configure": true,
    "config-opts": [
     "--disable-static",
     "--disable-documentation",
     "--enable-maintainer-mode"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://ftp.gnome.org/pub/GNOME/sources/glibmm/2.62/glibmm-2.62.0.tar.xz",
      "sha256": "36659f13cc73282392d1305858f3bbca46fbd1ce2f078cc9db8b9f79b2e93cfe"
     },
     {
      "type": "shell",
      "commands": [
       "cp -p /usr/share/automake-*/config.{sub,guess} \"build/\";"
      ]
     }
    ]
   },
   {
    "name": "pangomm",
    "buildsystem": "meson",
    "config-opts": [
     "-Dbuildtype=release",
     "-Dbuild-documentation=false"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://download.gnome.org/sources/pangomm/2.46/pangomm-2.46.2.tar.xz",
      "sha256": "57442ab4dc043877bfe3839915731ab2d693fc6634a71614422fb530c9eaa6f4"
     }
    ]
   },
   {
    "name": "atkmm",
    "rm-configure": true,
    "config-opts": [
     "--disable-static",
     "--disable-documentation",
     "--enable-maintainer-mode"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://ftp.gnome.org/pub/GNOME/sources/atkmm/2.28/atkmm-2.28.0.tar.xz",
      "sha256": "4c4cfc917fd42d3879ce997b463428d6982affa0fb660cafcc0bc2d9afcedd3a"
     },
     {
      "type": "shell",
      "commands": [
       "cp -p /usr/share/automake-*/config.{sub,guess} \"build/\";"
      ]
     }
    ]
   },
   {
    "name": "gtkmm",
    "buildsystem": "meson",
    "config-opts": [
     "-Dmaintainer-mode=false",
     "-Dbuild-demos=false",
     "-Dbuild-tests=false"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://download.gnome.org/sources/gtkmm/3.24/gtkmm-3.24.7.tar.xz",
      "sha256": "1d7a35af9c5ceccacb244ee3c2deb9b245720d8510ac5c7e6f4b6f9947e6789c"
     }
    ]
   },
   {
    "name": "lensfun",
    "buildsystem": "cmake-ninja",
    "build-options": {
     "cxxflags": "-fpermissive"
    },
    "config-opts": [
     "-DCMAKE_POLICY_VERSION_MINIMUM=3.5",
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo"
    ],
    "post-install": [
     "pip3 install --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} lxml --ignore-installed --no-build-isolation",
     "python3 lensfun_convert_db.py $PWD lensfun-git/data/db",
     "rm -rf /app/share/lensfun/version_1/*",
     "tar xvf db/version_1.tar -C /app/share/lensfun/version_1"
    ],
    "cleanup": [
     "/bin",
     "/lib/python3.*"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/lensfun/lensfun/archive/refs/tags/v0.3.4.tar.gz",
      "sha256": "dafb39c08ef24a0e2abd00d05d7341b1bf1f0c38bfcd5a4c69cf5f0ecb6db112"
     },
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/23/ad/28ecd7cb894d172f3c9c80a075eeeb2017ac62e3632cee05a5f9493547eb/lxml-6.1.3.tar.gz",
      "sha256": "45222d94ddd511536f3b2f7d9deae3b2339b4ce0f075f1ca25703b07cad9dd21"
     },
     {
      "type": "file",
      "path": "lensfun_convert_db.py"
     },
     {
      "type": "git",
      "dest": "lensfun-git",
      "url": "https://github.com/lensfun/lensfun.git",
      "commit": "698a39eea69be00f4f25b6da6c1ad34b1f162b50"
     }
    ]
   },
   {
    "name": "libiptcdata",
    "config-opts": [
     "--disable-static",
     "--disable-gtk-doc",
     "--enable-maintainer-mode"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/ianw/libiptcdata/archive/release_1_0_5.tar.gz",
      "sha256": "78a5c49b646cb610c84bc4dfc730caad9a06e9b4e295600908782f4abb25316e"
     },
     {
      "type": "patch",
      "path": "patches/libiptcdata-no-gtkdoc.patch"
     },
     {
      "type": "shell",
      "commands": [
       "cp -p /usr/share/automake-*/config.{sub,guess} .;"
      ]
     }
    ]
   },
   "shared-modules/linux-audio/fftw3f.json",
   "shared-modules/libcanberra/libcanberra.json",
   {
    "name": "inih",
    "buildsystem": "meson",
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/benhoyt/inih/archive/refs/tags/r62.tar.gz",
      "sha256": "9c15fa751bb8093d042dae1b9f125eb45198c32c6704cd5481ccde460d4f8151"
     }
    ]
   },
   {
    "name": "exiv2",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release",
     "-DEXIV2_BUILD_DOC:BOOL=OFF",
     "-DEXIV2_BUILD_EXIV2_COMMAND=OFF",
     "-DEXIV2_ENABLE_BMFF=ON",
     "-DEXIV2_BUILD_SAMPLES=OFF"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/Exiv2/exiv2/archive/refs/tags/v0.28.9.tar.gz",
      "sha256": "700b76b97695b2fab4ef8c79619c68ae57d09e0c130724791cafbd39e0eb4aef"
     }
    ]
   },
   {
    "name": "pystring",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/imageworks/pystring/archive/281419de2f91f9e0f2df6acddfea3b06a43436be.tar.gz",
      "sha256": "46161e75f85a3e8867233aebb6f4399f405c565db76dc07731a7ef662459609d"
     },
     {
      "type": "file",
      "path": "patches/pystring/CMakeLists.txt"
     }
    ]
   },
   {
    "name": "yaml-cpp",
    "buildsystem": "cmake-ninja",
    "cleanup": [
     "/include",
     "/share/pkgconfig",
     "/share/cmake"
    ],
    "config-opts": [
     "-DCMAKE_POLICY_VERSION_MINIMUM=3.5",
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo",
     "-DBUILD_SHARED_LIBS=ON",
     "-DYAML_BUILD_SHARED_LIBS=ON",
     "-DYAML_CPP_BUILD_TOOLS=OFF",
     "-DYAML_CPP_BUILD_TESTS=OFF",
     "-DYAML_CPP_BUILD_CONTRIB=OFF"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/jbeder/yaml-cpp/archive/refs/tags/0.8.0.tar.gz",
      "sha256": "fbe74bbdcee21d656715688706da3c8becfd946d92cd44705cc6098bb23b3a16"
     },
     {
      "type": "patch",
      "paths": [
       "patches/yamlcpp-stdint.patch"
      ]
     }
    ]
   },
   {
    "name": "minizip-ng",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo",
     "-DBUILD_SHARED_LIBS=ON"
    ],
    "cleanup": [
     "/bin"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/zlib-ng/minizip-ng/archive/refs/tags/4.0.10.tar.gz",
      "sha256": "c362e35ee973fa7be58cc5e38a4a6c23cc8f7e652555daf4f115a9eb2d3a6be7"
     }
    ]
   },
   {
    "name": "opencolorio",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "build-options": {
     "arch": {
      "aarch64": {
       "config-opts": [
        "-DOCIO_USE_SSE:BOOL=OFF"
       ]
      }
     }
    },
    "cleanup": [
     "/*.cmake",
     "/cmake",
     "/include",
     "/lib/pkgconfig",
     "/share"
    ],
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo",
     "-DOCIO_BUILD_APPS:BOOL=OFF",
     "-DOCIO_BUILD_DOCS:BOOL=OFF",
     "-DOCIO_BUILD_PYTHON=OFF",
     "-DOCIO_BUILD_STATIC:BOOL=OFF",
     "-DOCIO_BUILD_TESTS:BOOL=OFF",
     "-DOCIO_INSTALL_EXT_PACKAGES=NONE"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/imageworks/OpenColorIO/archive/v2.5.2.tar.gz",
      "sha256": "722601e01b78b7a12da4829cb450674935f404b0e508f3f20046fa77570e3272",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 9631,
       "stable-only": true,
       "url-template": "https://github.com/imageworks/OpenColorIO/archive/v$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "libraw",
    "config-opts": [
     "--disable-examples",
     "--disable-static",
     "--enable-jpeg",
     "--enable-lcms",
     "--enable-openmp"
    ],
    "cleanup": [
     "/share/doc"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://www.libraw.org/data/LibRaw-0.22.2.tar.gz",
      "sha256": "de86b035655accff8d4010f1a221fdf50d353cb7b1422ba26f14a0db92612cfa"
     },
     {
      "type": "shell",
      "commands": [
       "autoreconf -vfi"
      ]
     }
    ]
   },
   {
    "name": "mimalloc",
    "buildsystem": "cmake-ninja",
    "cleanup": [
     "/include",
     "/lib/cmake",
     "*.a",
     "*.o"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/microsoft/mimalloc",
      "tag": "v2.1.7",
      "commit": "8c532c32c3c96e5ba1f2283e032f69ead8add00f"
     }
    ]
   },
   {
    "name": "exiftool",
    "buildsystem": "simple",
    "build-commands": [
     "perl Makefile.PL",
     "make install"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/exiftool/exiftool.git",
      "tag": "13.59",
      "commit": "2200871d9cef988051d2a99d67df3bda6cbb30a8"
     }
    ],
    "modules": [
     {
      "name": "perl",
      "no-autogen": true,
      "config-opts": [
       "-des",
       "-Duseshrplib"
      ],
      "build-options": {
       "cflags": "-fPIC",
       "ldflags": "-fpic"
      },
      "cleanup": [
       "*.h",
       "/bin/pod*",
       "/bin/perldoc",
       "/bin/perlbug"
      ],
      "post-install": [
       "find ${FLATPAK_DEST}/lib/perl5/ -name \\*.so -exec chmod u+w {} \\;"
      ],
      "sources": [
       {
        "type": "git",
        "url": "https://github.com/Perl/perl5.git",
        "tag": "v5.44.0",
        "commit": "e634cc838fb1785dfafb5d13b52807ea16b5c52c"
       },
       {
        "type": "script",
        "dest-filename": "configure",
        "commands": [
         "exec ./configure.gnu $@"
        ]
       }
      ]
     }
    ]
   },
   {
    "name": "art",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DENABLE_OCIO=ON",
     "-DENABLE_CTL=ON",
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo",
     "-DCACHE_NAME_SUFFIX=\"\"",
     "-DCTL_INCLUDE_DIR=/app/include/CTL"
    ],
    "build-options": {
     "cxxflags": "-std=gnu++17 -Wno-template-id-cdtor"
    },
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/artraweditor/ART/releases/download/1.26.9/ART-1.26.9.tar.xz",
      "sha256": "d49db4721b836cd45037053fa426839ec705276c93fe335c72b23ce3d32a57f6"
     },
     {
      "type": "patch",
      "path": "patches/art-appstream.patch"
     }
    ]
   }
  ]
 }
}