at v192 1.8 kB view raw
1{ stdenv, fetchurl, glib, pkgconfig, mesa, libX11, libXext, libXfixes 2, libXdamage, libXcomposite, libXi, cogl, pango, atk, json_glib, 3gobjectIntrospection 4}: 5 6let 7 ver_maj = "1.16"; 8 ver_min = "2"; 9in 10stdenv.mkDerivation rec { 11 name = "clutter-${ver_maj}.${ver_min}"; 12 13 src = fetchurl { 14 url = "mirror://gnome/sources/clutter/${ver_maj}/${name}.tar.xz"; 15 sha256 = "0hnz6fnrkc7ixrm2x83sxyha32p9896d7ilzhvxwfgzlh26fidqc"; 16 }; 17 18 nativeBuildInputs = [ pkgconfig ]; 19 propagatedBuildInputs = 20 [ libX11 mesa libXext libXfixes libXdamage libXcomposite libXi cogl pango 21 atk json_glib gobjectIntrospection 22 ]; 23 24 configureFlags = [ "--enable-introspection" ]; # needed by muffin AFAIK 25 26 #doCheck = true; # no tests possible without a display 27 28 meta = { 29 description = "Library for creating fast, dynamic graphical user interfaces"; 30 31 longDescription = 32 '' Clutter is free software library for creating fast, compelling, 33 portable, and dynamic graphical user interfaces. It is a core part 34 of MeeGo, and is supported by the open source community. Its 35 development is sponsored by Intel. 36 37 Clutter uses OpenGL for rendering (and optionally OpenGL|ES for use 38 on mobile and embedded platforms), but wraps an easy to use, 39 efficient, flexible API around GL's complexity. 40 41 Clutter enforces no particular user interface style, but provides a 42 rich, generic foundation for higher-level toolkits tailored to 43 specific needs. 44 ''; 45 46 license = stdenv.lib.licenses.lgpl2Plus; 47 homepage = http://www.clutter-project.org/; 48 49 maintainers = with stdenv.lib.maintainers; [ urkud lethalman ]; 50 platforms = stdenv.lib.platforms.mesaPlatforms; 51 }; 52}