gnu: jami-qt: Remove the custom wrap phase.

Commit 06eb21856f made it necessary, since it is now handled by the Qt build
system itself.

* gnu/packages/jami.scm (jami-qt)[phases]{wrap}: Remove phase.
This commit is contained in:
Maxim Cournoyer 2021-04-09 23:20:18 -04:00
parent fed28a9632
commit 59134f1e02
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -585,25 +585,13 @@ (define-public jami-qt
(outputs '("out" "debug"))
(arguments
`(#:tests? #f ;no test suite
#:phases
(modify-phases %standard-phases
;; TODO: Uncomment after switching back to the tarball source.
;; (add-after 'unpack 'change-directory
;; (lambda _
;; (chdir "client-qt")))
(add-after 'install 'wrap
;; The program fails to find the QtWebEngineProcess program, so we
;; set QTWEBENGINEPROCESS_PATH to help it.
(lambda* (#:key inputs outputs #:allow-other-keys)
(let ((bin (string-append (assoc-ref outputs "out") "/bin"))
(qtwebengineprocess (string-append
(assoc-ref inputs "qtwebengine")
"/lib/qt5/libexec/QtWebEngineProcess")))
(for-each (lambda (program)
(wrap-program program
`("QTWEBENGINEPROCESS_PATH" =
(,qtwebengineprocess))))
(find-files bin ".*"))))))))
;; TODO: Uncomment after switching back to the tarball source.
;; #:phases
;; (modify-phases %standard-phases
;; (add-after 'unpack 'change-directory
;; (lambda _
;; (chdir "client-qt"))))
))
(native-inputs
`(("pkg-config" ,pkg-config)
("qttools" ,qttools)