|
|
|
@ -38,9 +38,13 @@ stdenv.mkDerivation rec { |
|
|
|
|
++ optional xineramaSupport libXinerama |
|
|
|
|
++ optionals cupsSupport [ cups ]; |
|
|
|
|
|
|
|
|
|
configureFlags = if stdenv.isDarwin |
|
|
|
|
then "--disable-glibtest --disable-introspection --disable-visibility" |
|
|
|
|
else "--with-xinput=yes"; |
|
|
|
|
configureFlags = [ |
|
|
|
|
"--with-xinput=yes" |
|
|
|
|
] ++ stdenv.lib.optionals stdenv.isDarwin [ |
|
|
|
|
"--disable-glibtest" |
|
|
|
|
"--disable-introspection" |
|
|
|
|
"--disable-visibility" |
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|
postInstall = '' |
|
|
|
|
moveToOutput share/gtk-2.0/demo "$devdoc" |
|
|
|
|