diff --git a/srcpkgs/indicator-doom-cpu/patches/use-ayatana-appindicator.patch b/srcpkgs/indicator-doom-cpu/patches/use-ayatana-appindicator.patch new file mode 100644 index 00000000000..00a185b7d6e --- /dev/null +++ b/srcpkgs/indicator-doom-cpu/patches/use-ayatana-appindicator.patch @@ -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 diff --git a/srcpkgs/indicator-doom-cpu/template b/srcpkgs/indicator-doom-cpu/template index eb15aa66335..75da2d47ae3 100644 --- a/srcpkgs/indicator-doom-cpu/template +++ b/srcpkgs/indicator-doom-cpu/template @@ -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 " license="GPL-3.0-only"