Merge pull request #48700 from alyssais/qtwebkit-darwin
qt59.qtwebkit: fix build on Darwin
This commit is contained in:
commit
43130899ab
1 changed files with 4 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
{ qtModule, stdenv, lib, fetchurl
|
||||
, qtbase, qtdeclarative, qtlocation, qtsensors, qtwebchannel
|
||||
, qtbase, qtdeclarative, qtlocation, qtmultimedia, qtsensors, qtwebchannel
|
||||
, fontconfig, gdk_pixbuf, gtk2, libwebp, libxml2, libxslt
|
||||
, sqlite, systemd, glib, gst_all_1, cmake
|
||||
, bison2, flex, gdb, gperf, perl, pkgconfig, python2, ruby
|
||||
|
@ -23,7 +23,9 @@ let
|
|||
in
|
||||
qtModule {
|
||||
name = "qtwebkit";
|
||||
qtInputs = [ qtbase qtdeclarative qtlocation qtsensors ] ++ optionals (lib.versionAtLeast qtbase.version "5.11.0") [ qtwebchannel ];
|
||||
qtInputs = [ qtbase qtdeclarative qtlocation qtsensors ]
|
||||
++ optional (stdenv.isDarwin && lib.versionAtLeast qtbase.version "5.9.0") qtmultimedia
|
||||
++ optional (lib.versionAtLeast qtbase.version "5.11.0") qtwebchannel;
|
||||
buildInputs = [ fontconfig libwebp libxml2 libxslt sqlite glib gst_all_1.gstreamer gst_all_1.gst-plugins-base ]
|
||||
++ optionals (stdenv.isDarwin) (with darwin.apple_sdk.frameworks; [ OpenGL ])
|
||||
++ optionals (lib.versionAtLeast qtbase.version "5.11.0") [ hyphen ];
|
||||
|
|
Loading…
Reference in a new issue