{
 "app_id": "dev.deimoshall.Metamorphosis",
 "source_url": "https://raw.githubusercontent.com/flathub/dev.deimoshall.Metamorphosis/master/dev.deimoshall.Metamorphosis.json",
 "runtime": "org.gnome.Platform",
 "runtime_version": "50",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=fallback-x11",
  "--socket=wayland",
  "--device=dri"
 ],
 "module_count": 3,
 "fetched_at": "2026-09-17T16:09:33.910082+00:00",
 "manifest": {
  "app-id": "dev.deimoshall.Metamorphosis",
  "runtime": "org.gnome.Platform",
  "runtime-version": "50",
  "sdk": "org.gnome.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.rust-stable"
  ],
  "command": "metamorphosis",
  "finish-args": [
   "--share=ipc",
   "--socket=fallback-x11",
   "--device=dri",
   "--socket=wayland"
  ],
  "build-options": {
   "append-path": "/usr/lib/sdk/rust-stable/bin:/app/bin",
   "env": {
    "PERL5LIB": "/app/lib/perl5/5.40:/app/lib/perl5/site_perl/5.40"
   }
  },
  "cleanup": [
   "/include",
   "/lib/pkgconfig",
   "/man",
   "/share/doc",
   "/share/gtk-doc",
   "/share/man",
   "/share/pkgconfig",
   "*.la",
   "*.a"
  ],
  "modules": [
   {
    "name": "perl",
    "no-autogen": true,
    "config-opts": [
     "-des",
     "-Duseshrplib"
    ],
    "build-options": {
     "cflags": "-fPIC",
     "ldflags": "-fpic"
    },
    "sources": [
     {
      "type": "archive",
      "url": "https://www.cpan.org/src/5.0/perl-5.40.1.tar.gz",
      "sha256": "02f8c45bb379ed0c3de7514fad48c714fd46be8f0b536bfd5320050165a1ee26"
     },
     {
      "type": "script",
      "dest-filename": "configure",
      "commands": [
       "exec ./configure.gnu $@"
      ]
     }
    ],
    "post-install": [
     "chmod -R u+w /app/lib/perl5",
     "ln -sf /app/bin/perl /app/bin/perl5.40.1"
    ],
    "cleanup": [
     "/share"
    ]
   },
   {
    "name": "exiftool",
    "buildsystem": "simple",
    "build-commands": [
     "cp -r . /app/ && chmod +x /app/exiftool"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://sourceforge.net/projects/exiftool/files/Image-ExifTool-13.59.tar.gz",
      "sha256": "668ea3acececb7235fbd0f4900e72d5f12c9b07e5c778fd36cb1e9b5828fd65a"
     }
    ]
   },
   {
    "name": "metamorphosis",
    "buildsystem": "meson",
    "config-opts": [
     "--buildtype=release"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/DeimosHall/Metamorphosis/releases/download/v0.6.1/metamorphosis-0.6.1.tar.xz",
      "sha256": "8758621b7e58d5cf1c33e9fc0b1974f78aa92c5d9e0f1cce8aba65deb35044d3"
     }
    ]
   }
  ]
 }
}