guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Fis Trivial
Subject: [bug#31084] [PATCH 2/2] gnu: Add qBittorrent.
Date: Fri, 6 Apr 2018 20:07:28 +0000

* gnu/packages/bittorrent.scm (qBittorrent): New public variable.
---
 gnu/packages/bittorrent.scm | 45 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)

diff --git a/gnu/packages/bittorrent.scm b/gnu/packages/bittorrent.scm
index b168f88e0..6c804af70 100644
--- a/gnu/packages/bittorrent.scm
+++ b/gnu/packages/bittorrent.scm
@@ -53,6 +53,7 @@
   #:use-module (gnu packages ncurses)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages python)
+  #:use-module (gnu packages qt)
   #:use-module (gnu packages ssh)
   #:use-module (gnu packages tls)
   #:use-module (gnu packages xml))
@@ -408,4 +409,48 @@ focusing on efficiency and scalability.  It runs on 
embedded devices as well as
 desktops.")
     (license l:bsd-2)))
 
+(define-public qbittorrent
+  (package
+    (name "qbittorrent")
+    (version "4.0.4")
+    (source (origin
+              (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"))
+              (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")))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)
+       ("qttools" ,qttools)))
+    (inputs
+     `(("boost" ,boost)
+       ("libtorrent-rasterbar" ,libtorrent-rasterbar)
+       ("openssl" ,openssl)
+       ("python" ,python)
+       ("qtbase" ,qtbase)
+       ("qtsvg" ,qtsvg)
+       ("zlib" ,zlib)))
+    (home-page "https://www.qbittorrent.org/";)
+    (synopsis "BitTorrent client")
+    (description
+     "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.")
+    (license l:gpl2+)))
-- 
2.14.3






reply via email to

[Prev in Thread] Current Thread [Next in Thread]