build: PyGObject als Linux-Dep für pystray AppIndicator-Backend

Ohne python-gobject wählt pystray im uv-Venv das _xorg-Backend, das
unter KDE/Wayland kein funktionierendes Tray-Menü liefert. Mit
PyGObject als expliziter Linux-Dep greift pystray._appindicator
(libayatana-appindicator) und das Menü funktioniert.

System-Deps (nicht automatisch): libayatana-appindicator,
gobject-introspection — im README dokumentiert bzw. nachzutragen.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-11 21:47:12 +02:00
parent 1153890ea9
commit d682003509
2 changed files with 18 additions and 0 deletions
+1
View File
@@ -7,6 +7,7 @@ dependencies = [
"sounddevice>=0.5.0",
"numpy>=2.0.0",
"evdev>=1.7.0; sys_platform == 'linux'",
"PyGObject>=3.50; sys_platform == 'linux'",
"pynput>=1.7.0; sys_platform == 'win32'",
"pywin32>=306; sys_platform == 'win32'",
"pystray>=0.19.0",