Skip to content

Commit

Permalink
qutebrowser: drop QtWebKit support
Browse files Browse the repository at this point in the history
From the qutebrowser README:

  "support for QtWebKit will be dropped soon"
  • Loading branch information
veprbl committed Dec 27, 2018
1 parent 07a6736 commit 8df467e
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
, libxslt, gst_all_1 ? null
, withPdfReader ? true
, withMediaPlayback ? true
, withWebEngineDefault ? true
}:

assert withMediaPlayback -> gst_all_1 != null;
Expand Down Expand Up @@ -39,7 +38,7 @@ in python3Packages.buildPythonApplication rec {
] ++ lib.optionals withMediaPlayback (with gst_all_1; [
gst-plugins-base gst-plugins-good
gst-plugins-bad gst-plugins-ugly gst-libav
]) ++ lib.optional (!withWebEngineDefault) python3Packages.qtwebkit-plugins;
]);

nativeBuildInputs = [
makeWrapper wrapGAppsHook asciidoc
Expand Down Expand Up @@ -90,10 +89,6 @@ in python3Packages.buildPythonApplication rec {
done
'';

postFixup = lib.optionalString (! withWebEngineDefault) ''
wrapProgram $out/bin/qutebrowser --add-flags "--backend webkit"
'';

meta = with stdenv.lib; {
homepage = https://github.com/The-Compiler/qutebrowser;
description = "Keyboard-focused browser with a minimal GUI";
Expand Down

0 comments on commit 8df467e

Please sign in to comment.