caffeine-ng: replace libappindicator with libayatana-appindicator
This commit is contained in:
parent
a8d7c6fe25
commit
486ef130d1
|
@ -0,0 +1,16 @@
|
|||
diff --git a/caffeine/main.py b/caffeine/main.py
|
||||
index 516a138..f48653b 100644
|
||||
--- a/caffeine/main.py
|
||||
+++ b/caffeine/main.py
|
||||
@@ -32,9 +32,9 @@ try:
|
||||
gi.require_version("Notify", "0.7")
|
||||
except ValueError:
|
||||
gi.require_version("Notify", "0.8")
|
||||
-gi.require_version("AppIndicator3", "0.1")
|
||||
+gi.require_version("AyatanaAppIndicator3", "0.1")
|
||||
|
||||
-from gi.repository import AppIndicator3 # noqa: E402
|
||||
+from gi.repository import AyatanaAppIndicator3 as AppIndicator3 # noqa: E402
|
||||
from gi.repository import GdkPixbuf # noqa: E402
|
||||
from gi.repository import Gtk # noqa: E402
|
||||
from gi.repository.Notify import Notification # noqa: E402
|
|
@ -1,13 +1,13 @@
|
|||
# Template file for 'caffeine-ng'
|
||||
pkgname=caffeine-ng
|
||||
version=4.0.2
|
||||
revision=3
|
||||
revision=4
|
||||
build_style=python3-module
|
||||
hostmakedepends="python3-setuptools_scm"
|
||||
depends="desktop-file-utils gtk+3 hicolor-icon-theme libnotify
|
||||
python3-dbus python3-click python3-ewmh python3-gobject
|
||||
python3-setproctitle python3-setuptools python3-xdg
|
||||
python3-pulsectl libappindicator"
|
||||
python3-pulsectl libayatana-appindicator"
|
||||
short_desc="Temporarily inhibits the screensaver and sleep mode"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="GPL-3.0-or-later"
|
||||
|
|
Loading…
Reference in New Issue