{
 "app_id": "com.greenantix.GmailCleaner",
 "source_url": "https://raw.githubusercontent.com/perschek/GMAILspambot/main/flatpak/com.greenantix.GmailCleaner.json",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "23.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=network",
  "--socket=x11",
  "--socket=wayland",
  "--filesystem=home/.config/gmail-cleaner:create",
  "--filesystem=home/.local/share/gmail-cleaner:create",
  "--device=dri",
  "--talk-name=org.freedesktop.secrets"
 ],
 "module_count": 3,
 "fetched_at": "2026-10-05T15:58:12.641264+00:00",
 "manifest": {
  "id": "com.greenantix.GmailCleaner",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "23.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "gmail-cleaner",
  "finish-args": [
   "--share=network",
   "--socket=x11",
   "--socket=wayland",
   "--filesystem=home/.config/gmail-cleaner:create",
   "--filesystem=home/.local/share/gmail-cleaner:create",
   "--device=dri",
   "--talk-name=org.freedesktop.secrets"
  ],
  "modules": [
   {
    "name": "python3-pyside6",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} --no-build-isolation PySide6"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/6f/ac/c8a058f6dc7fd7e8eda6d3e5a44f77ad32014cc44e2d2add3a4a3de01e9dc/PySide6-6.9.1-cp39-abi3-manylinux_2_28_x86_64.whl",
      "sha256": "7e6aa1c6a70fca271d1ad2bb5bbbfd02b2aaed69c01b0b0e0d7c9c19c03a3f21"
     },
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/6b/ed/ab3a0001b8f6dcba5dc5d5e97096fb5aa6c7df3dc4fc7c05ee93ead30b7d/shiboken6-6.9.1-cp39-abi3-manylinux_2_28_x86_64.whl",
      "sha256": "3e8e36dc41d8b89e5b71b5e91a0a9e0a8c2c3f6a7d0a8c2c3f6a7d0a8c2c3f6a"
     }
    ]
   },
   {
    "name": "python3-dependencies",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} --no-build-isolation google-api-python-client google-auth google-auth-oauthlib google-auth-httplib2 flask requests python-dotenv pandas croniter colorama"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/f4/57/3e8ac5abc3f74a9c9338e4cd7bb4a63e90a1f45a6b2d17d6e3bbf6b4b6c1/google_api_python_client-2.171.0-py2.py3-none-any.whl",
      "sha256": "c2b7e5c9b1f1e7c1d7a5c7e6a5b6c1d2e3f4a5b6c7d8e9f0a1b2c3d4e5f6a7b8"
     },
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/e5/72/c314c7ff3f4ce2a5b4b4ca3a3a0a6f7b2d3c4e5f6a7b8c9d0e1f2a3b4c5d6/google_auth-2.40.3-py2.py3-none-any.whl",
      "sha256": "d5e2c5d9a1c4b5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0"
     }
    ]
   },
   {
    "name": "gmail-cleaner",
    "buildsystem": "simple",
    "build-commands": [
     "install -Dm755 gmail-cleaner.sh /app/bin/gmail-cleaner",
     "install -Dm644 com.greenantix.GmailCleaner.desktop /app/share/applications/com.greenantix.GmailCleaner.desktop",
     "install -Dm644 com.greenantix.GmailCleaner.svg /app/share/icons/hicolor/scalable/apps/com.greenantix.GmailCleaner.svg",
     "install -Dm644 com.greenantix.GmailCleaner.metainfo.xml /app/share/metainfo/com.greenantix.GmailCleaner.metainfo.xml",
     "cp -r src /app/",
     "cp -r qml /app/",
     "cp -r config /app/",
     "cp -r rules /app/",
     "cp requirements.txt /app/"
    ],
    "sources": [
     {
      "type": "dir",
      "path": ".."
     }
    ]
   }
  ]
 }
}