3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/clutter/default.nix

62 lines
2 KiB
Nix
Raw Normal View History

2019-11-07 16:41:50 +00:00
{ stdenv, fetchurl, pkgconfig, libGLU, libGL, libX11, libXext, libXfixes
, libXdamage, libXcomposite, libXi, libxcb, cogl, pango, atk, json-glib
, gobject-introspection, gtk3, gnome3, libinput, libgudev, libxkbcommon
}:
2013-12-05 21:50:41 +00:00
let
2018-03-03 01:43:52 +00:00
pname = "clutter";
2020-04-08 06:14:17 +01:00
version = "1.26.4";
2013-12-05 21:50:41 +00:00
in
stdenv.mkDerivation rec {
2018-03-03 01:43:52 +00:00
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
2020-04-08 06:14:17 +01:00
sha256 = "1rn4cd1an6a9dfda884aqpcwcgq8dgydpqvb19nmagw4b70zlj4b";
};
outputs = [ "out" "dev" ];
buildInputs = [ gtk3 ];
nativeBuildInputs = [ pkgconfig ];
propagatedBuildInputs =
2019-11-07 16:41:50 +00:00
[ libX11 libGL libGLU libXext libXfixes libXdamage libXcomposite libXi cogl pango
atk json-glib gobject-introspection libxcb libinput libgudev libxkbcommon
];
configureFlags = [ "--enable-introspection" ]; # needed by muffin AFAIK
2013-12-05 21:50:41 +00:00
#doCheck = true; # no tests possible without a display
2018-03-03 01:43:52 +00:00
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
};
};
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/";
maintainers = with stdenv.lib.maintainers; [ lethalman ];
platforms = stdenv.lib.platforms.mesaPlatforms;
};
}