{
 "app_id": "org.bleachbit.BleachBit",
 "source_url": "https://raw.githubusercontent.com/flathub/org.bleachbit.BleachBit/master/org.bleachbit.BleachBit.yml",
 "runtime": "org.gnome.Platform",
 "runtime_version": "50",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=fallback-x11",
  "--socket=wayland",
  "--device=dri",
  "--filesystem=home",
  "--filesystem=~/.var/app",
  "--filesystem=/tmp",
  "--filesystem=/var/tmp",
  "--filesystem=/var/log",
  "--filesystem=xdg-run/gvfsd",
  "--filesystem=xdg-run/gvfs",
  "--talk-name=org.gtk.vfs.*",
  "--own-name=org.gnome.Bleachbit"
 ],
 "module_count": 2,
 "fetched_at": "2026-09-17T16:14:17.024724+00:00",
 "manifest": {
  "id": "org.bleachbit.BleachBit",
  "runtime": "org.gnome.Platform",
  "runtime-version": "50",
  "sdk": "org.gnome.Sdk",
  "command": "bleachbit",
  "finish-args": [
   "--device=dri",
   "--share=ipc",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--filesystem=home",
   "--filesystem=~/.var/app",
   "--filesystem=/tmp",
   "--filesystem=/var/tmp",
   "--filesystem=/var/log",
   "--share=network",
   "--own-name=org.gnome.Bleachbit",
   "--filesystem=xdg-run/gvfs",
   "--filesystem=xdg-run/gvfsd",
   "--talk-name=org.gtk.vfs.*"
  ],
  "rename-icon": "bleachbit",
  "modules": [
   "pypi-dependencies.json",
   {
    "name": "bleach",
    "builddir": true,
    "no-autogen": true,
    "cleanup": [
     "/share/pixmaps"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/bleachbit/bleachbit.git",
      "tag": "v6.0.4",
      "commit": "bd318064767de406f26b02cd252e5f4c69787ce7",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 200,
       "stable-only": true,
       "tag-template": "v$version"
      }
     },
     {
      "type": "shell",
      "commands": [
       "sed -i -e 's|/usr/local|/app|g' -e 's|/usr/share|/app/share|g' Makefile setup.py bleachbit/__init__.py po/Makefile bleachbit.py",
       "make delete_windows_files",
       "install -Dm0644 bleachbit.png \"${FLATPAK_DEST}/share/icons/hicolor/256x256/apps/bleachbit.png\"",
       "sed 's/online_update_notification_enabled = True/online_update_notification_enabled = False/g'  --in-place ./bleachbit/__init__.py",
       "sed -i -e \"/<\\/component>/i <releases><release version=\\\"$(git describe --tags)\\\" date=\\\"$(git log -1 --format=%ci | awk '{print $1}')\\\"/></releases>\" org.bleachbit.BleachBit.metainfo.xml",
       "sed -i '/<translation domain=\"bleachbit\"\\/>/d' org.bleachbit.BleachBit.metainfo.xml"
      ]
     }
    ]
   }
  ]
 }
}