{
 "app_id": "io.github.mfat.sshpilot",
 "source_url": "https://raw.githubusercontent.com/flathub/io.github.mfat.sshpilot/master/io.github.mfat.sshpilot.yaml",
 "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=all",
  "--filesystem=~/.ssh:create",
  "--talk-name=org.freedesktop.Flatpak"
 ],
 "module_count": 7,
 "fetched_at": "2026-09-20T11:53:05.864362+00:00",
 "manifest": {
  "app-id": "io.github.mfat.sshpilot",
  "runtime": "org.gnome.Platform",
  "runtime-version": "50",
  "sdk": "org.gnome.Sdk",
  "command": "sshpilot",
  "separate-locales": false,
  "finish-args": [
   "--share=network",
   "--share=ipc",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--socket=ssh-auth",
   "--filesystem=~/.ssh:create",
   "--talk-name=org.freedesktop.Flatpak",
   "--device=all"
  ],
  "cleanup": [
   "/include",
   "/lib/pkgconfig",
   "/share/gtk-doc",
   "/share/man",
   "*.la",
   "*.a"
  ],
  "modules": [
   {
    "name": "libcbor",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release",
     "-DBUILD_SHARED_LIBS=ON",
     "-DWITH_EXAMPLES=OFF",
     "-DWITH_TESTS=OFF"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/PJK/libcbor.git",
      "tag": "v0.13.0",
      "commit": "9826a4315116a588f7416912db9da6fcecd8da11"
     }
    ]
   },
   {
    "name": "libfido2",
    "buildsystem": "simple",
    "build-commands": [
     "sed -i '/CMAKE_C_FLAGS_RELEASE.*D_FORTIFY_SOURCE=2/d' CMakeLists.txt",
     "cmake -S . -B build -G Ninja -DCMAKE_INSTALL_PREFIX=/app -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTS=OFF -DBUILD_EXAMPLES=OFF -DBUILD_MANPAGES=OFF -DBUILD_STATIC_LIBS=OFF -DBUILD_TOOLS=ON -DNFC_LINUX=OFF",
     "cmake --build build --parallel ${FLATPAK_BUILDER_N_JOBS:-2}",
     "cmake --install build",
     "test -f /app/lib/libfido2.so",
     "pkg-config --modversion libfido2"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/Yubico/libfido2.git",
      "tag": "1.17.0",
      "commit": "b974e7cf2ee7392134cc12c08b76a068cf250dd8"
     }
    ]
   },
   {
    "name": "openssh",
    "buildsystem": "simple",
    "build-commands": [
     "touch configure",
     "./configure --prefix=/app --sysconfdir=/app/etc/ssh --libexecdir=/app/libexec --with-privsep-path=/app/var/empty --without-pam --without-kerberos5 --disable-strip",
     "make -j${FLATPAK_BUILDER_N_JOBS:-2}",
     "make install-nokeys",
     "test -x /app/bin/ssh",
     "test -x /app/bin/ssh-keygen",
     "test -x /app/bin/scp",
     "test -x /app/bin/sftp",
     "test -x /app/bin/ssh-agent",
     "test -x /app/bin/ssh-add",
     "test -x /app/libexec/ssh-sk-helper",
     "ldd /app/libexec/ssh-sk-helper | grep -q libfido2",
     "/app/bin/ssh -V"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/openssh/openssh-portable.git",
      "tag": "V_10_4_P1",
      "commit": "e8dd756725e8800fcd0b3fd71ee6b4382d1e8fab"
     }
    ]
   },
   {
    "name": "ssh-copy-id",
    "buildsystem": "simple",
    "build-commands": [
     "install -Dm755 ssh-copy-id /app/bin/ssh-copy-id"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://raw.githubusercontent.com/openssh/openssh-portable/V_9_6_P1/contrib/ssh-copy-id",
      "sha256": "b625120eeff8b0e64e4e8c71e5ed3a7878fd69d318a88ce0a22e115725f6b815",
      "dest-filename": "ssh-copy-id"
     }
    ]
   },
   {
    "name": "libvte",
    "buildsystem": "meson",
    "config-opts": [
     "-Dvapi=false",
     "-Dgir=true",
     "-Ddocs=false",
     "-Dgnutls=true",
     "-Dgtk3=false",
     "-Dgtk4=true"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://download.gnome.org/sources/vte/0.84/vte-0.84.1.tar.xz",
      "sha256": "aca1caa8478aebcdbb1d67897fb3511eb7601debae6810e16a15b6fa25f31ac8"
     }
    ]
   },
   "python3-deps.yml",
   {
    "name": "sshpilot",
    "buildsystem": "meson",
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/mfat/sshpilot.git",
      "commit": "66f9c3403ac9922563d1a24b88bdf32a1f6e4058"
     }
    ]
   }
  ]
 }
}