Add Clutter{,-GTK}, a library for fancy GUIs.
svn path=/nixpkgs/trunk/; revision=22648
This commit is contained in:
parent
3d442ad185
commit
cbd5317e82
3 changed files with 80 additions and 0 deletions
25
pkgs/development/libraries/clutter-gtk/default.nix
Normal file
25
pkgs/development/libraries/clutter-gtk/default.nix
Normal file
|
@ -0,0 +1,25 @@
|
|||
{ fetchurl, stdenv, pkgconfig, clutter, gtk }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "clutter-gtk-0.10.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://source.clutter-project.org/sources/clutter-gtk/0.10/${name}.tar.bz2";
|
||||
sha256 = "1jdhhqin4wi8gk6i1m701vrhm6lrvywq3q3yy88ph8yj8h6z4any";
|
||||
};
|
||||
|
||||
buildInputs = [ pkgconfig clutter gtk ];
|
||||
|
||||
preConfigure = "export V=1";
|
||||
|
||||
meta = {
|
||||
description = "Clutter-GTK";
|
||||
|
||||
homepage = http://www.clutter-project.org/;
|
||||
|
||||
license = "LGPLv2+";
|
||||
|
||||
maintainers = [ stdenv.lib.maintainers.ludo ];
|
||||
platforms = stdenv.lib.platforms.gnu; # arbitrary choice
|
||||
};
|
||||
}
|
44
pkgs/development/libraries/clutter/default.nix
Normal file
44
pkgs/development/libraries/clutter/default.nix
Normal file
|
@ -0,0 +1,44 @@
|
|||
{ fetchurl, stdenv, pkgconfig, mesa, libXi, libXfixes, libXdamage
|
||||
, libXcomposite, cairo, glib, pango, gtk }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "clutter-1.2.10";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://source.clutter-project.org/sources/clutter/1.2/${name}.tar.gz";
|
||||
sha256 = "0bdnj026lqmwpgml73q4r0v90gsksjz0nv2fgjda9619bzx47igi";
|
||||
};
|
||||
|
||||
buildInputs = [ pkgconfig ];
|
||||
|
||||
# There are all listed in the `Requires' field of `clutter-x11-1.0.pc'.
|
||||
propagatedBuildInputs =
|
||||
[ mesa cairo glib pango gtk
|
||||
libXi libXfixes libXdamage libXcomposite
|
||||
];
|
||||
|
||||
|
||||
meta = {
|
||||
description = "Clutter, a 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 = "LGPLv2+";
|
||||
|
||||
maintainers = [ stdenv.lib.maintainers.ludo ];
|
||||
platforms = stdenv.lib.platforms.gnu; # arbitrary choice
|
||||
};
|
||||
}
|
|
@ -3725,6 +3725,17 @@ let
|
|||
inherit fetchurl stdenv;
|
||||
};
|
||||
|
||||
clutter = import ../development/libraries/clutter {
|
||||
inherit fetchurl stdenv pkgconfig mesa cairo;
|
||||
inherit (gnome) glib pango gtk;
|
||||
inherit (xorg) libXi libXfixes libXdamage libXcomposite;
|
||||
};
|
||||
|
||||
clutter_gtk = import ../development/libraries/clutter-gtk {
|
||||
inherit fetchurl stdenv pkgconfig clutter;
|
||||
inherit (gnome) gtk;
|
||||
};
|
||||
|
||||
commoncpp2 = import ../development/libraries/commoncpp2 {
|
||||
inherit stdenv fetchurl;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue