cairo: move defaults to package file
This commit is contained in:
parent
4bc66b1994
commit
11e3bceff0
2 changed files with 5 additions and 7 deletions
|
@ -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
|
||||
}:
|
||||
|
|
|
@ -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 { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue