{
 "app_id": "com.cst8t.gitmun",
 "source_url": "https://raw.githubusercontent.com/cst8t/gitmun/main/packaging/flatpak/com.cst8t.gitmun.yml",
 "runtime": "org.gnome.Platform",
 "runtime_version": "48",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=network",
  "--share=ipc",
  "--socket=fallback-x11",
  "--socket=wayland",
  "--socket=ssh-auth",
  "--device=dri",
  "--filesystem=home",
  "--talk-name=org.freedesktop.Flatpak",
  "--talk-name=org.freedesktop.secrets",
  "--filesystem=xdg-run/keyring"
 ],
 "module_count": 2,
 "fetched_at": "2026-09-20T12:57:29.012593+00:00",
 "manifest": {
  "app-id": "com.cst8t.gitmun",
  "runtime": "org.gnome.Platform",
  "runtime-version": "48",
  "sdk": "org.gnome.Sdk",
  "command": "gitmun",
  "finish-args": [
   "--share=network",
   "--share=ipc",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--socket=ssh-auth",
   "--device=dri",
   "--filesystem=home",
   "--talk-name=org.freedesktop.Flatpak",
   "--talk-name=org.freedesktop.secrets",
   "--filesystem=xdg-run/keyring"
  ],
  "modules": [
   {
    "name": "git",
    "make-args": [
     "NO_TCLTK=1",
     "INSTALL_SYMLINKS=1"
    ],
    "make-install-args": [
     "NO_TCLTK=1",
     "INSTALL_SYMLINKS=1"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.53.0.tar.xz",
      "sha256": "5818bd7d80b061bbbdfec8a433d609dc8818a05991f731ffc4a561e2ca18c653"
     }
    ]
   },
   {
    "name": "gitmun-files",
    "buildsystem": "simple",
    "build-commands": [
     "BIN_PATH=\"\"\nfor candidate in \\\n  usr/bin/gitmun \\\n  usr/lib/gitmun/gitmun \\\n  rootfs/usr/bin/gitmun \\\n  rootfs/usr/lib/gitmun/gitmun; do\n  if [ -f \"$candidate\" ]; then\n    BIN_PATH=\"$candidate\"\n    break\n  fi\ndone\n\nif [ -z \"$BIN_PATH\" ]; then\n  echo \"Unable to locate gitmun binary in extracted rootfs sources.\" >&2\n  find . -maxdepth 5 -type f | sort >&2\n  exit 1\nfi\n\ninstall -Dm755 \"$BIN_PATH\" /app/bin/gitmun\n",
     "DESKTOP_PATH=\"\"\nfor desktop_dir in usr/share/applications rootfs/usr/share/applications; do\n  if [ -d \"$desktop_dir\" ]; then\n    DESKTOP_PATH=\"$(find \"$desktop_dir\" -maxdepth 1 -type f -iname 'gitmun.desktop' | head -n 1)\"\n  fi\n  if [ -n \"$DESKTOP_PATH\" ]; then\n    break\n  fi\ndone\nif [ -z \"$DESKTOP_PATH\" ]; then\n  for desktop_dir in usr/share/applications rootfs/usr/share/applications; do\n    if [ -d \"$desktop_dir\" ]; then\n      DESKTOP_PATH=\"$(find \"$desktop_dir\" -maxdepth 1 -type f -iname '*.desktop' | head -n 1)\"\n    fi\n    if [ -n \"$DESKTOP_PATH\" ]; then\n      break\n    fi\n  done\nfi\n\nif [ -z \"$DESKTOP_PATH\" ]; then\n  echo \"Unable to locate a desktop file in extracted rootfs sources.\" >&2\n  find . -maxdepth 5 -type f | sort >&2\n  exit 1\nfi\n\ninstall -Dm644 \"$DESKTOP_PATH\" /app/share/applications/com.cst8t.gitmun.desktop\n",
     "ICON_PATH=\"\"\nfor icon_dir in usr/share/icons/hicolor/128x128/apps rootfs/usr/share/icons/hicolor/128x128/apps; do\n  if [ -d \"$icon_dir\" ]; then\n    ICON_PATH=\"$(find \"$icon_dir\" -maxdepth 1 -type f -iname 'gitmun.png' | head -n 1)\"\n  fi\n  if [ -n \"$ICON_PATH\" ]; then\n    break\n  fi\ndone\n\nif [ -n \"$ICON_PATH\" ]; then\n  install -Dm644 \"$ICON_PATH\" /app/share/icons/hicolor/128x128/apps/com.cst8t.gitmun.png\nfi\n",
     "sed -i 's/^Exec=.*/Exec=gitmun/' /app/share/applications/com.cst8t.gitmun.desktop",
     "sed -i 's/^Icon=.*/Icon=com.cst8t.gitmun/' /app/share/applications/com.cst8t.gitmun.desktop"
    ],
    "sources": [
     {
      "type": "dir",
      "path": "rootfs"
     }
    ]
   }
  ]
 }
}