* gnu/packages/mate.scm (mate-polkit): New variable. --- gnu/packages/mate.scm | 36 +++++++++++++++++++++++++++++++++--- 1 file changed, 33 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/mate.scm b/gnu/packages/mate.scm index c4b75f8..7eb83de 100644 --- a/gnu/packages/mate.scm +++ b/gnu/packages/mate.scm @@ -31,7 +31,9 @@ #:use-module (gnu packages xdisorg) #:use-module (gnu packages base) #:use-module (gnu packages xml) - #:use-module (gnu packages python)) + #:use-module (gnu packages python) + #:use-module (gnu packages freedesktop) + #:use-module (gnu packages polkit)) (define-public mate-icon-theme (package @@ -81,8 +83,7 @@ ("gtk-engines" ,gtk-engines) ("murrine" ,murrine))) (home-page "http://mate-desktop.org/") - (synopsis - "Official themes for the MATE desktop") + (synopsis "Official themes for the MATE desktop") (description "This package includes the standard themes for the MATE desktop, for example Menta, TraditionalOk, GreenLaguna or BlackMate.") @@ -209,3 +210,32 @@ the MATE desktop environment.") specification, the MATE menu layout configuration files, .directory files and assorted menu related utility programs.") (license (list license:gpl2+ license:lgpl2.0+)))) + +(define-public mate-polkit + (package + (name "mate-polkit") + (version "1.12.0") + (source (origin + (method url-fetch) + (uri (string-append "http://pub.mate-desktop.org/releases/" + (version-major+minor version) "/" + name "-" version ".tar.xz")) + (sha256 + (base32 + "1fgq3dbncdjndwqjza3rja68x55ngvafi93zsaazq42f7l60m3y3")))) + (build-system gnu-build-system) + (native-inputs + `(("intltool" ,intltool) + ("pkg-config" ,pkg-config) + ("gobject-introspection" ,gobject-introspection))) + (inputs + `(("gtk+" ,gtk+-2) + ("accountsservice" ,accountsservice))) + (propagated-inputs + `(("polkit" ,polkit))) + (home-page "http://mate-desktop.org/") + (synopsis "PolicyKit integration for the MATE desktop") + (description + "This package contains extensions for PolicyKit used by the MATE desktop +environment.") + (license license:lgpl2.0+))) -- 1.9.1