Merge pull request #48700 from alyssais/qtwebkit-darwin
qt59.qtwebkit: fix build on Darwin
This commit is contained in:
commit
43130899ab
@ -1,5 +1,5 @@
|
|||||||
{ qtModule, stdenv, lib, fetchurl
|
{ qtModule, stdenv, lib, fetchurl
|
||||||
, qtbase, qtdeclarative, qtlocation, qtsensors, qtwebchannel
|
, qtbase, qtdeclarative, qtlocation, qtmultimedia, qtsensors, qtwebchannel
|
||||||
, fontconfig, gdk_pixbuf, gtk2, libwebp, libxml2, libxslt
|
, fontconfig, gdk_pixbuf, gtk2, libwebp, libxml2, libxslt
|
||||||
, sqlite, systemd, glib, gst_all_1, cmake
|
, sqlite, systemd, glib, gst_all_1, cmake
|
||||||
, bison2, flex, gdb, gperf, perl, pkgconfig, python2, ruby
|
, bison2, flex, gdb, gperf, perl, pkgconfig, python2, ruby
|
||||||
@ -23,7 +23,9 @@ let
|
|||||||
in
|
in
|
||||||
qtModule {
|
qtModule {
|
||||||
name = "qtwebkit";
|
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 ]
|
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 (stdenv.isDarwin) (with darwin.apple_sdk.frameworks; [ OpenGL ])
|
||||||
++ optionals (lib.versionAtLeast qtbase.version "5.11.0") [ hyphen ];
|
++ optionals (lib.versionAtLeast qtbase.version "5.11.0") [ hyphen ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user