gnu: qpdfview: Fix build.

* gnu/packages/pdf.scm (qpdfview)[arguments]: Fix 'configure' phase.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
This commit is contained in:
Josselin Poiret 2021-10-21 15:03:57 +02:00 committed by Guillaume Le Vaillant
parent bcad95d054
commit e5f21c7e38
No known key found for this signature in database
GPG Key ID: 6BE8208ADF21FE3F

View File

@ -866,9 +866,9 @@ program capable of converting PDF into other formats.")
#:phases
(modify-phases %standard-phases
(replace 'configure
(lambda _
(lambda* (#:key outputs #:allow-other-keys)
(substitute* "qpdfview.pri"
(("/usr") (assoc-ref %outputs "out")))
(("/usr") (assoc-ref outputs "out")))
(invoke "qmake" "qpdfview.pro"))))))
(home-page "https://launchpad.net/qpdfview")
(synopsis "Tabbed document viewer")