nixpkgs/pkgs/desktops/gnome-2.26/platform/libgnomeui/default.nix

22 lines
1.4 KiB
Nix
Raw Normal View History

{ stdenv, fetchurl, pkgconfig, libxml2, popt, cairo, libX11, libICE, glib, gtk, atk, pango
, intltool, libgnome, libgnomecanvas, libbonobo, libbonoboui, GConf
, gnome_vfs, gnome_keyring, libglade, libart_lgpl, ORBit2}:
stdenv.mkDerivation {
name = "libgnomeui-2.24.1";
src = fetchurl {
url = mirror://gnome/platform/2.26/2.26.2/sources/libgnomeui-2.24.1.tar.bz2;
sha256 = "1hcdiqkvhfrfkyb02zaxrdzhl9h74m79ykfxgpznx59mgfdjivd2";
};
buildInputs = [ pkgconfig libxml2 popt libX11 libICE glib gtk pango
intltool libgnome libgnomecanvas libbonoboui GConf gnome_vfs gnome_keyring libglade ];
CPPFLAGS = "-I${glib}/include/glib-2.0 -I${glib}/lib/glib-2.0/include -I${atk}/include/atk-1.0 "+
"-I${gtk}/include/gtk-2.0 -I${gtk}/lib/gtk-2.0/include -I${libbonoboui}/include/libbonoboui-2.0 "+
"-I${cairo}/include/cairo -I${pango}/include/pango-1.0 -I${libgnomecanvas}/include/libgnomecanvas-2.0 "+
"-I${libgnome}/include/libgnome-2.0 -I${libart_lgpl}/include/libart-2.0 -I${gnome_vfs}/include/gnome-vfs-2.0 "+
"-I${libbonobo}/include/libbonobo-2.0 -I${GConf}/include/gconf/2 -I${libxml2}/include/libxml2 "+
"-I${libbonobo}/include/bonobo-activation-2.0 -I${ORBit2}/include/orbit-2.0 "+
"-I${gnome_keyring}/include/gnome-keyring-1 -I${libglade}/include/libglade-2.0";
LIBS = "-lgtk-x11-2.0 -lgnomecanvas-2 -lgconf-2 -lbonoboui-2 -lgnome-keyring";
}