{
 "app_id": "io.github.nozwock.Packet",
 "source_url": "https://raw.githubusercontent.com/flathub/io.github.nozwock.Packet/master/io.github.nozwock.Packet.yml",
 "runtime": "org.gnome.Platform",
 "runtime_version": "50",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=network",
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--socket=fallback-x11",
  "--device=dri",
  "--filesystem=~/.local/share/nautilus-python/extensions",
  "--filesystem=xdg-download",
  "--allow=bluetooth",
  "--talk-name=org.kde.StatusNotifierWatcher",
  "--system-talk-name=org.bluez"
 ],
 "module_count": 2,
 "fetched_at": "2026-09-17T16:11:51.849418+00:00",
 "manifest": {
  "id": "io.github.nozwock.Packet",
  "runtime": "org.gnome.Platform",
  "runtime-version": "50",
  "sdk": "org.gnome.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.rust-stable",
   "org.freedesktop.Sdk.Extension.llvm20"
  ],
  "command": "packet",
  "finish-args": [
   "--talk-name=org.kde.StatusNotifierWatcher",
   "--filesystem=home/.local/share/nautilus-python/extensions",
   "--allow=bluetooth",
   "--share=network",
   "--filesystem=xdg-download",
   "--system-talk-name=org.bluez",
   "--share=ipc",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--device=dri",
   "--env=RUST_LOG=packet=debug",
   "--env=G_MESSAGES_DEBUG=none",
   "--env=RUST_BACKTRACE=1"
  ],
  "build-options": {
   "append-path": "/usr/lib/sdk/rust-stable/bin:/usr/lib/sdk/llvm20/bin",
   "env": {
    "CARGO_NET_OFFLINE": "true",
    "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"
   }
  },
  "modules": [
   {
    "name": "protobuf-compiler",
    "buildsystem": "simple",
    "build-commands": [
     "install -D -m 755 protoc /app/bin/protoc",
     "mkdir -p /app/include/",
     "cp -r google /app/include/"
    ],
    "cleanup": [
     "*"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/protocolbuffers/protobuf/releases/download/v30.1/protoc-30.1-linux-x86_64.zip",
      "sha256": "5537e15ab0c0e610f809573948d3ec7d6ef387a07991e1c361a2a0e8cad983e5",
      "only-arches": [
       "x86_64"
      ]
     },
     {
      "type": "archive",
      "url": "https://github.com/protocolbuffers/protobuf/releases/download/v30.2/protoc-30.2-linux-aarch_64.zip",
      "sha256": "a3173ea338ef91b1605b88c4f8120d6c8ccf36f744d9081991d595d0d4352996",
      "only-arches": [
       "aarch64"
      ]
     }
    ]
   },
   {
    "name": "packet",
    "buildsystem": "meson",
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/nozwock/packet.git",
      "commit": "844aeba500acab0beb9130f4651f7f314a01f7bb"
     },
     "cargo-sources.json",
     {
      "type": "shell",
      "commands": [
       "mkdir -p .cargo",
       "cp cargo/config .cargo/config.toml"
      ]
     }
    ]
   }
  ]
 }
}