{
 "app_id": "net.sourceforge.qtpfsgui.LuminanceHDR",
 "source_url": "https://raw.githubusercontent.com/flathub/net.sourceforge.qtpfsgui.LuminanceHDR/master/net.sourceforge.qtpfsgui.LuminanceHDR.yaml",
 "runtime": "org.kde.Platform",
 "runtime_version": "5.15-25.08",
 "sdk": "org.kde.Sdk",
 "finish_args": [
  "--share=network",
  "--share=ipc",
  "--socket=x11",
  "--device=dri",
  "--filesystem=home",
  "--filesystem=xdg-config/kdeglobals:ro",
  "--talk-name=com.canonical.AppMenu.Registrar",
  "--talk-name=org.kde.kconfig.notify",
  "--talk-name=org.kde.KGlobalSettings"
 ],
 "module_count": 16,
 "fetched_at": "2026-09-17T16:13:51.307270+00:00",
 "manifest": {
  "app-id": "net.sourceforge.qtpfsgui.LuminanceHDR",
  "runtime": "org.kde.Platform",
  "runtime-version": "5.15-25.08",
  "base": "io.qt.qtwebengine.BaseApp",
  "base-version": "5.15-25.08",
  "sdk": "org.kde.Sdk",
  "command": "luminance-hdr",
  "rename-icon": "luminance-hdr",
  "finish-args": [
   "--socket=x11",
   "--share=ipc",
   "--filesystem=home",
   "--share=network",
   "--device=dri",
   "--env=QT_AUTO_SCREEN_SCALE_FACTOR=1"
  ],
  "cleanup": [
   "/include",
   "/lib/cmake",
   "/lib/pkgconfig",
   "/lib/*.a",
   "/lib/*.la",
   "/share/aclocal"
  ],
  "modules": [
   {
    "name": "exiv2",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/Exiv2/exiv2/releases/download/v0.27.7/exiv2-0.27.7-Source.tar.gz",
      "sha256": "70629dc27e3d4dd5c3fa91afbea93166d338b1de284e6a4c44bbf9dcfe7bbc6d"
     }
    ],
    "cleanup": [
     "/bin",
     "/share/man"
    ]
   },
   "shared-modules/linux-audio/fftw3f.json",
   {
    "name": "ilmbase",
    "build-options": {
     "cxxflags": "-std=c++14"
    },
    "config-opts": [
     "--disable-static"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://download.savannah.nongnu.org/releases/openexr/ilmbase-2.2.1.tar.gz",
      "sha256": "cac206e63be68136ef556c2b555df659f45098c159ce24804e9d5e9e0286609e"
     }
    ]
   },
   {
    "name": "openexr",
    "build-options": {
     "cxxflags": "-std=c++14"
    },
    "config-opts": [
     "--disable-static"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://download.savannah.nongnu.org/releases/openexr/openexr-2.2.1.tar.gz",
      "sha256": "8f9a5af6131583404261931d9a5c83de0a425cb4b8b25ddab2b169fbf113aecd"
     }
    ],
    "cleanup": [
     "/bin",
     "/share/doc"
    ]
   },
   {
    "name": "boost",
    "buildsystem": "simple",
    "build-commands": [
     "./bootstrap.sh --prefix=/app --with-libraries=atomic,chrono,date_time,filesystem,iostreams,program_options,system,thread",
     "./b2 -j $FLATPAK_BUILDER_N_JOBS install"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://archives.boost.io/release/1.76.0/source/boost_1_76_0.tar.bz2",
      "sha256": "f0397ba6e982c4450f27bf32a2a83292aba035b827a5623a14636ea583318c41"
     }
    ]
   },
   {
    "name": "libraw",
    "config-opts": [
     "--disable-examples",
     "--disable-static",
     "--enable-openmp",
     "--enable-lcms"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://www.libraw.org/data/LibRaw-0.20.2.tar.gz",
      "sha256": "dc1b486c2003435733043e4e05273477326e51c3ea554c6864a4eafaff1004a6"
     },
     {
      "type": "shell",
      "commands": [
       "autoreconf -vfi"
      ]
     }
    ],
    "cleanup": [
     "/share/doc"
    ]
   },
   {
    "name": "gsl",
    "sources": [
     {
      "type": "archive",
      "url": "https://ftp.halifax.rwth-aachen.de/gnu/gsl/gsl-2.7.tar.gz",
      "sha256": "efbbf3785da0e53038be7907500628b466152dbc3c173a87de1b5eba2e23602b"
     }
    ],
    "cleanup": [
     "/bin",
     "/share/info",
     "/share/man"
    ]
   },
   {
    "name": "cfitsio",
    "make-args": [
     "shared"
    ],
    "build-options": {
     "cflags": "-std=gnu17"
    },
    "sources": [
     {
      "type": "archive",
      "url": "https://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/cfitsio3450.tar.gz",
      "sha256": "bf6012dbe668ecb22c399c4b7b2814557ee282c74a7d5dc704eb17c30d9fb92e"
     }
    ]
   },
   {
    "name": "eigen3",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://gitlab.com/libeigen/eigen/-/archive/3.3.9/eigen-3.3.9.tar.bz2",
      "sha256": "0fa5cafe78f66d2b501b43016858070d52ba47bd9b1016b0165a7b8e04675677"
     }
    ]
   },
   "shared-modules/glew/glew.json",
   "shared-modules/glu/glu-9.json",
   {
    "name": "wxWidgets",
    "config-opts": [
     "--with-opengl",
     "--with-libjpeg",
     "--with-libtiff",
     "--with-libpng",
     "--with-zlib",
     "--disable-sdltest",
     "--enable-unicode",
     "--enable-display",
     "--enable-propgrid",
     "--disable-webview",
     "--disable-webviewwebkit",
     "--with-expat=builtin",
     "--with-libiconv=/usr"
    ],
    "build-options": {
     "cxxflags": "-std=c++0x"
    },
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/wxWidgets/wxWidgets/releases/download/v3.1.5/wxWidgets-3.1.5.tar.bz2",
      "sha256": "d7b3666de33aa5c10ea41bb9405c40326e1aeb74ee725bb88f90f1d50270a224"
     }
    ],
    "cleanup": [
     "/bin",
     "/lib",
     "/doc",
     "/share"
    ]
   },
   {
    "name": "libpano13",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "build-options": {
     "cflags": "-std=gnu17"
    },
    "config-opts": [
     "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://downloads.sourceforge.net/project/panotools/libpano13/libpano13-2.9.22/libpano13-2.9.22.tar.gz",
      "sha256": "affc6830cdbe71c28d2731dcbf8dea2acda6d9ffd4609c6dbf3ba0c68440a8e3"
     }
    ],
    "cleanup": [
     "/bin",
     "/share"
    ]
   },
   {
    "name": "vigra",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DWITH_OPENEXR=ON",
     "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/ukoethe/vigra/archive/refs/tags/Version-1-11-2.tar.gz",
      "sha256": "4841936f5c3c137611ec782e293d961df29d3b5b70ade8cb711374de0f4cb5d3"
     }
    ],
    "cleanup": [
     "/bin",
     "/doc",
     "/lib/vigra/",
     "/share"
    ]
   },
   {
    "name": "hugin",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "sources": [
     {
      "type": "archive",
      "url": "https://sourceforge.net/projects/hugin/files/hugin/hugin-2020.0/hugin-2020.0.0.tar.bz2",
      "sha256": "283e7601259a7914cb075333424410928a439dc5f84216f33e2fe55501fbcacb"
     }
    ],
    "cleanup": [
     "/bin/autooptimiser",
     "/bin/calibrate_lens_gui",
     "/bin/celeste_standalone",
     "/bin/checkpto",
     "/bin/cpclean",
     "/bin/cpfind",
     "/bin/deghosting_mask",
     "/bin/fulla",
     "/bin/geocpset",
     "/bin/hugin*",
     "/bin/icpfind",
     "/bin/linefind",
     "/bin/nona",
     "/bin/pano*",
     "/bin/PT*",
     "/bin/pto_*",
     "/bin/tca_correct",
     "/bin/verdandi",
     "/bin/vig_optimize",
     "/lib/libceleste*",
     "/lib/libhuginbaswwx*",
     "/lib/libicpfindlib*",
     "/lib/liblocalfeatures*",
     "/share"
    ]
   },
   {
    "name": "luminance",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo",
     "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
    ],
    "post-install": [
     "install -Dm 644 net.sourceforge.qtpfsgui.LuminanceHDR.appdata.xml -t /app/share/appdata",
     "install -Dm 644 net.sourceforge.qtpfsgui.LuminanceHDR.desktop -t /app/share/applications",
     "install -Dm 644 net.sourceforge.qtpfsgui.LuminanceHDR.svg -t /app/share/icons/hicolor/scalable/apps"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/LuminanceHDR/LuminanceHDR/archive/v.2.6.1.1.tar.gz",
      "sha256": "fa5a870ee00392a972755dd04a35e928ec9c50c474f4c72d0477dea337e0b81a"
     },
     {
      "type": "file",
      "path": "net.sourceforge.qtpfsgui.LuminanceHDR.svg"
     },
     {
      "type": "patch",
      "path": "appdata-fixes.patch"
     }
    ]
   }
  ]
 }
}