{
 "app_id": "io.github.mpobaschnig.Vaults",
 "source_url": "https://raw.githubusercontent.com/flathub/io.github.mpobaschnig.Vaults/master/io.github.mpobaschnig.Vaults.json",
 "runtime": "org.gnome.Platform",
 "runtime_version": "50",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=fallback-x11",
  "--socket=wayland",
  "--device=dri",
  "--filesystem=xdg-run/gvfsd",
  "--filesystem=host",
  "--talk-name=org.freedesktop.Flatpak",
  "--talk-name=org.gtk.vfs.*"
 ],
 "module_count": 9,
 "fetched_at": "2026-09-17T16:11:46.660374+00:00",
 "manifest": {
  "id": "io.github.mpobaschnig.Vaults",
  "runtime": "org.gnome.Platform",
  "runtime-version": "50",
  "sdk": "org.gnome.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.rust-stable",
   "org.freedesktop.Sdk.Extension.llvm21"
  ],
  "command": "vaults",
  "finish-args": [
   "--socket=fallback-x11",
   "--socket=wayland",
   "--share=ipc",
   "--device=dri",
   "--talk-name=org.freedesktop.Flatpak",
   "--filesystem=host",
   "--env=RUST_LOG=vaults=debug",
   "--env=G_MESSAGES_DEBUG=none",
   "--filesystem=xdg-run/gvfsd",
   "--talk-name=org.gtk.vfs.*"
  ],
  "cleanup": [
   "/include",
   "/lib/pkgconfig",
   "/share/man",
   "*.la",
   "*.a"
  ],
  "build-options": {
   "append-path": "/usr/lib/sdk/rust-stable/bin:/usr/lib/sdk/llvm21/bin",
   "prepend-ld-library-path": "/usr/lib/sdk/llvm21/lib",
   "env": {
    "RUSTFLAGS": "-C force-frame-pointers=yes -C symbol-mangling-version=v0 -C linker=clang -C link-arg=-fuse-ld=/usr/lib/sdk/rust-stable/bin/mold"
   }
  },
  "modules": [
   {
    "name": "libfuse",
    "buildsystem": "autotools",
    "cleanup": [
     "/lib/libulockmgr*"
    ],
    "config-opts": [
     "--disable-util"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/libfuse/libfuse/releases/download/fuse-2.9.9/fuse-2.9.9.tar.gz",
      "sha256": "d0e69d5d608cc22ff4843791ad097f554dd32540ddc9bed7638cc6fea7c1b4b5"
     },
     {
      "type": "patch",
      "paths": [
       "build-aux/fuse-disable-sys-mount-under-flatpak.patch",
       "build-aux/fuse-2.9.2-namespace-conflict-fix.patch",
       "build-aux/fuse-closefrom.patch"
      ]
     }
    ]
   },
   {
    "name": "gocryptfs",
    "buildsystem": "simple",
    "build-commands": [
     "mkdir -p /app/bin/",
     "ln -s `pwd`/bin/go /app/bin/go",
     "`pwd`/build-without-openssl.bash",
     "make install",
     "rm -rf /app/bin/go"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/rfjakob/gocryptfs/releases/download/v2.6.1/gocryptfs_v2.6.1_src-deps.tar.gz",
      "sha256": "9a966c1340a1a1d92073091643687b1205c46b57017c5da2bf7e97e3f5729a5a"
     },
     {
      "type": "patch",
      "paths": [
       "build-aux/gocryptfs.patch",
       "build-aux/gocryptfs_version.patch"
      ]
     },
     {
      "type": "archive",
      "only-arches": [
       "x86_64"
      ],
      "url": "https://go.dev/dl/go1.23.2.linux-amd64.tar.gz",
      "sha256": "542d3c1705f1c6a1c5a80d5dc62e2e45171af291e755d591c5e6531ef63b454e"
     },
     {
      "type": "archive",
      "only-arches": [
       "aarch64"
      ],
      "url": "https://go.dev/dl/go1.23.2.linux-arm64.tar.gz",
      "sha256": "f626cdd92fc21a88b31c1251f419c17782933a42903db87a174ce74eeecc66a9"
     }
    ]
   },
   {
    "name": "range-v3",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_C_COMPILER=clang",
     "-DCMAKE_CXX_COMPILER=clang++",
     "-DCMAKE_BUILD_TYPE=Release",
     "-DRANGES_HAS_WERROR=0"
    ],
    "cleanup": [
     "*"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/ericniebler/range-v3",
      "commit": "7e6f34b1e820fb8321346888ef0558a0ec842b8e"
     }
    ]
   },
   {
    "name": "spdlog",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release"
    ],
    "cleanup": [
     "*"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/gabime/spdlog/archive/refs/tags/v1.14.1.tar.gz",
      "sha256": "1586508029a7d0670dfcb2d97575dcdc242d3868a259742b69f100801ab4e16b"
     }
    ]
   },
   {
    "name": "boost",
    "buildsystem": "simple",
    "build-commands": [
     "`pwd`/bootstrap.sh --prefix=/app",
     "`pwd`/b2 install --prefix=/app"
    ],
    "cleanup": [
     "*"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://archives.boost.io/release/1.86.0/source/boost_1_86_0.tar.gz",
      "sha256": "2575e74ffc3ef1cd0babac2c1ee8bdb5782a0ee672b1912da40e5b4b591ca01f"
     }
    ]
   },
   {
    "name": "cryfs",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RELEASE",
     "-DCRYFS_UPDATE_CHECKS=FALSE",
     "-DDISABLE_OPENMP=ON",
     "-DBoost_USE_STATIC_LIBS=ON"
    ],
    "cleanup": [
     "/share/*"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/cryfs/cryfs/archive/refs/tags/1.0.1.tar.gz",
      "sha256": "4e13ade27751b977e60321d06e78cccabb7168d72a1d4cde5597656399d61245"
     },
     {
      "type": "patch",
      "paths": [
       "build-aux/cryfs.patch"
      ]
     }
    ]
   },
   {
    "name": "wrapper",
    "buildsystem": "simple",
    "build-commands": [
     "install fusermount-wrapper.sh /app/bin/fusermount"
    ],
    "sources": [
     {
      "type": "file",
      "path": "build-aux/fusermount-wrapper.sh"
     }
    ]
   },
   {
    "name": "umount",
    "buildsystem": "simple",
    "build-commands": [
     "install umount-wrapper.sh /app/bin/umount"
    ],
    "sources": [
     {
      "type": "file",
      "path": "build-aux/umount-wrapper.sh"
     }
    ]
   },
   {
    "name": "vaults",
    "buildsystem": "meson",
    "config-opts": [
     "-Dprofile=default"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/mpobaschnig/vaults/releases/download/0.13.0/vaults-0.13.0.tar.xz",
      "sha256": "81c169f493d2dadcd73d7b20dfd0d81e7078c0cda924a6135d0f491037b6f5b5"
     }
    ]
   }
  ]
 }
}