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 @@ (define-public calibre
(("\\[tool.sip.project\\]") (("\\[tool.sip.project\\]")
(string-append "[tool.sip.project] (string-append "[tool.sip.project]
sip-include-dirs = [\"" sip-include-dirs = [\""
#$(this-package-input #$(this-package-input "python-pyqt")
"python-pyqt") "/lib/python3.10/site-packages/PyQt5/bindings\"]")))
"/share/sip\"]")))
(substitute* "src/calibre/ebooks/pdf/pdftohtml.py" (substitute* "src/calibre/ebooks/pdf/pdftohtml.py"
(("PDFTOHTML = 'pdftohtml'") (("PDFTOHTML = 'pdftohtml'")
(string-append "PDFTOHTML = \"" (string-append "PDFTOHTML = \""