{
 "app_id": "com.github.Murmele.Gittyup",
 "source_url": "https://raw.githubusercontent.com/flathub/com.github.Murmele.Gittyup/master/com.github.Murmele.Gittyup.yml",
 "runtime": "org.kde.Platform",
 "runtime_version": "6.1",
 "sdk": "org.kde.Sdk",
 "finish_args": [
  "--share=network",
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--socket=fallback-x11",
  "--socket=ssh-auth",
  "--device=dri",
  "--filesystem=home",
  "--filesystem=/tmp",
  "--filesystem=xdg-config/kdeglobals:ro",
  "--filesystem=xdg-run/keyring",
  "--talk-name=com.canonical.AppMenu.Registrar",
  "--talk-name=org.kde.kconfig.notify",
  "--talk-name=org.kde.KGlobalSettings",
  "--talk-name=org.freedesktop.Flatpak",
  "--talk-name=org.freedesktop.Notifications",
  "--talk-name=org.freedesktop.secrets"
 ],
 "module_count": 4,
 "fetched_at": "2026-09-17T16:07:24.905172+00:00",
 "manifest": {
  "app-id": "com.github.Murmele.Gittyup",
  "runtime": "org.kde.Platform",
  "runtime-version": 6.1,
  "sdk": "org.kde.Sdk",
  "command": "gittyup",
  "desktop-file-name-suffix": "",
  "finish-args": [
   "--socket=wayland",
   "--socket=fallback-x11",
   "--device=dri",
   "--share=network",
   "--share=ipc",
   "--filesystem=home",
   "--filesystem=/tmp",
   "--filesystem=xdg-run/keyring",
   "--socket=ssh-auth",
   "--talk-name=org.freedesktop.secrets",
   "--talk-name=org.freedesktop.Notifications",
   "--talk-name=org.freedesktop.Flatpak"
  ],
  "rename-icon": "gittyup",
  "rename-desktop-file": "gittyup.desktop",
  "rename-appdata-file": "gittyup.appdata.xml",
  "build-options": {
   "append-path": "/usr/lib/sdk/golang/bin"
  },
  "modules": [
   {
    "name": "git-lfs",
    "buildsystem": "simple",
    "build-commands": [
     "PREFIX=${FLATPAK_DEST} ./install.sh"
    ],
    "sources": [
     {
      "type": "archive",
      "strip-components": 1,
      "url": "https://github.com/git-lfs/git-lfs/releases/download/v3.7.1/git-lfs-linux-amd64-v3.7.1.tar.gz",
      "sha256": "1c0b6ee5200ca708c5cebebb18fdeb0e1c98f1af5c1a9cba205a4c0ab5a5ec08",
      "only-arches": [
       "x86_64"
      ],
      "x-checker-data": {
       "type": "json",
       "url": "https://api.github.com/repos/git-lfs/git-lfs/releases/latest",
       "url-query": ".assets[] | select(.name==\"git-lfs-linux-amd64-\" + $version + \".tar.gz\") | .browser_download_url",
       "version-query": ".tag_name"
      }
     },
     {
      "type": "archive",
      "strip-components": 1,
      "url": "https://github.com/git-lfs/git-lfs/releases/download/v3.7.1/git-lfs-linux-arm64-v3.7.1.tar.gz",
      "sha256": "73a9c90eeb4312133a63c3eaee0c38c019ea7bfa0953d174809d25b18588dd8d",
      "only-arches": [
       "aarch64"
      ],
      "x-checker-data": {
       "type": "json",
       "url": "https://api.github.com/repos/git-lfs/git-lfs/releases/latest",
       "url-query": ".assets[] | select(.name==\"git-lfs-linux-arm64-\" + $version + \".tar.gz\") | .browser_download_url",
       "version-query": ".tag_name"
      }
     }
    ]
   },
   {
    "name": "git",
    "buildsystem": "simple",
    "build-commands": [
     "install -Dm755 $(which git) ${FLATPAK_DEST}/bin/",
     "install -Dm755 $(which git-cvsserver) ${FLATPAK_DEST}/bin/",
     "install -Dm755 $(which git-receive-pack) ${FLATPAK_DEST}/bin/",
     "install -Dm755 $(which git-shell) ${FLATPAK_DEST}/bin/",
     "install -Dm755 $(which git-upload-archive) ${FLATPAK_DEST}/bin/",
     "install -Dm755 $(which git-upload-pack) ${FLATPAK_DEST}/bin/"
    ]
   },
   {
    "name": "libssh2",
    "rm-configure": true,
    "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"
      }
     },
     {
      "type": "script",
      "commands": [
       "autoreconf -fiv"
      ],
      "dest-filename": "autogen.sh"
     }
    ]
   },
   {
    "name": "Gittyup",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release",
     "-DFLATPAK=ON",
     "-DGENERATE_APPDATA=ON",
     "-DENABLE_UPDATE_OVER_GUI=OFF"
    ],
    "builddir": true,
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/Murmele/Gittyup.git",
      "tag": "c61af10942a14173ff0e84f29fc86fa82637d3f2"
     }
    ]
   }
  ]
 }
}