{
 "app_id": "app.polychromatic.controller",
 "source_url": "https://raw.githubusercontent.com/flathub/app.polychromatic.controller/master/app.polychromatic.controller.json",
 "runtime": "org.kde.Platform",
 "runtime_version": "6.11",
 "sdk": "org.kde.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=fallback-x11",
  "--socket=wayland",
  "--device=dri",
  "--filesystem=xdg-config/kdeglobals:ro",
  "--talk-name=com.canonical.AppMenu.Registrar",
  "--talk-name=org.kde.kconfig.notify",
  "--talk-name=org.kde.KGlobalSettings",
  "--talk-name=org.razer"
 ],
 "module_count": 8,
 "fetched_at": "2026-09-17T16:06:27.535510+00:00",
 "manifest": {
  "app-id": "app.polychromatic.controller",
  "runtime": "org.kde.Platform",
  "runtime-version": "6.11",
  "sdk": "org.kde.Sdk",
  "command": "polychromatic-controller",
  "base": "com.riverbankcomputing.PyQt.BaseApp",
  "base-version": "6.11",
  "rename-icon": "polychromatic",
  "rename-desktop-file": "polychromatic.desktop",
  "cleanup-commands": [
   "/app/cleanup-BaseApp.sh"
  ],
  "finish-args": [
   "--env=QTWEBENGINEPROCESS_PATH=/app/bin/QtWebEngineProcess",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--share=ipc",
   "--share=network",
   "--talk-name=org.razer",
   "--device=dri"
  ],
  "modules": [
   "python3-modules.json",
   {
    "name": "openrazer-pylib",
    "no-autogen": true,
    "make-args": [
     "PREFIX=/app",
     "daemon_install",
     "python_library_install"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/openrazer/openrazer/releases/download/v3.12.4/openrazer-3.12.4.tar.xz",
      "sha256": "cda77f9213e9757bc1f874d1140df658681f5aafd0b88d216c2f509f2f0b3244",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 243087,
       "stable-only": true,
       "url-template": "https://github.com/openrazer/openrazer/releases/download/v$version/openrazer-$version.tar.xz"
      }
     }
    ],
    "modules": [
     {
      "name": "python3-scikit-build-core",
      "buildsystem": "simple",
      "build-commands": [
       "pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"scikit-build-core\" --no-build-isolation"
      ],
      "cleanup": [
       "*"
      ],
      "sources": [
       {
        "type": "file",
        "url": "https://files.pythonhosted.org/packages/63/34/ba1c580383c9eada3711951fef0795c80b829a078d72188184bcab9dd527/packaging-26.3-py3-none-any.whl",
        "sha256": "d7193f7c8e4e93f444fde0262bf90af30e16fa0ad0ad44cb553c87339b23cd1c",
        "x-checker-data": {
         "type": "pypi",
         "name": "packaging",
         "packagetype": "bdist_wheel"
        }
       },
       {
        "type": "file",
        "url": "https://files.pythonhosted.org/packages/f1/d9/7fb5aa316bc299258e68c73ba3bddbc499654a07f151cba08f6153988714/pathspec-1.1.1-py3-none-any.whl",
        "sha256": "a00ce642f577bf7f473932318056212bc4f8bfdf53128c78bbd5af0b9b20b189",
        "x-checker-data": {
         "type": "pypi",
         "name": "pathspec",
         "packagetype": "bdist_wheel"
        }
       },
       {
        "type": "file",
        "url": "https://files.pythonhosted.org/packages/b7/b0/7ad8fa9aebb0835b2e20afebf1483cbe175d1612fe01e85042ce9ced8755/scikit_build_core-1.0.3-py3-none-any.whl",
        "sha256": "ae95427b7d3c14a6cf8bbfd4d901f6138ab64c99e20cbe8ea7d75cd26093f085",
        "x-checker-data": {
         "type": "pypi",
         "name": "scikit_build_core",
         "packagetype": "bdist_wheel"
        }
       }
      ]
     },
     {
      "name": "python3-patchelf",
      "buildsystem": "simple",
      "build-commands": [
       "pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"patchelf\" --no-build-isolation"
      ],
      "cleanup": [
       "*"
      ],
      "sources": [
       {
        "type": "file",
        "url": "https://files.pythonhosted.org/packages/5a/0b/691b49b40201a80cb09dbf2003eef0e36270ae07b00de99baa915df1d274/patchelf-0.19.1.0.tar.gz",
        "sha256": "8976fbdef7d3e461d623e703024b70db6b6e3308f7e389930f39a71a1e347a2c",
        "x-checker-data": {
         "type": "pypi",
         "name": "patchelf"
        }
       }
      ]
     },
     {
      "name": "python3-meson-python",
      "buildsystem": "simple",
      "build-commands": [
       "pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"meson-python\" --no-build-isolation"
      ],
      "cleanup": [
       "*"
      ],
      "sources": [
       {
        "type": "file",
        "url": "https://files.pythonhosted.org/packages/9e/4f/03aeed5a32e7e8158d8c617fe65b622410db974fe02e3bd78da9689a44fd/meson_python-0.21.1-py3-none-any.whl",
        "sha256": "270bc9b78957c47e0aa1758ad616dba3f943d8f9cbdb944d318c3c1c7a49e4bd",
        "x-checker-data": {
         "type": "pypi",
         "name": "meson_python",
         "packagetype": "bdist_wheel"
        }
       },
       {
        "type": "file",
        "url": "https://files.pythonhosted.org/packages/63/34/ba1c580383c9eada3711951fef0795c80b829a078d72188184bcab9dd527/packaging-26.3-py3-none-any.whl",
        "sha256": "d7193f7c8e4e93f444fde0262bf90af30e16fa0ad0ad44cb553c87339b23cd1c",
        "x-checker-data": {
         "type": "pypi",
         "name": "packaging",
         "packagetype": "bdist_wheel"
        }
       },
       {
        "type": "file",
        "url": "https://files.pythonhosted.org/packages/b9/8e/d883718e872abc214ba053f60f7e6edc2abd5ffbd1544beb01a9c92ddd3c/pyproject_metadata-0.12.1-py3-none-any.whl",
        "sha256": "f7162d580a96386a8eb096da06215f981f547d1490f03055ef99e323bc2da427",
        "x-checker-data": {
         "type": "pypi",
         "name": "pyproject_metadata",
         "packagetype": "bdist_wheel"
        }
       }
      ]
     },
     {
      "name": "python3-dbus-python",
      "buildsystem": "meson",
      "config-opts": [
       "-Dtests=false"
      ],
      "sources": [
       {
        "type": "archive",
        "url": "https://files.pythonhosted.org/packages/ff/24/63118050c7dd7be04b1ccd60eab53fef00abe844442e1b6dec92dae505d6/dbus-python-1.4.0.tar.gz",
        "sha256": "991666e498f60dbf3e49b8b7678f5559b8a65034fdf61aae62cdecdb7d89c770",
        "x-checker-data": {
         "type": "pypi",
         "name": "dbus-python"
        }
       }
      ]
     },
     {
      "name": "python3-numpy",
      "buildsystem": "simple",
      "build-commands": [
       "pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"numpy==1.26.4\" --no-build-isolation"
      ],
      "sources": [
       {
        "type": "file",
        "url": "https://files.pythonhosted.org/packages/65/6e/09db70a523a96d25e115e71cc56a6f9031e7b8cd166c1ac8438307c14058/numpy-1.26.4.tar.gz",
        "sha256": "2a02aba9ed12e4ac4eb3ea9421c420301a0c6460d9830d74a9df87efa4912010"
       }
      ]
     }
    ]
   },
   {
    "name": "polychromatic",
    "buildsystem": "meson",
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/polychromatic/polychromatic/archive/0e8d5028b27ad47d46cbd4220b4b83bc45a85142.tar.gz",
      "sha256": "d3c75f1bd06348d22f4bb5fb05b4f5d005d7800f1d4ca82fd9edef2e6ffabf2b"
     },
     {
      "type": "patch",
      "path": "patches/launcher-remove-tray-applet.patch"
     }
    ]
   }
  ]
 }
}