{
 "app_id": "de.wwwtech.gitte",
 "source_url": "https://raw.githubusercontent.com/flathub/de.wwwtech.gitte/master/de.wwwtech.gitte.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",
  "--device=dri",
  "--filesystem=home"
 ],
 "module_count": 3,
 "fetched_at": "2026-09-17T16:09:27.964277+00:00",
 "manifest": {
  "id": "de.wwwtech.gitte",
  "runtime": "org.gnome.Platform",
  "runtime-version": "50",
  "sdk": "org.gnome.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.rust-stable"
  ],
  "command": "gitte",
  "finish-args": [
   "--share=network",
   "--share=ipc",
   "--socket=fallback-x11",
   "--device=dri",
   "--socket=wayland",
   "--socket=ssh-auth",
   "--filesystem=home"
  ],
  "build-options": {
   "append-path": "/usr/lib/sdk/rust-stable/bin",
   "env": {
    "CARGO_NET_OFFLINE": "true"
   }
  },
  "modules": [
   {
    "name": "git",
    "buildsystem": "simple",
    "build-commands": [
     "make configure",
     "./configure --prefix=/app NO_PERL=1 NO_TCLTK=1 NO_GETTEXT=1 NO_INSTALL_HARDLINKS=1 NO_SVN_TESTS=1",
     "make all -j${FLATPAK_BUILDER_N_JOBS:-4} NO_PERL=1 NO_TCLTK=1 NO_GETTEXT=1 NO_INSTALL_HARDLINKS=1",
     "make strip install NO_PERL=1 NO_TCLTK=1 NO_GETTEXT=1 NO_INSTALL_HARDLINKS=1"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.54.0.tar.xz",
      "sha256": "f689162364c10de79ef89aa8dbf48731eb057e34edbbd20aca510ce0154681a3"
     }
    ],
    "cleanup": [
     "/share/git-core/templates",
     "/share/git-gui",
     "/share/gitk",
     "/share/gitweb"
    ]
   },
   {
    "name": "git-lfs",
    "buildsystem": "simple",
    "build-commands": [
     "install -d /app/libexec/git-core /app/etc",
     "cp git-lfs /app/libexec/git-core/",
     "/app/bin/git lfs install --system"
    ],
    "sources": [
     {
      "type": "archive",
      "only-arches": [
       "x86_64"
      ],
      "url": "https://github.com/git-lfs/git-lfs/releases/download/v3.7.1/git-lfs-linux-amd64-v3.7.1.tar.gz",
      "sha256": "1c0b6ee5200ca708c5cebebb18fdeb0e1c98f1af5c1a9cba205a4c0ab5a5ec08"
     },
     {
      "type": "archive",
      "only-arches": [
       "aarch64"
      ],
      "url": "https://github.com/git-lfs/git-lfs/releases/download/v3.7.1/git-lfs-linux-arm64-v3.7.1.tar.gz",
      "sha256": "73a9c90eeb4312133a63c3eaee0c38c019ea7bfa0953d174809d25b18588dd8d"
     }
    ]
   },
   {
    "name": "gitte",
    "builddir": true,
    "buildsystem": "meson",
    "sources": [
     {
      "type": "git",
      "url": "https://codeberg.org/ckruse/Gitte.git",
      "tag": "0.10.1",
      "commit": "f1ad93668a060fcb611ab510fd9199cf8daabbb7"
     },
     "cargo-sources.json"
    ],
    "config-opts": [
     "-Dcargo-home=/run/build/gitte/cargo",
     "-Dflatpak=true"
    ]
   }
  ]
 }
}