* gdk-pixbuf: build gdk-pixbuf-xlib.

svn path=/nixpkgs/branches/x-updates/; revision=25961
This commit is contained in:
Eelco Dolstra 2011-02-14 13:44:01 +00:00
parent 8df800d92c
commit 070f7debe0
2 changed files with 10 additions and 10 deletions

View File

@ -1,7 +1,8 @@
{ stdenv, fetchurl, pkgconfig, bc, perl, pam
, libXext, libXScrnSaver, libX11, libXrandr, libXmu, libXxf86vm, libXrender
, libXxf86misc
, libjpeg, mesa, gtk , libxml2, libglade}:
, libjpeg, mesa, gtk, libxml2, libglade
}:
stdenv.mkDerivation rec {
version = "5.12";
@ -15,16 +16,14 @@ stdenv.mkDerivation rec {
buildInputs =
[ pkgconfig bc perl libjpeg mesa gtk libxml2 libglade pam
libXext libXScrnSaver libX11 libXrandr libXmu libXxf86vm libXrender
libXxf86misc ];
libXxf86misc
];
configureFlags =
[
"--with-gl" "--with-pam" "--with-pixbuf" "--with-proc-interrupts"
[ "--with-gl" "--with-pam" "--with-pixbuf" "--with-proc-interrupts"
"--with-dpms-ext" "--with-randr-ext" "--with-xinerama-ext"
"--with-xf86vmode-ext" "--with-xf86gamma-ext" "--with-randr-ext"
"--with-xshm-ext" "--with-xdbe-ext" "--without-readdisplay"
"--with-x-app-defaults=\${out}/share/xscreensaver/app-defaults"
];

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, glib, libtiff, libjpeg, libpng }:
{ stdenv, fetchurl, pkgconfig, glib, libtiff, libjpeg, libpng, xlibs }:
stdenv.mkDerivation rec {
name = "gdk-pixbuf-2.22.1";
@ -8,7 +8,8 @@ stdenv.mkDerivation rec {
sha256 = "6ce87eda24af9362307b2593c154d0b660f4e26d0abf2e71d46d0ddd55fd953d";
};
buildInputs = [ pkgconfig glib libtiff libjpeg libpng ];
# !!! We might want to factor out the gdk-pixbuf-xlib subpackage.
buildInputs = [ pkgconfig glib libtiff libjpeg libpng xlibs.xlibs ];
postInstall = "rm -rf $out/share/gtk-doc";