wxwidgets_3_3: add withEGL and withPrivateFonts options

This commit is contained in:
liberodark
2026-06-25 07:30:43 +02:00
parent ca1b9e7037
commit 2a2432cd8e
+10 -1
View File
@@ -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 = {