summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorguy fleury iteriteka <hoonandon@gmail.com>2019-04-15 22:30:06 +0200
committerDanny Milosavljevic <dannym@scratchpost.org>2019-04-15 22:55:03 +0200
commitf254e308c21a10798e11940580f7b3fbdb4a7714 (patch)
tree97a5677cb96b0eaf9d4d202a243be4b3f720ebfa
parentc9c04b28694152176b340175b9443585e16ba20f (diff)
downloadpatches-f254e308c21a10798e11940580f7b3fbdb4a7714.tar
patches-f254e308c21a10798e11940580f7b3fbdb4a7714.tar.gz
gnu: mate: Add mate-power-manager.
* gnu/packages/mate.scm (mate-power-manager): New variable. Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
-rw-r--r--gnu/packages/mate.scm40
1 files changed, 40 insertions, 0 deletions
diff --git a/gnu/packages/mate.scm b/gnu/packages/mate.scm
index 6d157e6ec3..4a584c3e19 100644
--- a/gnu/packages/mate.scm
+++ b/gnu/packages/mate.scm
@@ -92,6 +92,46 @@
MATE applications.")
(license license:gpl3+)))
+(define-public mate-power-manager
+ (package
+ (name "mate-power-manager")
+ (version "1.22.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://pub.mate-desktop.org/releases/"
+ (version-major+minor version) "/"
+ name "-" version ".tar.xz"))
+ (sha256
+ (base32
+ "03c09h41qfz83wmjfvwzkq4xqc54aswmki4h034qcxbgfnyfmk1i"))))
+ (build-system gnu-build-system)
+ (native-inputs
+ `(("pkg-config" ,pkg-config)
+ ("intltool" ,intltool)
+ ("yelp-tools" ,yelp-tools)
+ ("glib" ,glib "bin") ; glib-gettextize
+ ("libtool" ,libtool)))
+ (inputs
+ `(("gtk+" ,gtk+)
+ ("glib" ,glib)
+ ("dbus-glib" ,dbus-glib)
+ ("libgnome-keyring" ,libgnome-keyring)
+ ("cairo" ,cairo)
+ ("dbus" ,dbus)
+ ("libnotify" ,libnotify)
+ ("mate-panel" ,mate-panel)
+ ("libxrandr" ,libxrandr)
+ ("libcanberra" ,libcanberra)
+ ("upower" ,upower)))
+ (home-page "https://mate-desktop.org/")
+ (synopsis "A Power Manager for MATE")
+ (description
+ "MATE Power Manager is a MATE session daemon that acts as a policy agent on
+top of UPower. It listens to system events and responds with user-configurable
+actions.")
+ (license license:gpl3+)))
+
(define-public mate-icon-theme
(package
(name "mate-icon-theme")