From bb498220e19c5dd7a32c416f8cec46ca70aafc14 Mon Sep 17 00:00:00 2001 From: tibequadorian Date: Wed, 30 Nov 2022 10:53:42 +0100 Subject: [PATCH] indicator-doom-cpu: replace libappindicator with libayatana-appindicator --- .../patches/use-ayatana-appindicator.patch | 13 +++++++++++++ srcpkgs/indicator-doom-cpu/template | 4 ++-- 2 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/indicator-doom-cpu/patches/use-ayatana-appindicator.patch 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"