{
 "app_id": "io.github.hvdwofl.jExifToolGUI",
 "source_url": "https://raw.githubusercontent.com/flathub/io.github.hvdwofl.jExifToolGUI/master/io.github.hvdwofl.jExifToolGUI.yaml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=network",
  "--share=ipc",
  "--socket=x11",
  "--filesystem=xdg-download",
  "--filesystem=xdg-pictures"
 ],
 "module_count": 4,
 "fetched_at": "2026-09-17T16:11:14.681510+00:00",
 "manifest": {
  "app-id": "io.github.hvdwofl.jExifToolGUI",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.openjdk11"
  ],
  "command": "jExifToolGUI",
  "finish-args": [
   "--socket=x11",
   "--share=ipc",
   "--share=network",
   "--filesystem=xdg-download",
   "--filesystem=xdg-pictures",
   "--env=PATH=/usr/bin:/app/bin:/app/jre/bin",
   "--env=JAVA_HOME=/app/jre"
  ],
  "build-options": {
   "env": {
    "JAVA_HOME": "/usr/lib/sdk/openjdk11/"
   }
  },
  "modules": [
   {
    "name": "openjdk",
    "buildsystem": "simple",
    "build-commands": [
     "/usr/lib/sdk/openjdk11/install.sh"
    ]
   },
   {
    "name": "exiftool",
    "buildsystem": "simple",
    "build-commands": [
     "perl Makefile.PL",
     "make install"
    ],
    "cleanup": [
     "*.pod"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/exiftool/exiftool.git",
      "tag": "12.96",
      "commit": "0f63a780906abcccba796761fc2e66a0737e2f16",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^(\\d+\\.\\d+[02468])$"
      }
     }
    ],
    "modules": [
     {
      "name": "perl",
      "buildsystem": "simple",
      "build-commands": [
       "./Configure -des -Dprefix=$FLATPAK_DEST -Dman1dir=none -Dman3dir=none",
       "make",
       "make install"
      ],
      "post-install": [
       "chmod -R u+w $FLATPAK_DEST/lib/perl5"
      ],
      "cleanup": [
       "/bin/corelist",
       "/bin/cpan",
       "/bin/enc2xs",
       "/bin/encguess",
       "/bin/h2ph",
       "/bin/h2xs",
       "/bin/instmodsh",
       "/bin/json_pp",
       "/bin/libnetcfg",
       "/bin/perl5*",
       "/bin/perlbug",
       "/bin/perldoc",
       "/bin/perlivp",
       "/bin/perlthanks",
       "/bin/piconv",
       "/bin/pl2pm",
       "/bin/pod2html",
       "/bin/pod2man",
       "/bin/pod2text",
       "/bin/pod2usage",
       "/bin/podchecker",
       "/bin/prove",
       "/bin/ptar",
       "/bin/ptardiff",
       "/bin/ptargrep",
       "/bin/shasum",
       "/bin/splain",
       "/bin/streamzip",
       "/bin/xsubpp",
       "/bin/zipdetails",
       "*.pod"
      ],
      "sources": [
       {
        "type": "git",
        "url": "https://github.com/Perl/perl5.git",
        "tag": "v5.40.0",
        "commit": "f22a16ecf4821b7e93d2569f630817a2631fddd9",
        "disable-fsckobjects": true,
        "x-checker-data": {
         "type": "git",
         "tag-pattern": "^v(\\d+\\.\\d+[02468].\\d+)$"
        }
       }
      ]
     }
    ]
   },
   {
    "name": "jexiftoolgui-binary",
    "buildsystem": "simple",
    "build-commands": [
     "install -D -ma+rx jExifToolGUI.sh /app/bin/jExifToolGUI",
     "install -D -ma+r  jExifToolGUI.jar /app/bin/jExifToolGUI.jar",
     "install -D -ma+r io.github.hvdwofl.jExifToolGUI.desktop /app/share/applications/io.github.hvdwofl.jExifToolGUI.desktop",
     "install -D -ma+r io.github.hvdwofl.jExifToolGUI.appdata.xml /app/share/metainfo/io.github.hvdwofl.jExifToolGUI.appdata.xml",
     "install -D -ma+r io.github.hvdwofl.jExifToolGUI.png /app/share/icons/hicolor/128x128/apps/io.github.hvdwofl.jExifToolGUI.png"
    ],
    "sources": [
     {
      "type": "file",
      "path": "jExifToolGUI.sh"
     },
     {
      "type": "file",
      "path": "io.github.hvdwofl.jExifToolGUI.appdata.xml"
     },
     {
      "type": "file",
      "path": "io.github.hvdwofl.jExifToolGUI.desktop"
     },
     {
      "type": "file",
      "path": "io.github.hvdwofl.jExifToolGUI.png"
     },
     {
      "type": "file",
      "url": "https://github.com/hvdwolf/jExifToolGUI/releases/download/2.0.2/jExifToolGUI.jar",
      "sha256": "7d96c39811547f8689a9ee20ef1610372254146263ac4792dbb2663daae7ae73",
      "x-checker-data": {
       "type": "json",
       "url": "https://api.github.com/repos/hvdwolf/jExifToolGUI/releases/latest",
       "version-query": ".tag_name",
       "url-query": ".assets[] | select(.name==\"jExifToolGUI.jar\") | .browser_download_url"
      }
     }
    ]
   }
  ]
 }
}