qutebrowser: drop QtWebKit support
From the qutebrowser README: "support for QtWebKit will be dropped soon"
This commit is contained in:
parent
07a67363b7
commit
8df467ebd6
@ -4,7 +4,6 @@
|
|||||||
, libxslt, gst_all_1 ? null
|
, libxslt, gst_all_1 ? null
|
||||||
, withPdfReader ? true
|
, withPdfReader ? true
|
||||||
, withMediaPlayback ? true
|
, withMediaPlayback ? true
|
||||||
, withWebEngineDefault ? true
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
assert withMediaPlayback -> gst_all_1 != null;
|
assert withMediaPlayback -> gst_all_1 != null;
|
||||||
@ -39,7 +38,7 @@ in python3Packages.buildPythonApplication rec {
|
|||||||
] ++ lib.optionals withMediaPlayback (with gst_all_1; [
|
] ++ lib.optionals withMediaPlayback (with gst_all_1; [
|
||||||
gst-plugins-base gst-plugins-good
|
gst-plugins-base gst-plugins-good
|
||||||
gst-plugins-bad gst-plugins-ugly gst-libav
|
gst-plugins-bad gst-plugins-ugly gst-libav
|
||||||
]) ++ lib.optional (!withWebEngineDefault) python3Packages.qtwebkit-plugins;
|
]);
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
makeWrapper wrapGAppsHook asciidoc
|
makeWrapper wrapGAppsHook asciidoc
|
||||||
@ -90,10 +89,6 @@ in python3Packages.buildPythonApplication rec {
|
|||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postFixup = lib.optionalString (! withWebEngineDefault) ''
|
|
||||||
wrapProgram $out/bin/qutebrowser --add-flags "--backend webkit"
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = https://github.com/The-Compiler/qutebrowser;
|
homepage = https://github.com/The-Compiler/qutebrowser;
|
||||||
description = "Keyboard-focused browser with a minimal GUI";
|
description = "Keyboard-focused browser with a minimal GUI";
|
||||||
|
Loading…
Reference in New Issue
Block a user