qtbase: Preserve configuration options on Qt < 5.15
This commit is contained in:
parent
d6a57a8f4d
commit
b3d72930d8
@ -296,6 +296,7 @@ stdenv.mkDerivation {
|
|||||||
''-${lib.optionalString (!buildExamples) "no"}make examples''
|
''-${lib.optionalString (!buildExamples) "no"}make examples''
|
||||||
''-${lib.optionalString (!buildTests) "no"}make tests''
|
''-${lib.optionalString (!buildTests) "no"}make tests''
|
||||||
]
|
]
|
||||||
|
++ lib.optional (compareVersion "5.15.0" < 0) "-v"
|
||||||
|
|
||||||
++ (
|
++ (
|
||||||
if stdenv.isDarwin
|
if stdenv.isDarwin
|
||||||
@ -310,7 +311,9 @@ stdenv.mkDerivation {
|
|||||||
else
|
else
|
||||||
[
|
[
|
||||||
"-${lib.optionalString (compareVersion "5.9.0" < 0) "no-"}rpath"
|
"-${lib.optionalString (compareVersion "5.9.0" < 0) "no-"}rpath"
|
||||||
|
]
|
||||||
|
++ lib.optional (compareVersion "5.15.0" < 0) "-system-xcb"
|
||||||
|
++ [
|
||||||
"-xcb"
|
"-xcb"
|
||||||
"-qpa xcb"
|
"-qpa xcb"
|
||||||
"-L" "${libX11.out}/lib"
|
"-L" "${libX11.out}/lib"
|
||||||
@ -325,6 +328,9 @@ stdenv.mkDerivation {
|
|||||||
''-${lib.optionalString (cups == null) "no-"}cups''
|
''-${lib.optionalString (cups == null) "no-"}cups''
|
||||||
"-dbus-linked"
|
"-dbus-linked"
|
||||||
"-glib"
|
"-glib"
|
||||||
|
]
|
||||||
|
++ lib.optional (compareVersion "5.15.0" < 0) "-system-libjpeg"
|
||||||
|
++ [
|
||||||
"-system-libpng"
|
"-system-libpng"
|
||||||
]
|
]
|
||||||
++ lib.optional withGtk3 "-gtk"
|
++ lib.optional withGtk3 "-gtk"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user