3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/qt-5/5.6/qtwebkit/default.nix

36 lines
1.2 KiB
Nix
Raw Normal View History

{ qtSubmodule, stdenv, qtdeclarative, qtlocation, qtsensors
, fontconfig, gdk_pixbuf, gtk2, libwebp, libxml2, libxslt
, sqlite, systemd, glib, gst_all_1
2016-10-18 22:00:22 +01:00
, bison2, flex, gdb, gperf, perl, pkgconfig, python2, ruby
2016-08-17 14:37:27 +01:00
, substituteAll
, flashplayerFix ? false
}:
with stdenv.lib;
qtSubmodule {
name = "qtwebkit";
qtInputs = [ qtdeclarative qtlocation qtsensors ];
buildInputs = [ fontconfig libwebp libxml2 libxslt sqlite glib gst_all_1.gstreamer gst_all_1.gst-plugins-base ];
2016-08-17 14:37:27 +01:00
nativeBuildInputs = [
2016-10-18 22:00:22 +01:00
bison2 flex gdb gperf perl pkgconfig python2 ruby
2016-08-17 14:37:27 +01:00
];
patches =
let dlopen-webkit-nsplugin = substituteAll {
src = ./0001-dlopen-webkit-nsplugin.patch;
gtk = gtk2.out;
2016-08-17 14:37:27 +01:00
gdk_pixbuf = gdk_pixbuf.out;
};
dlopen-webkit-gtk = substituteAll {
src = ./0002-dlopen-webkit-gtk.patch;
gtk = gtk2.out;
2016-08-17 14:37:27 +01:00
};
dlopen-webkit-udev = substituteAll {
src = ./0003-dlopen-webkit-udev.patch;
libudev = systemd.lib;
2016-08-17 14:37:27 +01:00
};
in optionals flashplayerFix [ dlopen-webkit-nsplugin dlopen-webkit-gtk ]
++ [ dlopen-webkit-udev ];
meta.maintainers = with stdenv.lib.maintainers; [ abbradar ];
2016-08-17 14:37:27 +01:00
}