{
 "app_id": "app.bluebubbles.BlueBubbles",
 "source_url": "https://raw.githubusercontent.com/flathub/app.bluebubbles.BlueBubbles/master/app.bluebubbles.BlueBubbles.yml",
 "runtime": "org.gnome.Platform",
 "runtime_version": "50",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=fallback-x11",
  "--socket=pulseaudio",
  "--socket=wayland",
  "--device=dri",
  "--talk-name=org.kde.StatusNotifierWatcher",
  "--talk-name=org.freedesktop.Notifications",
  "--talk-name=org.freedesktop.FileManager1",
  "--system-talk-name=org.freedesktop.NetworkManager"
 ],
 "module_count": 9,
 "fetched_at": "2026-09-19T12:26:14.263057+00:00",
 "manifest": {
  "app-id": "app.bluebubbles.BlueBubbles",
  "runtime": "org.gnome.Platform",
  "runtime-version": "50",
  "sdk": "org.gnome.Sdk",
  "command": "bluebubbles",
  "separate-locales": false,
  "finish-args": [
   "--share=ipc",
   "--socket=wayland",
   "--socket=fallback-x11",
   "--device=dri",
   "--socket=pulseaudio",
   "--system-talk-name=org.freedesktop.NetworkManager",
   "--talk-name=org.freedesktop.FileManager1",
   "--talk-name=org.freedesktop.Notifications",
   "--talk-name=org.kde.StatusNotifierWatcher",
   "--env=NOTIFY_IGNORE_PORTAL=1",
   "--env=LD_LIBRARY_PATH=/app/bluebubbles/lib",
   "--share=network"
  ],
  "modules": [
   "shared-modules/libayatana-appindicator/libayatana-appindicator-gtk3.json",
   {
    "name": "xorg-libXmu",
    "sources": [
     {
      "type": "git",
      "url": "https://gitlab.freedesktop.org/xorg/lib/libxmu.git",
      "tag": "libXmu-1.3.1",
      "commit": "cdf280f6611932f79ab872832974e8043b1cad6d",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^libXmu-([\\d.]+)$"
      }
     }
    ]
   },
   {
    "name": "wmctrl",
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/dancor/wmctrl.git",
      "commit": "0181e8e4a7ed98255f6ef930875e56560f19aa95"
     }
    ]
   },
   {
    "name": "libmpv",
    "buildsystem": "meson",
    "config-opts": [
     "-Dlibmpv=true",
     "-Dcplayer=false",
     "-Dalsa=disabled",
     "-Dmanpage-build=disabled",
     "-Db_ndebug=true"
    ],
    "build-options": {
     "libdir": "/app/lib"
    },
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/mpv-player/mpv.git",
      "tag": "v0.41.0",
      "commit": "41f6a645068483470267271e1d09966ca3b9f413",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^v([\\d.]+)$"
      }
     }
    ],
    "modules": [
     {
      "name": "nv-codec-headers",
      "no-autogen": true,
      "make-install-args": [
       "PREFIX=/app"
      ],
      "sources": [
       {
        "type": "git",
        "url": "https://github.com/FFmpeg/nv-codec-headers.git",
        "tag": "n13.1.15.0",
        "commit": "0a6fba9a2820628b8103464f4c8753ee05838baa",
        "x-checker-data": {
         "type": "git",
         "tag-pattern": "^n([\\d.]+)$"
        }
       }
      ],
      "cleanup": [
       "*"
      ]
     },
     {
      "name": "libass",
      "config-opts": [
       "--disable-static"
      ],
      "sources": [
       {
        "type": "git",
        "url": "https://github.com/libass/libass.git",
        "tag": "0.17.5",
        "commit": "4a05d8127f525943ebf45fdc6497c9e665947f0d",
        "x-checker-data": {
         "type": "git",
         "tag-pattern": "^([\\d.]+)$"
        }
       }
      ]
     },
     {
      "name": "libplacebo",
      "buildsystem": "meson",
      "config-opts": [
       "-Dshaderc=enabled",
       "-Dvulkan=enabled",
       "-Dd3d11=disabled",
       "-Ddemos=false"
      ],
      "build-options": {
       "libdir": "/app/lib"
      },
      "sources": [
       {
        "type": "git",
        "url": "https://code.videolan.org/videolan/libplacebo.git",
        "tag": "v7.360.1",
        "commit": "cee9b076f2c63104ccfd497fa79c39a867293ec4",
        "x-checker-data": {
         "type": "git",
         "tag-pattern": "^v([\\d.]+)$"
        }
       }
      ]
     }
    ]
   },
   {
    "name": "arp",
    "buildsystem": "simple",
    "build-commands": [
     "yes \"\" | make arp",
     "install -Dm755 arp /app/bin/arp"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/ecki/net-tools.git",
      "tag": "v2.10",
      "commit": "80d7b95067f1f22fece9537dea6dff53081f4886",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^v([\\d.]+)$"
      }
     }
    ]
   },
   {
    "name": "bluebubbles",
    "buildsystem": "simple",
    "build-commands": [
     "cp -r bluebubbles /app/",
     "mkdir -p /app/bin",
     "ln -s /app/bluebubbles/bluebubbles /app/bin/bluebubbles",
     "chmod +x /app/bluebubbles/bluebubbles",
     "chmod +x /app/bin/bluebubbles",
     "install -Dm644 app.bluebubbles.BlueBubbles.metainfo.xml -t /app/share/metainfo/",
     "install -Dm644 128x128.png /app/share/icons/hicolor/128x128/apps/${FLATPAK_ID}.png",
     "install -Dm644 app.bluebubbles.BlueBubbles.desktop -t /app/share/applications/"
    ],
    "sources": [
     {
      "type": "archive",
      "only-arches": [
       "x86_64"
      ],
      "dest": "bluebubbles",
      "url": "https://github.com/BlueBubblesApp/bluebubbles-app/releases/download/v2.1.1%2B91/bluebubbles-linux-x86_64.tar.gz",
      "sha256": "87354e08083067b920faa400a13175804c81ff52a3f1430d8c7ecf9cf0cde619",
      "x-checker-data": {
       "type": "json",
       "is-main-source": true,
       "url": "https://api.github.com/repos/BlueBubblesApp/bluebubbles-app/releases/latest",
       "version-query": ".tag_name | sub(\"^v\"; \"\")",
       "url-query": ".assets[] | select(.name == \"bluebubbles-linux-x86_64.tar.gz\") | .browser_download_url"
      }
     },
     {
      "type": "archive",
      "only-arches": [
       "aarch64"
      ],
      "dest": "bluebubbles",
      "url": "https://github.com/BlueBubblesApp/bluebubbles-app/releases/download/v2.1.1%2B91/bluebubbles-linux-aarch64.tar.gz",
      "sha256": "4528481bc5cabd9eb95963c5c83360df418b2a30141ac54c1a77b3e29b1fe135",
      "x-checker-data": {
       "type": "json",
       "url": "https://api.github.com/repos/BlueBubblesApp/bluebubbles-app/releases/latest",
       "version-query": ".tag_name | sub(\"^v\"; \"\")",
       "url-query": ".assets[] | select(.name == \"bluebubbles-linux-aarch64.tar.gz\") | .browser_download_url"
      }
     },
     {
      "type": "file",
      "url": "https://raw.githubusercontent.com/BlueBubblesApp/bluebubbles-app/refs/tags/v2.1.1%2B91/flatpak/app.bluebubbles.BlueBubbles.metainfo.xml",
      "sha256": "031cc2ba427bc3053d2b9e74cc408a1429a86285f0e07076a53b09e1ecd06600",
      "x-checker-data": {
       "type": "json",
       "url": "https://api.github.com/repos/BlueBubblesApp/bluebubbles-app/releases/latest",
       "version-query": ".tag_name | sub(\"^v\"; \"\")",
       "url-query": "\"https://raw.githubusercontent.com/BlueBubblesApp/bluebubbles-app/refs/tags/\" + (.tag_name | @uri) + \"/flatpak/app.bluebubbles.BlueBubbles.metainfo.xml\""
      }
     },
     {
      "type": "file",
      "url": "https://raw.githubusercontent.com/BlueBubblesApp/bluebubbles-app/refs/tags/v2.1.1%2B91/flatpak/icon/128x128.png",
      "sha256": "9fc90e23472662301346fa83255c4288c76e723464a2ed2896a46ead19cf320b",
      "x-checker-data": {
       "type": "json",
       "url": "https://api.github.com/repos/BlueBubblesApp/bluebubbles-app/releases/latest",
       "version-query": ".tag_name | sub(\"^v\"; \"\")",
       "url-query": "\"https://raw.githubusercontent.com/BlueBubblesApp/bluebubbles-app/refs/tags/\" + (.tag_name | @uri) + \"/flatpak/icon/128x128.png\""
      }
     },
     {
      "type": "file",
      "url": "https://raw.githubusercontent.com/BlueBubblesApp/bluebubbles-app/refs/tags/v2.1.1%2B91/flatpak/app.bluebubbles.BlueBubbles.desktop",
      "sha256": "575c8f4c1151f5a90e237094f3acef4197810f8d5dac02883931e9de9d6d9363",
      "x-checker-data": {
       "type": "json",
       "url": "https://api.github.com/repos/BlueBubblesApp/bluebubbles-app/releases/latest",
       "version-query": ".tag_name | sub(\"^v\"; \"\")",
       "url-query": "\"https://raw.githubusercontent.com/BlueBubblesApp/bluebubbles-app/refs/tags/\" + (.tag_name | @uri) + \"/flatpak/app.bluebubbles.BlueBubbles.desktop\""
      }
     }
    ],
    "cleanup": [
     "/bluebubbles/data/flutter_assets/packages/media_kit/",
     "/bluebubbles/data/flutter_assets/packages/record_web/",
     "/bluebubbles/data/flutter_assets/packages/wakelock_plus/"
    ]
   }
  ],
  "cleanup": [
   "/include",
   "/lib/pkgconfig",
   "/share/man",
   "/man"
  ]
 }
}