nixpkgs/pkgs/development/libraries/clutter/default.nix

53 lines
1.7 KiB
Nix
Raw Normal View History

{ stdenv, fetchurl, glib, pkgconfig, mesa, libX11, libXext, libXfixes
, libXdamage, libXcomposite, libXi, cogl, pango, atk, json_glib,
gobjectIntrospection
}:
2013-12-05 21:50:41 +00:00
let
ver_maj = "1.16";
ver_min = "2";
in
stdenv.mkDerivation rec {
name = "clutter-${ver_maj}.${ver_min}";
src = fetchurl {
2013-12-05 21:50:41 +00:00
url = "mirror://gnome/sources/clutter/${ver_maj}/${name}.tar.xz";
sha256 = "0hnz6fnrkc7ixrm2x83sxyha32p9896d7ilzhvxwfgzlh26fidqc";
};
nativeBuildInputs = [ pkgconfig ];
propagatedBuildInputs =
[ libX11 mesa libXext libXfixes libXdamage libXcomposite libXi cogl pango
atk json_glib gobjectIntrospection
];
configureFlags = [ "--enable-introspection" ]; # needed by muffin AFAIK
2013-12-05 21:50:41 +00:00
#doCheck = true; # no tests possible without a display
meta = {
description = "Library for creating fast, dynamic graphical user interfaces";
longDescription =
'' Clutter is free software library for creating fast, compelling,
portable, and dynamic graphical user interfaces. It is a core part
of MeeGo, and is supported by the open source community. Its
development is sponsored by Intel.
Clutter uses OpenGL for rendering (and optionally OpenGL|ES for use
on mobile and embedded platforms), but wraps an easy to use,
efficient, flexible API around GL's complexity.
Clutter enforces no particular user interface style, but provides a
rich, generic foundation for higher-level toolkits tailored to
specific needs.
'';
license = stdenv.lib.licenses.lgpl2Plus;
homepage = http://www.clutter-project.org/;
2013-08-16 22:44:33 +01:00
maintainers = with stdenv.lib.maintainers; [ urkud ];
platforms = stdenv.lib.platforms.mesaPlatforms;
};
}