mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
* gdk-pixbuf: build gdk-pixbuf-xlib.
svn path=/nixpkgs/branches/x-updates/; revision=25961
This commit is contained in:
parent
8df800d92c
commit
070f7debe0
@ -1,7 +1,8 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, bc, perl, pam
|
{ stdenv, fetchurl, pkgconfig, bc, perl, pam
|
||||||
, libXext, libXScrnSaver, libX11, libXrandr, libXmu, libXxf86vm, libXrender
|
, libXext, libXScrnSaver, libX11, libXrandr, libXmu, libXxf86vm, libXrender
|
||||||
, libXxf86misc
|
, libXxf86misc
|
||||||
, libjpeg, mesa, gtk , libxml2, libglade}:
|
, libjpeg, mesa, gtk, libxml2, libglade
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "5.12";
|
version = "5.12";
|
||||||
@ -14,17 +15,15 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs =
|
buildInputs =
|
||||||
[ pkgconfig bc perl libjpeg mesa gtk libxml2 libglade pam
|
[ pkgconfig bc perl libjpeg mesa gtk libxml2 libglade pam
|
||||||
libXext libXScrnSaver libX11 libXrandr libXmu libXxf86vm libXrender
|
libXext libXScrnSaver libX11 libXrandr libXmu libXxf86vm libXrender
|
||||||
libXxf86misc ];
|
libXxf86misc
|
||||||
|
];
|
||||||
|
|
||||||
configureFlags =
|
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-dpms-ext" "--with-randr-ext" "--with-xinerama-ext"
|
||||||
"--with-xf86vmode-ext" "--with-xf86gamma-ext" "--with-randr-ext"
|
"--with-xf86vmode-ext" "--with-xf86gamma-ext" "--with-randr-ext"
|
||||||
"--with-xshm-ext" "--with-xdbe-ext" "--without-readdisplay"
|
"--with-xshm-ext" "--with-xdbe-ext" "--without-readdisplay"
|
||||||
|
|
||||||
"--with-x-app-defaults=\${out}/share/xscreensaver/app-defaults"
|
"--with-x-app-defaults=\${out}/share/xscreensaver/app-defaults"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, glib, libtiff, libjpeg, libpng }:
|
{ stdenv, fetchurl, pkgconfig, glib, libtiff, libjpeg, libpng, xlibs }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "gdk-pixbuf-2.22.1";
|
name = "gdk-pixbuf-2.22.1";
|
||||||
@ -7,8 +7,9 @@ stdenv.mkDerivation rec {
|
|||||||
url = "mirror://gnome/sources/gdk-pixbuf/2.22/${name}.tar.bz2";
|
url = "mirror://gnome/sources/gdk-pixbuf/2.22/${name}.tar.bz2";
|
||||||
sha256 = "6ce87eda24af9362307b2593c154d0b660f4e26d0abf2e71d46d0ddd55fd953d";
|
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";
|
postInstall = "rm -rf $out/share/gtk-doc";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user