gnu: Add gnome-screenshot.

* gnu/packages/gnome.scm (gnome-screenshot): New variable.
This commit is contained in:
Rene Saavedra 2016-02-20 23:25:12 -06:00 committed by 宋文武
parent 8b15f42c73
commit b784b1a9ea

View file

@ -4711,6 +4711,37 @@ (define-public gnome-backgrounds
license:cc-by-sa2.0 license:cc-by-sa2.0
license:cc-by-sa3.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") ; for glib-compile-schemas, etc.
("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 (define-public gnome
(package (package
(name "gnome") (name "gnome")