{
 "app_id": "app.drey.PaperPlane",
 "source_url": "https://raw.githubusercontent.com/paper-plane-developers/paper-plane/main/build-aux/app.drey.PaperPlane.Devel.json",
 "runtime": "org.gnome.Platform",
 "runtime_version": "46",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--socket=fallback-x11",
  "--socket=wayland",
  "--share=network",
  "--share=ipc",
  "--device=dri",
  "--env=G_MESSAGES_DEBUG=none",
  "--env=RUST_BACKTRACE=1"
 ],
 "module_count": 7,
 "fetched_at": "2026-09-17T17:43:58.751105+00:00",
 "manifest": {
  "id": "app.drey.PaperPlane.Devel",
  "runtime": "org.gnome.Platform",
  "runtime-version": "46",
  "sdk": "org.gnome.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.rust-stable",
   "org.freedesktop.Sdk.Extension.llvm16"
  ],
  "command": "paper-plane",
  "finish-args": [
   "--socket=fallback-x11",
   "--socket=wayland",
   "--share=network",
   "--share=ipc",
   "--device=dri",
   "--env=G_MESSAGES_DEBUG=none",
   "--env=RUST_BACKTRACE=1"
  ],
  "build-options": {
   "append-path": "/usr/lib/sdk/rust-stable/bin:/usr/lib/sdk/llvm16/bin:/app/bin",
   "env": {
    "CARGO_REGISTRIES_CRATES_IO_PROTOCOL": "sparse",
    "CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER": "clang",
    "CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUSTFLAGS": "-C link-arg=-fuse-ld=/usr/lib/sdk/rust-stable/bin/mold",
    "CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER": "clang",
    "CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_RUSTFLAGS": "-C link-arg=-fuse-ld=/usr/lib/sdk/rust-stable/bin/mold"
   },
   "build-args": [
    "--share=network"
   ]
  },
  "cleanup": [
   "/include",
   "/lib/cmake",
   "/lib/pkgconfig",
   "*.a"
  ],
  "modules": [
   {
    "name": "rlottie",
    "buildsystem": "meson",
    "config-opts": [
     "-Dexample=false",
     "-Dwerror=false"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/paper-plane-developers/rlottie",
      "branch": "main"
     }
    ]
   },
   {
    "name": "blueprint-compiler",
    "buildsystem": "meson",
    "sources": [
     {
      "type": "archive",
      "url": "https://gitlab.gnome.org/jwestman/blueprint-compiler/-/archive/v0.8.1/blueprint-compiler-v0.8.1.tar.gz",
      "sha256": "9207697cfac6e87a3c0ccf463be1a95c3bd06aa017c966a7e352ad5bc486cf3c"
     }
    ]
   },
   {
    "name": "gtk",
    "buildsystem": "meson",
    "config-opts": [
     "-Dvulkan=disabled",
     "-Dintrospection=disabled",
     "-Dbuild-demos=false",
     "-Dbuild-testsuite=false",
     "-Dbuild-examples=false",
     "-Dbuild-tests=false"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://gitlab.gnome.org/GNOME/gtk.git",
      "tag": "4.14.4"
     },
     {
      "type": "patch",
      "path": "gtk-reversed-list.patch"
     }
    ]
   },
   {
    "name": "tdlib-prebuilt",
    "only-arches": [
     "x86_64",
     "aarch64"
    ],
    "buildsystem": "simple",
    "build-commands": [
     "install -d /app/lib/pkgconfig",
     "install -D libtdjson.so.* /app/lib",
     "ln -sf /app/lib/libtdjson.so.* /app/lib/libtdjson.so",
     "install -D pkgconfig/* /app/lib/pkgconfig"
    ],
    "sources": [
     {
      "only-arches": [
       "x86_64"
      ],
      "type": "archive",
      "url": "https://github.com/melix99/tdjson-ci/releases/download/1.8.19/tdjson-x86_64.zip",
      "sha256": "55af3cb2cd5d9616c96d3fa6529c90cd66bebd9943f6b6c9aa41ec792067ccef",
      "strip-components": 0
     },
     {
      "only-arches": [
       "aarch64"
      ],
      "type": "archive",
      "url": "https://github.com/melix99/tdjson-ci/releases/download/1.8.19/tdjson-aarch64.zip",
      "sha256": "e5f5bfbae1c0617fe06ec7f9d74d65569d4a5a1ca4567f067e9d66d2292edb26",
      "strip-components": 0
     }
    ]
   },
   {
    "name": "tdlib",
    "skip-arches": [
     "x86_64",
     "aarch64"
    ],
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/tdlib/td.git",
      "commit": "8517026415e75a8eec567774072cbbbbb52376c1"
     }
    ]
   },
   {
    "name": "libshumate",
    "buildsystem": "meson",
    "config-opts": [
     "-Dgir=false",
     "-Dvapi=false",
     "-Dgtk_doc=false",
     "-Dsysprof=disabled"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://gitlab.gnome.org/GNOME/libshumate/",
      "tag": "1.1.4"
     }
    ]
   },
   {
    "name": "paper-plane",
    "buildsystem": "meson",
    "run-tests": true,
    "config-opts": [
     "-Dprofile=development"
    ],
    "sources": [
     {
      "type": "dir",
      "path": "../"
     }
    ]
   }
  ]
 }
}