{
 "app_id": "io.github.Loganavter.Improve-ImgSLI",
 "source_url": "https://raw.githubusercontent.com/flathub/io.github.Loganavter.Improve-ImgSLI/master/io.github.Loganavter.Improve-ImgSLI.yaml",
 "runtime": "org.kde.Platform",
 "runtime_version": "6.10",
 "sdk": "org.kde.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--socket=fallback-x11",
  "--device=dri",
  "--filesystem=xdg-documents",
  "--filesystem=xdg-download",
  "--filesystem=xdg-pictures",
  "--filesystem=xdg-config/kdeglobals:ro",
  "--talk-name=com.canonical.AppMenu.Registrar",
  "--talk-name=org.kde.kconfig.notify",
  "--talk-name=org.kde.KGlobalSettings"
 ],
 "module_count": 3,
 "fetched_at": "2026-09-17T16:10:24.841542+00:00",
 "manifest": {
  "app-id": "io.github.Loganavter.Improve-ImgSLI",
  "runtime": "org.kde.Platform",
  "runtime-version": "6.10",
  "sdk": "org.kde.Sdk",
  "base": "com.riverbankcomputing.PyQt.BaseApp",
  "base-version": "6.10",
  "command": "Improve-ImgSLI",
  "finish-args": [
   "--socket=fallback-x11",
   "--socket=wayland",
   "--share=ipc",
   "--device=dri",
   "--filesystem=xdg-documents",
   "--filesystem=xdg-download",
   "--filesystem=xdg-pictures",
   "--env=PATH=/app/lib/ffmpeg:/app/bin:/usr/bin"
  ],
  "cleanup": [
   "/include",
   "/lib/pkgconfig",
   "/man",
   "/share/man",
   "/share/pkgconfig",
   "*.la",
   "*.a"
  ],
  "cleanup-commands": [
   "/app/cleanup-BaseApp.sh"
  ],
  "build-options": {
   "env": [
    "BASEAPP_REMOVE_WEBENGINE=1"
   ]
  },
  "modules": [
   {
    "name": "openblas",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release",
     "-DBUILD_SHARED_LIBS=ON"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/OpenMathLib/OpenBLAS/releases/download/v0.3.32/OpenBLAS-0.3.32.tar.gz",
      "sha256": "f8a1138e01fddca9e4c29f9684fd570ba39dedc9ca76055e1425d5d4b1a4a766"
     }
    ]
   },
   "python3-modules.json",
   {
    "name": "Improve-ImgSLI",
    "buildsystem": "simple",
    "build-commands": [
     "install -d ${FLATPAK_DEST}/lib/ffmpeg",
     "install -Dm755 build/Flatpak-template/improve-imgsli-launcher.sh ${FLATPAK_DEST}/bin/Improve-ImgSLI",
     "install -d ${FLATPAK_DEST}/lib/Improve-ImgSLI/src",
     "cp -a src/* ${FLATPAK_DEST}/lib/Improve-ImgSLI/src/",
     "cd ${FLATPAK_DEST}/lib/Improve-ImgSLI/src && mv __main__.py .. && mv __init__.py ..",
     "install -Dm644 src/resources/icons/icon.png ${FLATPAK_DEST}/share/icons/hicolor/512x512/apps/${FLATPAK_ID}.png",
     "install -Dm644 LICENSE ${FLATPAK_DEST}/share/licenses/Improve-ImgSLI/LICENSE",
     "desktop-file-edit --set-key=Categories --set-value=\"Graphics;Utility;Viewer;Photography;\" build/AUR-template/improve-imgsli.desktop",
     "desktop-file-edit --set-icon=\"${FLATPAK_ID}\" build/AUR-template/improve-imgsli.desktop",
     "desktop-file-edit --set-key=Exec --set-value=\"Improve-ImgSLI\" build/AUR-template/improve-imgsli.desktop",
     "install -Dm644 build/AUR-template/improve-imgsli.desktop ${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop",
     "install -Dm644 build/Flatpak-template/io.github.Loganavter.Improve-ImgSLI.metainfo.xml ${FLATPAK_DEST}/share/metainfo/${FLATPAK_ID}.metainfo.xml"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/Loganavter/Improve-ImgSLI.git",
      "tag": "v10.0.1",
      "commit": "a040ced9fe6a8f943111095ff549afd253b744b1"
     }
    ]
   }
  ]
 }
}