calibre: use webengine i/o webkit

As of v4, calibre supports qtwebengine so use that instead of the
deprecated qtwebkit.
wip/yesman
Peter Hoeg 4 years ago
parent 55668eb671
commit 1da9cd8676
  1. 2
      pkgs/applications/misc/calibre/default.nix

@ -47,7 +47,7 @@ mkDerivation rec {
] ++ lib.optional (!unrarSupport) ./dont_build_unrar_plugin.patch;
prePatch = ''
sed -i "/pyqt_sip_dir/ s:=.*:= '${pypkgs.pyqt5_with_qtwebkit}/share/sip/PyQt5':" \
sed -i "/pyqt_sip_dir/ s:=.*:= '${pypkgs.pyqt5}/share/sip/PyQt5':" \
setup/build_environment.py
# Remove unneeded files and libs

Loading…
Cancel
Save