Subject: Re: [bug#31084] [PATCH 2/2] gnu: Add qBittorrent.

From: [email-masked] (Ludovic Courtès)
Date: Tue, 10 Apr 2018 23:11:40 +0200

Fis Trivial <[email-masked]> skribis:

> * gnu/packages/bittorrent.scm (qBittorrent): New public variable.

Applied with the changes below, thanks!

Ludo'.

diff --git a/gnu/packages/bittorrent.scm b/gnu/packages/bittorrent.scm
index 6c804af70..c6b9d74f3 100644
--- a/gnu/packages/bittorrent.scm
+++ b/gnu/packages/bittorrent.scm
@@ -7,6 +7,7 @@
 ;;; Copyright © 2016 Tomáš Čech <[email-masked]>
 ;;; Copyright © 2016, 2017, 2018 Tobias Geerinckx-Rice <[email-masked]>
 ;;; Copyright © 2017 Jelle Licht <[email-masked]>
+;;; Copyright © 2018 Fis Trivial <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -417,22 +418,19 @@ desktops.")
               (method url-fetch)
               (uri (string-append
                     "https://github.com/qbittorrent/qBittorrent/archive/release-"
-                    version
-                    ".tar.gz"))
-              (file-name (string-append
-                          name "-release-" version ".tar.gz"))
+                    version ".tar.gz"))
+              (file-name (string-append name "-release-" version ".tar.gz"))
               (sha256
                (base32
                 "145r4lv7rqdhrm5znn3ndxsfdf579n46zvj7c53c422am8ir5xhp"))))
     (build-system gnu-build-system)
     (arguments
      `(#:configure-flags
-       (list
-        (string-append "--with-boost-libdir="
-                       (assoc-ref %build-inputs "boost")
-                       "/lib")
-        "--enable-debug"
-        "QMAKE_LRELEASE=lrelease")))
+       (list (string-append "--with-boost-libdir="
+                            (assoc-ref %build-inputs "boost")
+                            "/lib")
+             "--enable-debug"
+             "QMAKE_LRELEASE=lrelease")))
     (native-inputs
      `(("pkg-config" ,pkg-config)
        ("qttools" ,qttools)))
@@ -445,12 +443,12 @@ desktops.")
        ("qtsvg" ,qtsvg)
        ("zlib" ,zlib)))
     (home-page "https://www.qbittorrent.org/")
-    (synopsis "BitTorrent client")
+    (synopsis "Graphical BitTorrent client")
     (description
-     "qBittorrent is a bittorrent client programmed in C++ / Qt that uses
- libtorrent (sometimes called libtorrent-rasterbar) by Arvid Norberg.
+     "qBittorrent is a BitTorrent client programmed in C++/Qt that uses
+libtorrent (sometimes called libtorrent-rasterbar) by Arvid Norberg.
 
-It aims to be a good alternative to all other bittorrent clients out there.
- qBittorrent is fast, stable and provides unicode support as well as many
- features.")
+It aims to be a good alternative to all other BitTorrent clients out there.
+qBittorrent is fast, stable and provides unicode support as well as many
+features.")
     (license l:gpl2+)))