gnu: qbittorrent: Fix icons not showing in GUI.

* gnu/packages/bittorrent.scm (qbittorrent)[arguments]: Add a wrap-qt phase.
This commit is contained in:
Guillaume Le Vaillant 2020-03-22 17:06:36 +01:00
parent 23b3947897
commit aaa8893715
No known key found for this signature in database
GPG Key ID: 6BE8208ADF21FE3F

View File

@ -434,7 +434,18 @@ desktops.")
(assoc-ref %build-inputs "boost")
"/lib")
"--enable-debug"
"QMAKE_LRELEASE=lrelease")))
"QMAKE_LRELEASE=lrelease")
#:modules ((guix build gnu-build-system)
(guix build qt-utils)
(guix build utils))
#:imported-modules (,@%gnu-build-system-modules
(guix build qt-utils))
#:phases
(modify-phases %standard-phases
(add-after 'install 'wrap-qt
(lambda* (#:key outputs #:allow-other-keys)
(wrap-qt-program (assoc-ref outputs "out") "qbittorrent")
#t)))))
(native-inputs
`(("pkg-config" ,pkg-config)
("qttools" ,qttools)))