{
 "app_id": "com.ranfdev.DistroShelf",
 "source_url": "https://raw.githubusercontent.com/flathub/com.ranfdev.DistroShelf/master/com.ranfdev.DistroShelf.json",
 "runtime": "org.gnome.Platform",
 "runtime_version": "50",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=fallback-x11",
  "--socket=wayland",
  "--device=dri",
  "--talk-name=org.freedesktop.Flatpak"
 ],
 "module_count": 2,
 "fetched_at": "2026-09-17T16:08:38.734256+00:00",
 "manifest": {
  "id": "com.ranfdev.DistroShelf",
  "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": "distroshelf",
  "finish-args": [
   "--share=network",
   "--share=ipc",
   "--socket=fallback-x11",
   "--device=dri",
   "--socket=wayland",
   "--talk-name=org.freedesktop.Flatpak"
  ],
  "cleanup": [
   "/include",
   "/lib/pkgconfig",
   "/man",
   "/share/doc",
   "/share/gtk-doc",
   "/share/man",
   "/share/pkgconfig",
   "*.la",
   "*.a"
  ],
  "modules": [
   {
    "name": "vte",
    "buildsystem": "meson",
    "cleanup": [
     "/bin",
     "/lib/systemd",
     "/lib/girepository-*",
     "/share/gir-*",
     "/share/vala",
     "/libexec",
     "/etc"
    ],
    "config-opts": [
     "-Ddocs=false",
     "-Dgtk3=false",
     "-Dgtk4=true",
     "--libdir=lib"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://download.gnome.org/sources/vte/0.82/vte-0.82.3.tar.xz",
      "sha256": "6dc6278f6fee30d07d1a03e2ba3335b1ea4e8d2956ceb59d861943115d930a85"
     }
    ]
   },
   {
    "name": "distroshelf",
    "builddir": true,
    "buildsystem": "meson",
    "build-options": {
     "prepend-path": "/app/bin:/usr/bin",
     "append-path": "/usr/lib/sdk/rust-stable/bin:/usr/lib/sdk/llvm21/bin",
     "config-opts": [
      "-Dbuildtype=release"
     ],
     "env": {
      "RUST_BACKTRACE": "1",
      "RUST_LOG": "distroshelf=debug",
      "CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER": "clang",
      "CARGO_TARGET_AARCH64_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_RUSTFLAGS": "-C link-arg=-fuse-ld=/usr/lib/sdk/rust-stable/bin/mold"
     }
    },
    "config-opts": [
     "-Doffline=true"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/ranfdev/DistroShelf/releases/download/v1.5.2/distroshelf-1.5.2.tar.xz",
      "sha256": "14483d069335cfdbefb0df541a45e478daf4c9cd3935ae372e217b4c88d3a79d",
      "x-checker-data": {
       "type": "json",
       "url": "https://api.github.com/repos/ranfdev/DistroShelf/releases/latest",
       "version-query": ".tag_name | sub(\"^v\"; \"\")",
       "url-query": ".assets[] | select(.name==\"distroshelf-\" + $version + \".tar.xz\") | .browser_download_url"
      }
     }
    ]
   }
  ]
 }
}