mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
qtbase: Preserve configuration options on Qt < 5.15
This commit is contained in:
parent
d6a57a8f4d
commit
b3d72930d8
1 changed files with 7 additions and 1 deletions
|
@ -296,6 +296,7 @@ stdenv.mkDerivation {
|
|||
''-${lib.optionalString (!buildExamples) "no"}make examples''
|
||||
''-${lib.optionalString (!buildTests) "no"}make tests''
|
||||
]
|
||||
++ lib.optional (compareVersion "5.15.0" < 0) "-v"
|
||||
|
||||
++ (
|
||||
if stdenv.isDarwin
|
||||
|
@ -310,7 +311,9 @@ stdenv.mkDerivation {
|
|||
else
|
||||
[
|
||||
"-${lib.optionalString (compareVersion "5.9.0" < 0) "no-"}rpath"
|
||||
|
||||
]
|
||||
++ lib.optional (compareVersion "5.15.0" < 0) "-system-xcb"
|
||||
++ [
|
||||
"-xcb"
|
||||
"-qpa xcb"
|
||||
"-L" "${libX11.out}/lib"
|
||||
|
@ -325,6 +328,9 @@ stdenv.mkDerivation {
|
|||
''-${lib.optionalString (cups == null) "no-"}cups''
|
||||
"-dbus-linked"
|
||||
"-glib"
|
||||
]
|
||||
++ lib.optional (compareVersion "5.15.0" < 0) "-system-libjpeg"
|
||||
++ [
|
||||
"-system-libpng"
|
||||
]
|
||||
++ lib.optional withGtk3 "-gtk"
|
||||
|
|
Loading…
Reference in a new issue