gnu: calibre: Fix build.

* gnu/packages/ebook.scm (calibre): Change path to .sip include directory
for PyQt5.
This commit is contained in:
Andreas Enge 2023-04-03 19:19:06 +02:00
parent cebcf3533a
commit a1d4722b04
No known key found for this signature in database
GPG Key ID: F7D5C9BF765C61E3

View File

@ -245,9 +245,8 @@ tags = [\"WS_X11\"]")
(("\\[tool.sip.project\\]")
(string-append "[tool.sip.project]
sip-include-dirs = [\""
#$(this-package-input
"python-pyqt")
"/share/sip\"]")))
#$(this-package-input "python-pyqt")
"/lib/python3.10/site-packages/PyQt5/bindings\"]")))
(substitute* "src/calibre/ebooks/pdf/pdftohtml.py"
(("PDFTOHTML = 'pdftohtml'")
(string-append "PDFTOHTML = \""