wxwidgets_3_3: add withEGL and withPrivateFonts options
This commit is contained in:
@@ -27,6 +27,8 @@
|
||||
compat32 ? true,
|
||||
withMesa ? !stdenv.hostPlatform.isDarwin,
|
||||
withWebKit ? true,
|
||||
withEGL ? true,
|
||||
withPrivateFonts ? false,
|
||||
webkitgtk_4_1,
|
||||
}:
|
||||
|
||||
@@ -85,6 +87,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
(if compat32 then "--enable-compat32" else "--disable-compat32")
|
||||
]
|
||||
++ lib.optional withMesa "--with-opengl"
|
||||
++ lib.optional (!withEGL) "--disable-glcanvasegl"
|
||||
++ lib.optional withPrivateFonts "--enable-privatefonts"
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
"--with-macosx-version-min=${stdenv.hostPlatform.darwinMinVersion}"
|
||||
"--with-osx_cocoa"
|
||||
@@ -115,7 +119,12 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru = {
|
||||
inherit compat30 compat32;
|
||||
inherit
|
||||
compat30
|
||||
compat32
|
||||
withEGL
|
||||
withPrivateFonts
|
||||
;
|
||||
};
|
||||
|
||||
meta = {
|
||||
|
||||
Reference in New Issue
Block a user