From fb182b8a447a4a6078ff4e9aecae99b0f4c8e5cf Mon Sep 17 00:00:00 2001 From: Mark H Weaver Date: Sat, 20 Jun 2015 17:48:11 -0400 Subject: [PATCH] gnu: Add clutter. * gnu/packages/gnome.scm (clutter): New variable. --- gnu/packages/gnome.scm | 47 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 6482973b10..e5c920bfa7 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -66,6 +66,7 @@ (define-module (gnu packages gnome) #:use-module (gnu packages ssh) #:use-module (gnu packages xml) #:use-module (gnu packages gl) + #:use-module (gnu packages qt) ; for libxkbcommon #:use-module (gnu packages compression) #:use-module (gnu packages texlive) #:use-module (gnu packages web) @@ -2550,3 +2551,49 @@ (define-public cogl license:bsd-3 ; cogl/cogl-point-in-poly.c license:sgifreeb2.0 ; cogl-path/tesselator/ license:asl2.0)))) ; examples/android/ + +(define-public clutter + (package + (name "clutter") + (version "1.22.2") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://gnome/sources/" name "/" + (version-major+minor version) "/" + name "-" version ".tar.xz")) + (sha256 + (base32 + "1b0ikh9q3c3qnny3kbvhqih35449q8ajcbh7zkm8k3kykwfx4scf")))) + (build-system gnu-build-system) + (native-inputs + `(("glib:bin" ,glib "bin") ; for glib-genmarshal + ("gobject-introspection" ,gobject-introspection) + ("pkg-config" ,pkg-config) + ("xsltproc" ,libxslt))) + (propagated-inputs + `(("cogl" ,cogl) + ("cairo" ,cairo) + ("atk" ,atk) + ("gtk+" ,gtk+) + ("json-glib" ,json-glib) + ("glib" ,glib) + ("libxcomposite" ,libxcomposite) + ("libxdamage" ,libxdamage) + ("libxext" ,libxext) + ("xinput" ,xinput))) + (inputs + `(("libxkbcommon" ,libxkbcommon) + ("udev" ,eudev))) + (arguments + `(#:configure-flags '("--enable-x11-backend=yes") + ;; XXX FIXME: Get test suite working. It would probably fail in the + ;; same way the cogl tests fail, since clutter is based on cogl. + #:tests? #f)) + (home-page "http://www.clutter-project.org") + (synopsis "Open GL based interactive canvas library") + (description + "Clutter is an Open GL based interactive canvas library, designed for +creating fast, mainly 2D single window applications such as media box UIs, +presentations, kiosk style applications and so on.") + (license license:lgpl2.0+)))