{
 "app_id": "app.openbubbles.OpenBubbles",
 "source_url": "https://raw.githubusercontent.com/flathub/app.openbubbles.OpenBubbles/master/app.openbubbles.OpenBubbles.yml",
 "runtime": "org.gnome.Platform",
 "runtime_version": "48",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=network",
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--socket=pulseaudio",
  "--socket=fallback-x11",
  "--device=dri",
  "--filesystem=xdg-download",
  "--talk-name=org.kde.StatusNotifierWatcher",
  "--talk-name=org.freedesktop.Notifications"
 ],
 "module_count": 15,
 "fetched_at": "2026-09-21T12:50:40.679093+00:00",
 "manifest": {
  "app-id": "app.openbubbles.OpenBubbles",
  "runtime": "org.gnome.Platform",
  "runtime-version": "48",
  "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",
   "--system-talk-name=org.freedesktop.NetworkManager.Connection.Active",
   "--system-talk-name=org.freedesktop.FileManager1",
   "--talk-name=org.freedesktop.Notifications",
   "--talk-name=org.kde.StatusNotifierWatcher",
   "--env=NOTIFY_IGNORE_PORTAL=1",
   "--share=network",
   "--filesystem=xdg-download"
  ],
  "modules": [
   "shared-modules/libappindicator/libappindicator-gtk3-12.10.json",
   "shared-modules/dbus-glib/dbus-glib.json",
   {
    "name": "zenity",
    "buildsystem": "meson",
    "sources": [
     {
      "type": "git",
      "url": "https://gitlab.gnome.org/GNOME/zenity.git",
      "tag": "4.0.2",
      "commit": "f540eaddb8ddfec95f37ab0298579c458ab3d19b"
     }
    ],
    "cleanup": [
     "/share",
     "/bin/gdialog"
    ]
   },
   {
    "name": "xorg-libXmu",
    "sources": [
     {
      "type": "git",
      "url": "https://gitlab.freedesktop.org/xorg/lib/libxmu.git",
      "tag": "libXmu-1.2.1",
      "commit": "792f80402ee06ce69bca3a8f2a84295999c3a170"
     }
    ]
   },
   {
    "name": "wmctrl",
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/dancor/wmctrl.git",
      "commit": "0181e8e4a7ed98255f6ef930875e56560f19aa95"
     }
    ]
   },
   {
    "name": "objectbox",
    "buildsystem": "simple",
    "build-commands": [
     "cp -r libobjectbox.so /app/lib/"
    ],
    "sources": [
     {
      "type": "archive",
      "only-arches": [
       "x86_64"
      ],
      "url": "https://github.com/objectbox/objectbox-c/releases/download/v4.0.3/objectbox-linux-x64.tar.gz",
      "sha256": "00175bc00ad2e806a13d3a96a3b15ea51b43283328aa73cefe5bb8e8d435e035"
     },
     {
      "type": "archive",
      "only-arches": [
       "aarch64"
      ],
      "url": "https://github.com/objectbox/objectbox-c/releases/download/v4.0.3/objectbox-linux-aarch64.tar.gz",
      "sha256": "ff840ad48307ef85f919ba9da506dff4a113af37747e7f37ca4fbb9957e62367"
     }
    ]
   },
   {
    "name": "libidn",
    "config-opts": [
     "--disable-static"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://ftp.gnu.org/gnu/libidn/libidn-1.43.tar.gz",
      "sha256": "bdc662c12d041b2539d0e638f3a6e741130cdb33a644ef3496963a443482d164"
     }
    ],
    "cleanup": [
     "/bin/*",
     "/share/*"
    ]
   },
   {
    "name": "libmpv",
    "buildsystem": "simple",
    "build-commands": [
     "python3 waf configure --prefix=/app --enable-libmpv-shared --disable-cplayer --disable-alsa --disable-manpage-build --disable-debug-build",
     "python3 waf build",
     "python3 waf install"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/mpv-player/mpv.git",
      "tag": "v0.34.1",
      "commit": "349e437466163cb52f7d0aa227d4606edd9db501"
     },
     {
      "type": "file",
      "url": "https://waf.io/waf-2.0.26",
      "sha256": "dcec3e179f9c33a66544f1b3d7d91f20f6373530510fa6a858cddb6bfdcde14b",
      "dest-filename": "waf"
     }
    ],
    "cleanup": [
     "/include",
     "/lib/pkgconfig",
     "/share/man"
    ],
    "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": "n12.2.72.0",
        "commit": "c69278340ab1d5559c7d7bf0edf615dc33ddbba7"
       }
      ],
      "cleanup": [
       "*"
      ]
     },
     {
      "name": "libass",
      "config-opts": [
       "--disable-static"
      ],
      "sources": [
       {
        "type": "archive",
        "url": "https://github.com/libass/libass/releases/download/0.17.3/libass-0.17.3.tar.xz",
        "sha256": "eae425da50f0015c21f7b3a9c7262a910f0218af469e22e2931462fed3c50959"
       }
      ]
     },
     {
      "name": "ffmpeg-old",
      "sources": [
       {
        "type": "archive",
        "url": "https://ffmpeg.org/releases/ffmpeg-4.3.8.tar.xz",
        "sha256": "103fd01f78c596c4c974ddf180dabaf149a86d234988895a0e566a5ff4afa444"
       }
      ]
     }
    ]
   },
   {
    "name": "fmedia",
    "buildsystem": "simple",
    "only_arches": [
     "x86_64"
    ],
    "build-commands": [
     "mkdir -p /app/bin",
     "cp -r fmedia-1 /app/bin",
     "ln -s /app/bin/fmedia-1/fmedia /app/bin/fmedia"
    ],
    "sources": [
     {
      "type": "archive",
      "dest": "fmedia-1",
      "url": "https://master.dl.sourceforge.net/project/fmedia/v1.23.1/fmedia-1.23.1-linux-amd64.tar.xz",
      "sha256": "14b181aef14addcfc08e23a9b47c9eba8d2d5359f90a6155a5254f501036a846"
     }
    ]
   },
   {
    "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"
     }
    ]
   },
   {
    "name": "bluebubbles",
    "buildsystem": "simple",
    "build-commands": [
     "cp -r bluebubbles /app/",
     "mkdir -p /app/bin",
     "ln -s /app/bluebubbles/bluebubbles /app/bin/bluebubbles",
     "install -Dm644 app.openbubbles.OpenBubbles.metainfo.xml -t /app/share/metainfo/",
     "install -Dm644 128x128.png /app/share/icons/hicolor/128x128/apps/${FLATPAK_ID}.png",
     "install -Dm644 app.openbubbles.OpenBubbles.desktop -t /app/share/applications/"
    ],
    "sources": [
     {
      "type": "archive",
      "only_arches": [
       "x86_64"
      ],
      "dest": "bluebubbles",
      "url": "https://github.com/OpenBubbles/openbubbles-app/releases/download//v1.15.0%2B205/bluebubbles-linux-x86_64.tar",
      "sha256": "5584a4e79dbd22fcf19b51fb6ff6426d7f132555677e1ae9d3421f04657b563a"
     },
     {
      "type": "file",
      "url": "https://raw.githubusercontent.com/OpenBubbles/openbubbles-app/540e3999d170dd321a4f6a501228a1ef80db8a77/flatpak/app.openbubbles.OpenBubbles.metainfo.xml",
      "sha256": "0ca22c8eb3462b973f2eb2f0f57ee4208335f0b538b0d3dea435bb07eb12e749"
     },
     {
      "type": "file",
      "url": "https://raw.githubusercontent.com/OpenBubbles/openbubbles-app/81a8adc74937f616abff832ac5f79c7101a5cec0/flatpak/128x128.png",
      "sha256": "685abb3489a2a4bf4f4f75607fa916b5e6850599b12f76cf696888aa9f4b3cc6"
     },
     {
      "type": "file",
      "url": "https://raw.githubusercontent.com/OpenBubbles/openbubbles-app/540e3999d170dd321a4f6a501228a1ef80db8a77/flatpak/app.openbubbles.OpenBubbles.desktop",
      "sha256": "98fb82dd69262e99a26ea1a3434e93e9390e8ca2eb81d4c2de39c67404f9b3bd"
     }
    ],
    "cleanup": [
     "/bluebubbles/data/flutter_assets/packages/media_kit/",
     "/bluebubbles/data/flutter_assets/packages/record_web/",
     "/bluebubbles/data/flutter_assets/packages/wakelock_plus/"
    ]
   },
   {
    "name": "pdfium",
    "buildsystem": "simple",
    "build-commands": [
     "mv libpdfium/libpdfium.so /app/bluebubbles/lib"
    ],
    "sources": [
     {
      "type": "archive",
      "only_arches": [
       "x86_64"
      ],
      "url": "https://github.com/bblanchon/pdfium-binaries/releases/download/chromium%2F7087/pdfium-linux-x64.tgz",
      "sha256": "b38605588c4d3cfb27a59fc1c020e502df8b1409e3b8a52806a44934f7a4e793",
      "dest": "libpdfium"
     },
     {
      "type": "archive",
      "only_arches": [
       "aarch64"
      ],
      "url": "https://github.com/bblanchon/pdfium-binaries/releases/download/chromium%2F7087/pdfium-linux-arm64.tgz",
      "sha256": "2000615c248a9ac704329a5c6676a45e14fe8e66c67f51e9f3f39bb549861703",
      "dest": "libpdfium"
     }
    ]
   }
  ],
  "cleanup": [
   "/include",
   "/lib/pkgconfig",
   "/share/man",
   "/man"
  ]
 }
}