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