{
 "app_id": "com.company.wes",
 "source_url": "https://raw.githubusercontent.com/maxamillion/wes/main/flatpak/com.company.wes.yml",
 "runtime": "org.kde.Platform",
 "runtime_version": "6.6",
 "sdk": "org.kde.Sdk",
 "finish_args": [
  "--socket=x11",
  "--share=ipc",
  "--socket=wayland",
  "--share=network",
  "--filesystem=home",
  "--filesystem=xdg-config:create",
  "--filesystem=xdg-documents:create",
  "--device=dri",
  "--socket=pulseaudio",
  "--socket=session-bus",
  "--filesystem=/usr/share/fonts:ro",
  "--filesystem=/usr/local/share/fonts:ro",
  "--filesystem=~/.fonts:ro",
  "--filesystem=~/.local/share/fonts:ro",
  "--env=QT_QPA_PLATFORM=xcb",
  "--env=PYTHONDONTWRITEBYTECODE=1"
 ],
 "module_count": 4,
 "fetched_at": "2026-09-20T12:56:33.561723+00:00",
 "manifest": {
  "app-id": "com.company.wes",
  "runtime": "org.kde.Platform",
  "runtime-version": "6.6",
  "sdk": "org.kde.Sdk",
  "command": "wes",
  "finish-args": [
   "--socket=x11",
   "--share=ipc",
   "--socket=wayland",
   "--share=network",
   "--filesystem=home",
   "--filesystem=xdg-config:create",
   "--filesystem=xdg-documents:create",
   "--device=dri",
   "--socket=pulseaudio",
   "--socket=session-bus",
   "--filesystem=/usr/share/fonts:ro",
   "--filesystem=/usr/local/share/fonts:ro",
   "--filesystem=~/.fonts:ro",
   "--filesystem=~/.local/share/fonts:ro",
   "--env=QT_QPA_PLATFORM=xcb",
   "--env=PYTHONDONTWRITEBYTECODE=1"
  ],
  "modules": [
   {
    "name": "python3",
    "buildsystem": "simple",
    "build-commands": [
     "/usr/bin/python3 -m venv /app/venv",
     "/app/venv/bin/pip install --upgrade pip setuptools wheel"
    ]
   },
   {
    "name": "pyside6-deps",
    "buildsystem": "simple",
    "build-commands": [
     "/app/venv/bin/pip install --no-deps --no-cache-dir PySide6-Essentials==6.6.0 PySide6-Addons==6.6.0 shiboken6==6.6.0"
    ]
   },
   {
    "name": "python-deps",
    "buildsystem": "simple",
    "build-commands": [
     "/app/venv/bin/pip install --no-deps --no-cache-dir requests>=2.31.0 httpx>=0.25.0 cryptography>=41.0.0 keyring>=24.0.0 pydantic>=2.5.0 toml>=0.10.2 python-dotenv>=1.0.0 jira>=3.5.0 atlassian-python-api>=3.41.0 google-generativeai>=0.3.0 python-dateutil>=2.8.0 structlog>=23.2.0 validators>=0.22.0 asyncio>=3.4.3 aiohttp>=3.9.0 reportlab>=4.0.0 ldap3>=2.9.0"
    ]
   },
   {
    "name": "wes",
    "buildsystem": "simple",
    "build-commands": [
     "cp -r src/wes /app/",
     "cat > /app/bin/wes << 'EOF'\n#!/bin/bash\nexport PYTHONPATH=/app:$PYTHONPATH\nexport QT_QPA_PLATFORM_PLUGIN_PATH=/app/venv/lib/python3.11/site-packages/PySide6/Qt/plugins/platforms\nexec /app/venv/bin/python -m wes.main \"$@\"\nEOF\n",
     "chmod +x /app/bin/wes",
     "cat > /app/share/applications/com.company.wes.desktop << 'EOF'\n[Desktop Entry]\nType=Application\nName=WES\nComment=Executive Summary Tool - Automated summary generation\nIcon=com.company.wes\nExec=wes\nTerminal=false\nCategories=Office;Utility;\nKeywords=summary;jira;executive;report;\nStartupNotify=true\nEOF\n",
     "mkdir -p /app/share/metainfo",
     "cat > /app/share/metainfo/com.company.wes.metainfo.xml << 'EOF'\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<component type=\"desktop-application\">\n  <id>com.company.wes</id>\n  <name>WES</name>\n  <summary>Executive Summary Tool</summary>\n  <description>\n    <p>\n      WES (Wes) is a cross-platform desktop application that automates \n      executive summary creation by integrating Jira activity data with \n      Google's Gemini AI and exporting summaries in multiple formats.\n    </p>\n    <p>Features:</p>\n    <ul>\n      <li>Automated summary generation from Jira data</li>\n      <li>AI-powered content creation using Google Gemini</li>\n      <li>Multiple export formats (Markdown, HTML, PDF, Text)</li>\n      <li>Secure credential storage with encryption</li>\n      <li>Cross-platform support</li>\n    </ul>\n  </description>\n  <launchable type=\"desktop-id\">com.company.wes.desktop</launchable>\n  <categories>\n    <category>Office</category>\n    <category>Utility</category>\n  </categories>\n  <provides>\n    <binary>wes</binary>\n  </provides>\n  <content_rating type=\"oars-1.1\" />\n  <releases>\n    <release version=\"1.0.0\" date=\"2024-01-01\">\n      <description>\n        <p>Initial release with core functionality</p>\n      </description>\n    </release>\n  </releases>\n  <url type=\"homepage\">https://github.com/company/wes</url>\n  <url type=\"bugtracker\">https://github.com/company/wes/issues</url>\n  <developer_name>Engineering Team</developer_name>\n  <project_license>MIT</project_license>\n  <screenshots>\n    <screenshot type=\"default\">\n      <caption>Main application window</caption>\n      <image>https://raw.githubusercontent.com/company/wes/main/docs/screenshots/main.png</image>\n    </screenshot>\n  </screenshots>\n</component>\nEOF\n",
     "mkdir -p /app/share/icons/hicolor/scalable/apps",
     "cat > /app/share/icons/hicolor/scalable/apps/com.company.wes.svg << 'EOF'\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<svg width=\"128\" height=\"128\" viewBox=\"0 0 128 128\" xmlns=\"http://www.w3.org/2000/svg\">\n  <rect width=\"128\" height=\"128\" rx=\"16\" fill=\"#2563eb\"/>\n  <text x=\"64\" y=\"80\" font-family=\"Arial, sans-serif\" font-size=\"48\" font-weight=\"bold\" text-anchor=\"middle\" fill=\"white\">WES</text>\n</svg>\nEOF\n"
    ],
    "sources": [
     {
      "type": "dir",
      "path": "../"
     }
    ]
   }
  ],
  "cleanup": [
   "/include",
   "/lib/debug",
   "/lib/pkgconfig",
   "/share/man",
   "*.la",
   "*.a"
  ]
 }
}