{
 "app_id": "org.gnome.gitg",
 "source_url": "https://raw.githubusercontent.com/flathub/org.gnome.gitg/master/org.gnome.gitg.json",
 "runtime": "org.gnome.Platform",
 "runtime_version": "50",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=fallback-x11",
  "--socket=ssh-auth",
  "--socket=wayland",
  "--filesystem=xdg-run/keyring",
  "--filesystem=host",
  "--talk-name=org.freedesktop.secrets"
 ],
 "module_count": 10,
 "fetched_at": "2026-09-17T16:15:06.699736+00:00",
 "manifest": {
  "app-id": "org.gnome.gitg",
  "runtime": "org.gnome.Platform",
  "runtime-version": "50",
  "sdk": "org.gnome.Sdk",
  "command": "gitg",
  "finish-args": [
   "--share=ipc",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--socket=ssh-auth",
   "--share=network",
   "--filesystem=host",
   "--talk-name=org.freedesktop.secrets",
   "--filesystem=xdg-run/keyring"
  ],
  "cleanup": [
   "/include",
   "/lib/pkgconfig",
   "/man",
   "/share/aclocal",
   "/share/doc",
   "/share/gir-1.0",
   "/share/glade",
   "/share/gtk-doc",
   "/share/man",
   "/share/pkgconfig",
   "/share/vala",
   "*.a",
   "*.la",
   "*.pyc",
   "__pycache__"
  ],
  "modules": [
   {
    "name": "gtksourceview4",
    "buildsystem": "meson",
    "config-opts": [
     "-Dinstall_tests=false",
     "-Dgtk_doc=false"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://download.gnome.org/sources/gtksourceview/4.8/gtksourceview-4.8.4.tar.xz",
      "sha256": "7ec9d18fb283d1f84a3a3eff3b7a72b09a10c9c006597b3fbabbb5958420a87d"
     }
    ]
   },
   {
    "name": "libssh2",
    "sources": [
     {
      "type": "archive",
      "url": "https://www.libssh2.org/download/libssh2-1.11.1.tar.gz",
      "sha256": "d9ec76cbe34db98eec3539fe2c899d26b0c837cb3eb466a56b0f109cabf658f7",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 1730,
       "url-template": "https://www.libssh2.org/download/libssh2-$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "libgit2",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DBUILD_SHARED_LIBS:BOOL=ON",
     "-DBUILD_TESTS:BOOL=OFF",
     "-DUSE_THREADS:BOOL=ON",
     "-DUSE_SSH:BOOL=ON"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/libgit2/libgit2/archive/v1.7.2/libgit2-1.7.2.tar.gz",
      "sha256": "de384e29d7efc9330c6cdb126ebf88342b5025d920dcb7c645defad85195ea7f",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 1627,
       "versions": {
        "<": "1.8.0"
       },
       "url-template": "https://github.com/libgit2/libgit2/archive/v$version/libgit2-$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "libgit2-glib",
    "config-opts": [
     "--buildtype=debugoptimized"
    ],
    "buildsystem": "meson",
    "builddir": true,
    "sources": [
     {
      "type": "archive",
      "url": "https://download.gnome.org/sources/libgit2-glib/1.2/libgit2-glib-1.2.1.tar.xz",
      "sha256": "97423a779002b3be8751c75f9d79049dfccca3616a26159fc162486772ba785f",
      "x-checker-data": {
       "type": "gnome",
       "name": "libgit2-glib"
      }
     }
    ]
   },
   "shared-modules/intltool/intltool-0.51.json",
   {
    "name": "libpeas",
    "buildsystem": "meson",
    "builddir": true,
    "cleanup": [
     "/bin/*",
     "/lib/peas-demo"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://download.gnome.org/sources/libpeas/1.38/libpeas-1.38.1.tar.xz",
      "sha256": "e82fd328adcac1aba34b64136bdfcbbacf2b3258a8bc4e5f480a72502a611ae9",
      "x-checker-data": {
       "type": "gnome",
       "name": "libpeas",
       "versions": {
        "<": "1.99"
       }
      }
     }
    ]
   },
   {
    "name": "enchant",
    "cleanup": [
     "/bin"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/AbiWord/enchant/releases/download/v2.8.17/enchant-2.8.17.tar.gz",
      "sha256": "ee40256e271d0bc1f212ecbc8b8d3da9066b33c9ca987d266759665eb0ca694d",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 6601,
       "url-template": "https://github.com/AbiWord/enchant/releases/download/v$version/enchant-$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "gspell",
    "buildsystem": "meson",
    "cleanup": [
     "/bin"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://download.gnome.org/sources/gspell/1.14/gspell-1.14.4.tar.xz",
      "sha256": "e73a89d68c70f8748aefb6b0f5cfdfec3ff173cf4449837fd6cb17d1e9fcf486",
      "x-checker-data": {
       "type": "gnome",
       "name": "gspell"
      }
     }
    ]
   },
   {
    "name": "git",
    "make-args": [
     "INSTALL_SYMLINKS=1",
     "NO_PERL=YesPlease",
     "NO_RUST=YesPlease",
     "NO_TCLTK=YesPlease"
    ],
    "make-install-args": [
     "INSTALL_SYMLINKS=1",
     "NO_PERL=YesPlease",
     "NO_RUST=YesPlease",
     "NO_TCLTK=YesPlease"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.55.0.tar.xz",
      "sha256": "457fdb04dc8728e007d4688695e6912e6f680727920f2a40bf11eacc17505357",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 5350,
       "stable-only": true,
       "url-template": "https://mirrors.edge.kernel.org/pub/software/scm/git/git-$version.tar.xz"
      }
     }
    ]
   },
   {
    "name": "gitg",
    "buildsystem": "meson",
    "config-opts": [
     "--buildtype=debugoptimized",
     "-Ddeprecations=true"
    ],
    "cleanup": [
     "/bin/python"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://download.gnome.org/sources/gitg/50/gitg-50.tar.xz",
      "sha256": "331216a86920cd4e8ab9b0036e63cecb3e1a1d1162c61aa31bd6924e985a8154",
      "x-checker-data": {
       "is-main-source": true,
       "type": "gnome",
       "name": "gitg"
      }
     },
     {
      "type": "patch",
      "path": "patches/0005-libpeas-1.38.patch"
     },
     {
      "type": "shell",
      "commands": [
       "ln -s /usr/bin/python3 /app/bin/python"
      ]
     }
    ]
   }
  ]
 }
}