aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorGuillaume Le Vaillant <glv@posteo.net>2020-03-22 17:06:36 +0100
committerGuillaume Le Vaillant <glv@posteo.net>2020-03-22 17:11:14 +0100
commitaaa8893715cd97aa8fdecab2180dac1fd0894070 (patch)
treebede2babf3f0ca8a27ea8ae6a44d1f6bf6009304 /gnu
parent23b39478977bd0812f861e24324915d18979aa70 (diff)
downloadguix-aaa8893715cd97aa8fdecab2180dac1fd0894070.tar
guix-aaa8893715cd97aa8fdecab2180dac1fd0894070.tar.gz
gnu: qbittorrent: Fix icons not showing in GUI.
* gnu/packages/bittorrent.scm (qbittorrent)[arguments]: Add a wrap-qt phase.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/bittorrent.scm13
1 files changed, 12 insertions, 1 deletions
diff --git a/gnu/packages/bittorrent.scm b/gnu/packages/bittorrent.scm
index fa63c49920..0f63c3d0f2 100644
--- a/gnu/packages/bittorrent.scm
+++ b/gnu/packages/bittorrent.scm
@@ -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)))