gnu: Add libgames-support.

* gnu/packages/gnome.scm (libgames-support): New variable.
This commit is contained in:
宋文武 2016-05-08 23:00:12 +08:00
parent 041d0ff880
commit f09520db01

View File

@ -2911,6 +2911,42 @@ write applications that need to store structured data as well as make complex
queries upon that data.") queries upon that data.")
(license license:lgpl2.1+))) (license license:lgpl2.1+)))
(define-public libgames-support
(package
(name "libgames-support")
(version "1.0.2")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnome/sources/" name "/"
(version-major+minor version) "/"
name "-" version ".tar.xz"))
(sha256
(base32
"0rms2ksiv7j9944km7r87q22nh05si1fisn5xm3z4zy5vpcfi5mh"))))
(build-system gnu-build-system)
(arguments
'(#:phases
(modify-phases %standard-phases
(add-before 'check 'pre-check
(lambda _
;; tests require a writable HOME.
(setenv "HOME" (getcwd))
#t)))))
(native-inputs
`(("intltool" ,intltool)
("pkg-config" ,pkg-config)
("vala" ,vala)))
(propagated-inputs
;; Required by libgames-support-1.0.pc
`(("gtk+" ,gtk+)
("libgee" ,libgee)))
(home-page "https://www.gnome.org/")
(synopsis "Useful functionality shared among GNOME games")
(description
"libgames-support is a small library intended for internal use by
GNOME Games, but it may be used by others.")
(license license:lgpl3+)))
(define-public gnome-klotski (define-public gnome-klotski
(package (package
(name "gnome-klotski") (name "gnome-klotski")