gnu: qpdfview: Use new package style.

* gnu/packages/pdf.scm (qpdfview)[arguments]: Use gexps.

Signed-off-by: Leo Famulari <leo@famulari.name>
This commit is contained in:
Timotej Lazar 2023-02-24 17:35:04 +01:00 committed by Leo Famulari
parent 5cd3619545
commit 5609d7dab9
No known key found for this signature in database
GPG key ID: 2646FA30BACA7F08

View file

@ -908,14 +908,14 @@ (define-public qpdfview
qtbase-5
qtsvg-5))
(arguments
`(#:tests? #f ; no tests
#:phases
(modify-phases %standard-phases
(replace 'configure
(lambda* (#:key outputs #:allow-other-keys)
(substitute* "qpdfview.pri"
(("/usr") (assoc-ref outputs "out")))
(invoke "qmake" "qpdfview.pro"))))))
(list #:tests? #f ; no tests
#:phases
#~(modify-phases %standard-phases
(replace 'configure
(lambda _
(substitute* "qpdfview.pri"
(("/usr") #$output))
(invoke "qmake" "qpdfview.pro"))))))
(home-page "https://launchpad.net/qpdfview")
(synopsis "Tabbed document viewer")
(description "@command{qpdfview} is a document viewer for PDF, PS and DJVU