From be7026e12d1ae7611f4b85188fb6400799c39c25 Mon Sep 17 00:00:00 2001 From: Rene Saavedra Date: Sat, 20 Feb 2016 23:25:12 -0600 Subject: [PATCH] gnu: Add gnome-screenshot. * gnu/packages/gnome.scm (gnome-screenshot): New variable. --- gnu/packages/gnome.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 363d920..8406056 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -4711,6 +4711,37 @@ can add your own files to the collection.") license:cc-by-sa2.0 license:cc-by-sa3.0)))) +(define-public gnome-screenshot + (package + (name "gnome-screenshot") + (version "3.18.0") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://gnome/sources/" name "/" + (version-major+minor version) "/" + name "-" version ".tar.xz")) + (sha256 + (base32 + "0hc8m435q7yzvrw7jpi53kaxpmrd9w59sm7c5wibh2ng9azlv9pb")))) + (build-system glib-or-gtk-build-system) + (native-inputs + `(("glib:bin" ,glib "bin") ;; XXX: for glib-compile-schemas, gio-2.0. + ("intltool" ,intltool) + ("pkg-config" ,pkg-config))) + (inputs + `(("gtk+" ,gtk+) + ("libcanberra" ,libcanberra) + ("libx11" ,libx11) + ("libxext" ,libxext))) + (home-page "https://git.gnome.org/browse/gnome-screenshot") + (synopsis "Take pictures of your screen") + (description + "GNOME Screenshot is a utility used for taking screenshots of the entire +screen, a window or a user defined area of the screen, with optional +beautifying border effects.") + (license license:gpl2+))) + (define-public gnome (package (name "gnome") -- 2.6.3