gwe: replace libappindicator with libayatana-appindicator

This commit is contained in:
tibequadorian 2022-11-30 10:53:42 +01:00 committed by Michal Vasilek
parent c0eeffb423
commit a8d7c6fe25
2 changed files with 17 additions and 2 deletions

View File

@ -0,0 +1,15 @@
diff --git a/gwe/view/main_view.py b/gwe/view/main_view.py
index 61c891d..6f573c2 100644
--- a/gwe/view/main_view.py
+++ b/gwe/view/main_view.py
@@ -31,8 +31,8 @@ from gwe.model.fan_profile import FanProfile
try: # AppIndicator3 may not be installed
import gi
- gi.require_version('AppIndicator3', '0.1')
- from gi.repository import AppIndicator3
+ gi.require_version('AyatanaAppIndicator3', '0.1')
+ from gi.repository import AyatanaAppIndicator3 as AppIndicator3
except (ImportError, ValueError):
AppIndicator3 = None
from gwe.di import MainBuilder

View File

@ -1,14 +1,14 @@
# Template file for 'gwe' # Template file for 'gwe'
pkgname=gwe pkgname=gwe
version=0.15.2 version=0.15.2
revision=3 revision=4
build_style=meson build_style=meson
hostmakedepends="pkg-config meson ninja glib-devel gtk+3-devel python3 python3-devel hostmakedepends="pkg-config meson ninja glib-devel gtk+3-devel python3 python3-devel
python3-matplotlib python3-peewee python3-gobject python3-xlib python3-xdg python3-matplotlib python3-peewee python3-gobject python3-xlib python3-xdg
python3-requests python3-rx python3-nvml python3-injector python3-urllib3 python3-six python3-requests python3-rx python3-nvml python3-injector python3-urllib3 python3-six
python3-chardet python3-idna python3-xlib python3-numpy python3-parsing python3-cycler python3-dateutil python3-Pillow" python3-chardet python3-idna python3-xlib python3-numpy python3-parsing python3-cycler python3-dateutil python3-Pillow"
makedepends="gobject-introspection appstream-glib" makedepends="gobject-introspection appstream-glib"
depends="python3 gobject-introspection libappindicator libdazzle python3-matplotlib depends="python3 gobject-introspection libayatana-appindicator libdazzle python3-matplotlib
python3-peewee python3-gobject python3-xlib python3-xdg python3-requests python3-rx python3-peewee python3-gobject python3-xlib python3-xdg python3-requests python3-rx
python3-nvml python3-injector python3-urllib3 python3-six python3-chardet python3-idna python3-nvml python3-injector python3-urllib3 python3-six python3-chardet python3-idna
python3-xlib python3-numpy python3-parsing python3-cycler python3-dateutil python3-Pillow" python3-xlib python3-numpy python3-parsing python3-cycler python3-dateutil python3-Pillow"