indicator-doom-cpu: replace libappindicator with libayatana-appindicator

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

View File

@ -0,0 +1,13 @@
diff --git a/indicator-doom-cpu b/indicator-doom-cpu
index a1528e3..c4ff4d2 100755
--- a/indicator-doom-cpu
+++ b/indicator-doom-cpu
@@ -27,7 +27,7 @@ import time
from gi.repository import Gtk, GObject, GdkPixbuf
try:
- from gi.repository import AppIndicator3 as AppIndicator
+ from gi.repository import AyatanaAppIndicator3 as AppIndicator
appindicator_imported = True
except ImportError:
appindicator_imported = False

View File

@ -1,8 +1,8 @@
# Template file for 'indicator-doom-cpu'
pkgname=indicator-doom-cpu
version=1.0.1
revision=3
depends="python3-gobject gtk+3 libappindicator"
revision=4
depends="python3-gobject gtk+3 libayatana-appindicator"
short_desc="CPU load indicator showing the dying face from the video game DOOM"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="GPL-3.0-only"