2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, libGLU, libGL, libX11, libXext, libXfixes
|
2018-09-07 13:06:41 +00:00
|
|
|
, libXdamage, libXcomposite, libXi, libxcb, cogl, pango, atk, json-glib
|
2021-05-07 21:18:14 +00:00
|
|
|
, gobject-introspection, gtk3, gnome, libinput, libgudev, libxkbcommon
|
2013-12-12 18:41:51 +00:00
|
|
|
}:
|
2010-07-18 22:45:03 +00:00
|
|
|
|
2013-12-05 21:50:41 +00:00
|
|
|
let
|
2018-03-03 01:43:52 +00:00
|
|
|
pname = "clutter";
|
2020-04-08 05:14:17 +00: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}";
|
2010-07-18 22:45:03 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-01-21 17:00:13 +00:00
|
|
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${name}.tar.xz";
|
2020-04-08 05:14:17 +00:00
|
|
|
sha256 = "1rn4cd1an6a9dfda884aqpcwcgq8dgydpqvb19nmagw4b70zlj4b";
|
2010-07-18 22:45:03 +00:00
|
|
|
};
|
|
|
|
|
2018-10-08 15:28:45 +00:00
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
|
2017-04-27 17:24:59 +00:00
|
|
|
buildInputs = [ gtk3 ];
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2010-07-18 22:45:03 +00:00
|
|
|
propagatedBuildInputs =
|
2019-11-07 16:41:50 +00:00
|
|
|
[ libX11 libGL libGLU libXext libXfixes libXdamage libXcomposite libXi cogl pango
|
2018-12-02 11:41:15 +00:00
|
|
|
atk json-glib gobject-introspection libxcb libinput libgudev libxkbcommon
|
2010-07-18 22:45:03 +00:00
|
|
|
];
|
|
|
|
|
2013-12-12 18:41:51 +00:00
|
|
|
configureFlags = [ "--enable-introspection" ]; # needed by muffin AFAIK
|
2013-08-06 06:06:26 +00:00
|
|
|
|
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 = {
|
2021-05-07 21:18:14 +00:00
|
|
|
updateScript = gnome.updateScript {
|
2018-03-03 01:43:52 +00:00
|
|
|
packageName = pname;
|
2021-03-20 23:57:24 +00:00
|
|
|
versionPolicy = "odd-unstable";
|
2018-03-03 01:43:52 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2010-07-18 22:45:03 +00:00
|
|
|
meta = {
|
2014-08-24 14:21:08 +00:00
|
|
|
description = "Library for creating fast, dynamic graphical user interfaces";
|
2010-07-18 22:45:03 +00: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.
|
|
|
|
'';
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
license = lib.licenses.lgpl2Plus;
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://www.clutter-project.org/";
|
2010-07-18 22:45:03 +00:00
|
|
|
|
2021-05-07 13:35:21 +00:00
|
|
|
maintainers = with lib.maintainers; [ ];
|
2021-01-21 17:00:13 +00:00
|
|
|
platforms = lib.platforms.mesaPlatforms;
|
2010-07-18 22:45:03 +00:00
|
|
|
};
|
|
|
|
}
|