{
 "app_id": "io.sourceforge.Pixelitor",
 "source_url": "https://raw.githubusercontent.com/flathub/io.sourceforge.Pixelitor/master/io.sourceforge.Pixelitor.json",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "24.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=network",
  "--share=ipc",
  "--socket=x11",
  "--socket=pulseaudio",
  "--device=dri",
  "--filesystem=home"
 ],
 "module_count": 5,
 "fetched_at": "2026-09-17T16:12:56.385730+00:00",
 "manifest": {
  "id": "io.sourceforge.Pixelitor",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "24.08",
  "command": "pixelitor",
  "sdk": "org.freedesktop.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.openjdk"
  ],
  "finish-args": [
   "--env=PATH=/app/jre/bin:/app/bin:/usr/bin",
   "--env=JAVA_HOME=/app/jre",
   "--env=JAVA=/app/jre/bin/java",
   "--share=ipc",
   "--socket=x11",
   "--socket=pulseaudio",
   "--share=network",
   "--device=dri",
   "--filesystem=home",
   "--persist=.java"
  ],
  "modules": [
   {
    "name": "openjdk",
    "buildsystem": "simple",
    "build-commands": [
     "/usr/lib/sdk/openjdk/install.sh"
    ]
   },
   {
    "name": "xgetres",
    "buildsystem": "simple",
    "build-commands": [
     "make",
     "make install PREFIX=/app"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/tamirzb/xgetres",
      "tag": "1.0",
      "commit": "7dd6aa2e3a469382ba09152710a5bb4abb3fbc9c"
     }
    ]
   },
   {
    "name": "flatpak-xdg-utils",
    "buildsystem": "meson",
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/flatpak/flatpak-xdg-utils.git",
      "tag": "1.0.6",
      "commit": "05abdd7421688be5835a6b12f2b068086c38d4aa"
     }
    ]
   },
   {
    "name": "imagemagick",
    "cleanup": [
     "*"
    ],
    "config-opts": [
     "--enable-static=no",
     "--disable-docs",
     "--disable-deprecated",
     "--without-autotrace",
     "--without-bzlib",
     "--without-djvu",
     "--without-dps",
     "--without-fftw",
     "--without-fontconfig",
     "--without-fpx",
     "--without-freetype",
     "--without-gvc",
     "--without-jbig",
     "--without-jpeg",
     "--without-lcms",
     "--without-lzma",
     "--without-magick-plus-plus",
     "--without-openexr",
     "--without-openjp2",
     "--without-pango",
     "--without-raqm",
     "--without-tiff",
     "--without-webp",
     "--without-wmf",
     "--without-x",
     "--without-xml",
     "--without-zlib"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/ImageMagick/ImageMagick/archive/7.1.1-15.tar.gz",
      "sha256": "2372192a76af9be43c0543dd7ae6dfbf34b11fc0203583453ce3f9f707c36bcc"
     }
    ]
   },
   {
    "name": "pixelitor",
    "buildsystem": "simple",
    "build-commands": [
     "mkdir -p /app/pixelitor",
     "install -Dm644 pixelitor_icon256.png /app/share/icons/hicolor/256x256/apps/io.sourceforge.Pixelitor.png",
     "mv pixelitor.jar /app/pixelitor/pixelitor.jar",
     "install -Dm755 pixelitor.sh /app/bin/pixelitor"
    ],
    "post-install": [
     "install -Dm644 io.sourceforge.Pixelitor.metainfo.xml /app/share/metainfo/io.sourceforge.Pixelitor.metainfo.xml",
     "mkdir -p /app/share/mime/packages/",
     "install -m644 -p -t /app/share/mime/packages io.sourceforge.Pixelitor.mime.xml",
     "update-mime-database /app/share/mime",
     "desktop-file-install --rebuild-mime-info-cache --dir=/app/share/applications io.sourceforge.Pixelitor.desktop"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://github.com/lbalazscs/Pixelitor/releases/download/v4.3.1/Pixelitor-4.3.1.jar",
      "sha256": "ae0147e52af8e430d971572056dca4bbdc4b613d544c3b19ac4b9376c4c40b83",
      "dest-filename": "pixelitor.jar"
     },
     {
      "type": "file",
      "url": "https://github.com/lbalazscs/Pixelitor/raw/v4.3.1/src/main/resources/images/pixelitor_icon256.png",
      "sha256": "1bdace2276459eaffe6e71bdc1cab3ee6ec0c4734ddfd8e488357f247708e95f"
     },
     {
      "type": "file",
      "path": "io.sourceforge.Pixelitor.metainfo.xml"
     },
     {
      "type": "file",
      "path": "io.sourceforge.Pixelitor.mime.xml"
     },
     {
      "type": "file",
      "path": "io.sourceforge.Pixelitor.desktop"
     },
     {
      "type": "file",
      "path": "pixelitor.sh"
     }
    ]
   }
  ]
 }
}