mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-18 03:04:32 +03:00
wxGTK30: fix compat2* flags
This commit is contained in:
parent
4bcf0dcf8d
commit
cd5a0133f7
@ -12,8 +12,8 @@
|
|||||||
, pkg-config
|
, pkg-config
|
||||||
, xorgproto
|
, xorgproto
|
||||||
, withMesa ? lib.elem stdenv.hostPlatform.system lib.platforms.mesaPlatforms
|
, withMesa ? lib.elem stdenv.hostPlatform.system lib.platforms.mesaPlatforms
|
||||||
, compat24 ? false
|
, compat26 ? false
|
||||||
, compat26 ? true
|
, compat28 ? true
|
||||||
, unicode ? true
|
, unicode ? true
|
||||||
, withGtk2 ? true
|
, withGtk2 ? true
|
||||||
, withWebKit ? false, webkitgtk
|
, withWebKit ? false, webkitgtk
|
||||||
@ -72,8 +72,8 @@ stdenv.mkDerivation rec {
|
|||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--disable-precomp-headers"
|
"--disable-precomp-headers"
|
||||||
"--enable-mediactrl"
|
"--enable-mediactrl"
|
||||||
(if compat24 then "--enable-compat24" else "--disable-compat24")
|
|
||||||
(if compat26 then "--enable-compat26" else "--disable-compat26")
|
(if compat26 then "--enable-compat26" else "--disable-compat26")
|
||||||
|
(if compat28 then "--enable-compat28" else "--disable-compat28")
|
||||||
]
|
]
|
||||||
++ lib.optional unicode "--enable-unicode"
|
++ lib.optional unicode "--enable-unicode"
|
||||||
++ lib.optional withMesa "--with-opengl"
|
++ lib.optional withMesa "--with-opengl"
|
||||||
@ -133,6 +133,6 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
inherit gtk;
|
inherit gtk;
|
||||||
inherit compat24 compat26 unicode;
|
inherit compat26 compat28 unicode;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user