gtk+: enable xcursor support, fixes #469

@vcunat also reorganized the build input lists a bit
This commit is contained in:
Song Wenwu 2013-04-18 10:56:10 +08:00 committed by Vladimír Čunát
parent 5fce03c561
commit 3b01d244c3
2 changed files with 6 additions and 6 deletions

View File

@ -19,11 +19,11 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ perl pkgconfig ];
propagatedBuildInputs =
[ xlibs.xlibs glib atk pango gdk_pixbuf cairo
xlibs.libXrandr xlibs.libXrender xlibs.libXcomposite xlibs.libXi
propagatedBuildInputs = with xlibs;
[ glib cairo pango gdk_pixbuf atk
libXrandr libXrender libXcomposite libXi libXcursor
]
++ stdenv.lib.optional xineramaSupport xlibs.libXinerama
++ stdenv.lib.optional xineramaSupport libXinerama
++ stdenv.lib.optionals cupsSupport [ cups ];
configureFlags = "--with-xinput=yes";

View File

@ -20,8 +20,8 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig ];
propagatedBuildInputs = with xlibs; [
expat glib cairo pango gdk_pixbuf atk at_spi2_atk
libXrandr libXrender libXcomposite libXi
] ++ stdenv.lib.optional xineramaSupport xlibs.libXinerama
libXrandr libXrender libXcomposite libXi libXcursor
] ++ stdenv.lib.optional xineramaSupport libXinerama
++ stdenv.lib.optionals cupsSupport [ cups ];
postInstall = "rm -rf $out/share/gtk-doc";