{
 "app_id": "net.mccompanion.MCCompanion",
 "source_url": "https://raw.githubusercontent.com/outcrop-labs/omapak/main/apps/net.mccompanion.MCCompanion/net.mccompanion.MCCompanion.yml",
 "runtime": "org.gnome.Platform",
 "runtime_version": "50",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--socket=wayland",
  "--socket=fallback-x11",
  "--share=ipc",
  "--device=dri",
  "--share=network",
  "--system-talk-name=org.freedesktop.NetworkManager",
  "--filesystem=xdg-documents"
 ],
 "module_count": 2,
 "fetched_at": "2026-09-17T17:34:27.196632+00:00",
 "manifest": {
  "app-id": "net.mccompanion.MCCompanion",
  "runtime": "org.gnome.Platform",
  "runtime-version": "50",
  "sdk": "org.gnome.Sdk",
  "command": "MCCompanion",
  "finish-args": [
   "--socket=wayland",
   "--socket=fallback-x11",
   "--share=ipc",
   "--device=dri",
   "--share=network",
   "--system-talk-name=org.freedesktop.NetworkManager",
   "--filesystem=xdg-documents"
  ],
  "modules": [
   {
    "name": "zenity",
    "buildsystem": "meson",
    "sources": [
     {
      "type": "archive",
      "url": "https://download.gnome.org/sources/zenity/4.0/zenity-4.0.1.tar.xz",
      "sha256": "0c2f537813b10f728470d9d05d6c95713db2512f9c95096e1e85b1a6739605e6"
     }
    ]
   },
   {
    "name": "MCCompanion",
    "buildsystem": "simple",
    "build-commands": [
     "install -Dm755 MCCompanion /app/bin/MCCompanion",
     "cp -r lib /app/bin/lib",
     "cp -r data /app/bin/data",
     "install -Dm644 net.mccompanion.MCCompanion.desktop /app/share/applications/net.mccompanion.MCCompanion.desktop",
     "install -Dm644 net.mccompanion.MCCompanion.png /app/share/icons/hicolor/256x256/apps/net.mccompanion.MCCompanion.png",
     "install -Dm644 net.mccompanion.MCCompanion.metainfo.xml /app/share/metainfo/net.mccompanion.MCCompanion.metainfo.xml"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/MCCORG/MCCompanion/releases/download/v4.1.9/MCCompanion-linux-x64.tar.gz",
      "sha256": "1155cb72484b6a4e42653ae2cd31a5a164edcea750a393467878a6c728a179fe",
      "x-checker-data": {
       "type": "json",
       "url": "https://api.github.com/repos/MCCORG/MCCompanion/releases/latest",
       "version-query": ".tag_name | sub(\"^v\"; \"\")",
       "url-query": ".assets[] | select(.name == \"MCCompanion-linux-x64.tar.gz\") | .browser_download_url",
       "is-main-source": true
      }
     },
     {
      "type": "file",
      "url": "https://raw.githubusercontent.com/MCCORG/MCCompanion/main/flatpak/net.mccompanion.MCCompanion.metainfo.xml",
      "sha256": "1a2aa3520e1e057a40f582d9cf7604969570332ab3783b2ef418491516e5c272",
      "dest-filename": "net.mccompanion.MCCompanion.metainfo.xml",
      "x-checker-data": {
       "type": "json",
       "url": "https://api.github.com/repos/MCCORG/MCCompanion/releases/latest",
       "version-query": ".tag_name | sub(\"^v\"; \"\")",
       "url-query": "\"https://raw.githubusercontent.com/MCCORG/MCCompanion/\" + .tag_name + \"/flatpak/net.mccompanion.MCCompanion.metainfo.xml\""
      }
     },
     {
      "type": "file",
      "url": "https://raw.githubusercontent.com/MCCORG/MCCompanion/main/flatpak/net.mccompanion.MCCompanion.desktop",
      "sha256": "73d5677e6a6171ae6bb1b878991ee51a76dda606bdb942f9a2d953ff3703a1c3",
      "dest-filename": "net.mccompanion.MCCompanion.desktop",
      "x-checker-data": {
       "type": "json",
       "url": "https://api.github.com/repos/MCCORG/MCCompanion/releases/latest",
       "version-query": ".tag_name | sub(\"^v\"; \"\")",
       "url-query": "\"https://raw.githubusercontent.com/MCCORG/MCCompanion/\" + .tag_name + \"/flatpak/net.mccompanion.MCCompanion.desktop\""
      }
     },
     {
      "type": "file",
      "url": "https://raw.githubusercontent.com/MCCORG/MCCompanion/main/flatpak/net.mccompanion.MCCompanion.png",
      "sha256": "0b221eeab164210039031558fe854937d0fb7658699039f967de44358d5ee5f1",
      "dest-filename": "net.mccompanion.MCCompanion.png",
      "x-checker-data": {
       "type": "json",
       "url": "https://api.github.com/repos/MCCORG/MCCompanion/releases/latest",
       "version-query": ".tag_name | sub(\"^v\"; \"\")",
       "url-query": "\"https://raw.githubusercontent.com/MCCORG/MCCompanion/\" + .tag_name + \"/flatpak/net.mccompanion.MCCompanion.png\""
      }
     }
    ]
   }
  ]
 }
}