cairo: move defaults to package file

This commit is contained in:
Jan Malakhovski 2019-02-03 15:32:17 +00:00
parent 4bc66b1994
commit 11e3bceff0
2 changed files with 5 additions and 7 deletions

View file

@ -1,8 +1,10 @@
{ stdenv, fetchurl, pkgconfig, libiconv
{ config, stdenv, fetchurl, pkgconfig, libiconv
, libintl, expat, zlib, libpng, pixman, fontconfig, freetype, xorg
, gobjectSupport ? true, glib
, xcbSupport ? true # no longer experimental since 1.12
, glSupport ? true, libGL ? null # libGLU_combined is no longer a big dependency
, libGLSupported
, glSupport ? config.cairo.gl or (libGLSupported && stdenv.isLinux && !stdenv.isAarch32 && !stdenv.isMips)
, libGL ? null # libGLU_combined is no longer a big dependency
, pdfSupport ? true
, darwin
}:

View file

@ -10118,11 +10118,7 @@ in
pixman = callPackage ../development/libraries/pixman { };
cairo = callPackage ../development/libraries/cairo {
glSupport = config.cairo.gl or (stdenv.isLinux &&
!stdenv.isAarch32 && !stdenv.isMips);
};
cairo = callPackage ../development/libraries/cairo { };
cairomm = callPackage ../development/libraries/cairomm { };