calibre: use webengine i/o webkit

As of v4, calibre supports qtwebengine so use that instead of the
deprecated qtwebkit.
This commit is contained in:
Peter Hoeg 2020-07-03 09:52:59 +08:00
parent 55668eb671
commit 1da9cd8676

View File

@ -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