2012-03-17 13:30:39 +00:00
|
|
|
{ stdenv, fetchurl, glib, pkgconfig, mesa, libX11, libXext, libXfixes
|
2017-06-25 17:59:23 +01:00
|
|
|
, libXdamage, libXcomposite, libXi, libxcb, cogl, pango, atk, json_glib,
|
2017-04-27 18:24:59 +01:00
|
|
|
gobjectIntrospection, gtk3
|
2013-12-12 18:41:51 +00:00
|
|
|
}:
|
2010-07-18 23:45:03 +01:00
|
|
|
|
2013-12-05 21:50:41 +00:00
|
|
|
let
|
2016-09-26 22:40:20 +01:00
|
|
|
ver_maj = "1.26";
|
2017-06-25 17:59:23 +01:00
|
|
|
ver_min = "2";
|
2013-12-05 21:50:41 +00:00
|
|
|
in
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "clutter-${ver_maj}.${ver_min}";
|
2010-07-18 23:45:03 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2013-12-05 21:50:41 +00:00
|
|
|
url = "mirror://gnome/sources/clutter/${ver_maj}/${name}.tar.xz";
|
2017-06-25 17:59:23 +01:00
|
|
|
sha256 = "0mif1qnrpkgxi43h7pimim6w6zwywa16ixcliw0yjm9hk0a368z7";
|
2010-07-18 23:45:03 +01:00
|
|
|
};
|
|
|
|
|
2017-04-27 18:24:59 +01:00
|
|
|
buildInputs = [ gtk3 ];
|
2012-12-28 18:20:09 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2010-07-18 23:45:03 +01:00
|
|
|
propagatedBuildInputs =
|
2012-03-17 13:30:39 +00:00
|
|
|
[ libX11 mesa libXext libXfixes libXdamage libXcomposite libXi cogl pango
|
2017-06-25 17:59:23 +01:00
|
|
|
atk json_glib gobjectIntrospection libxcb
|
2010-07-18 23:45:03 +01:00
|
|
|
];
|
|
|
|
|
2013-12-12 18:41:51 +00:00
|
|
|
configureFlags = [ "--enable-introspection" ]; # needed by muffin AFAIK
|
2013-08-06 07:06:26 +01:00
|
|
|
|
2013-12-05 21:50:41 +00:00
|
|
|
#doCheck = true; # no tests possible without a display
|
|
|
|
|
2010-07-18 23:45:03 +01:00
|
|
|
meta = {
|
2014-08-24 15:21:08 +01:00
|
|
|
description = "Library for creating fast, dynamic graphical user interfaces";
|
2010-07-18 23:45:03 +01:00
|
|
|
|
|
|
|
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.
|
|
|
|
'';
|
|
|
|
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.lgpl2Plus;
|
2010-09-27 12:19:23 +01:00
|
|
|
homepage = http://www.clutter-project.org/;
|
2010-07-18 23:45:03 +01:00
|
|
|
|
2017-03-27 18:11:17 +01:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ lethalman ];
|
2012-03-17 13:30:39 +00:00
|
|
|
platforms = stdenv.lib.platforms.mesaPlatforms;
|
2010-07-18 23:45:03 +01:00
|
|
|
};
|
|
|
|
}
|