2018-07-21 02:44:44 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, libGLU_combined, libX11, libXext, libXfixes
|
2018-09-07 15:06:41 +02:00
|
|
|
, libXdamage, libXcomposite, libXi, libxcb, cogl, pango, atk, json-glib
|
2018-12-02 12:41:15 +01:00
|
|
|
, gobject-introspection, gtk3, gnome3, libinput, libgudev, libxkbcommon
|
2013-12-12 19:41:51 +01:00
|
|
|
}:
|
2010-07-19 00:45:03 +02:00
|
|
|
|
2013-12-05 22:50:41 +01:00
|
|
|
let
|
2018-03-03 02:43:52 +01:00
|
|
|
pname = "clutter";
|
|
|
|
version = "1.26.2";
|
2013-12-05 22:50:41 +01:00
|
|
|
in
|
|
|
|
stdenv.mkDerivation rec {
|
2018-03-03 02:43:52 +01:00
|
|
|
name = "${pname}-${version}";
|
2010-07-19 00:45:03 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-10-05 02:12:11 +02:00
|
|
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
2017-06-25 18:59:23 +02:00
|
|
|
sha256 = "0mif1qnrpkgxi43h7pimim6w6zwywa16ixcliw0yjm9hk0a368z7";
|
2010-07-19 00:45:03 +02:00
|
|
|
};
|
|
|
|
|
2018-10-08 17:28:45 +02:00
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
|
2017-04-27 19:24:59 +02:00
|
|
|
buildInputs = [ gtk3 ];
|
2012-12-28 19:20:09 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2010-07-19 00:45:03 +02:00
|
|
|
propagatedBuildInputs =
|
2018-02-24 14:12:44 +01:00
|
|
|
[ libX11 libGLU_combined libXext libXfixes libXdamage libXcomposite libXi cogl pango
|
2018-12-02 12:41:15 +01:00
|
|
|
atk json-glib gobject-introspection libxcb libinput libgudev libxkbcommon
|
2010-07-19 00:45:03 +02:00
|
|
|
];
|
|
|
|
|
2013-12-12 19:41:51 +01:00
|
|
|
configureFlags = [ "--enable-introspection" ]; # needed by muffin AFAIK
|
2013-08-06 08:06:26 +02:00
|
|
|
|
2013-12-05 22:50:41 +01:00
|
|
|
#doCheck = true; # no tests possible without a display
|
|
|
|
|
2018-03-03 02:43:52 +01:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = pname;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2010-07-19 00:45:03 +02:00
|
|
|
meta = {
|
2014-08-24 16:21:08 +02:00
|
|
|
description = "Library for creating fast, dynamic graphical user interfaces";
|
2010-07-19 00:45:03 +02: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 06:19:00 +02:00
|
|
|
license = stdenv.lib.licenses.lgpl2Plus;
|
2010-09-27 13:19:23 +02:00
|
|
|
homepage = http://www.clutter-project.org/;
|
2010-07-19 00:45:03 +02:00
|
|
|
|
2017-03-27 19:11:17 +02:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ lethalman ];
|
2012-03-17 14:30:39 +01:00
|
|
|
platforms = stdenv.lib.platforms.mesaPlatforms;
|
2010-07-19 00:45:03 +02:00
|
|
|
};
|
|
|
|
}
|