From: Hartmut Goebel <h.goebel@crazy-compilers.com>
To: 39186@debbugs.gnu.org
Subject: [bug#39186] [PATCH 07/10] gnu: Add libktorrent.
Date: Sun, 19 Jan 2020 01:52:51 +0100 [thread overview]
Message-ID: <20200119005254.9521-7-h.goebel@crazy-compilers.com> (raw)
In-Reply-To: <20200119005254.9521-1-h.goebel@crazy-compilers.com>
* gnu/packages/kde-internet.scm (libktorrent): New variable.
---
gnu/packages/kde-internet.scm | 45 +++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
diff --git a/gnu/packages/kde-internet.scm b/gnu/packages/kde-internet.scm
index 56695b36e6..7549b7e3d7 100644
--- a/gnu/packages/kde-internet.scm
+++ b/gnu/packages/kde-internet.scm
@@ -34,6 +34,7 @@
#:use-module (gnu packages libidn)
#:use-module (gnu packages linux)
#:use-module (gnu packages messaging)
+ #:use-module (gnu packages multiprecision)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages qt)
#:use-module (gnu packages rdesktop)
@@ -372,3 +373,47 @@ server. VNC and RDP are supported.
This package is part of the KDE networking module.")
(license ;; GPL for programs, LGPL for libraries, FDL for documentation
(list license:gpl2+ license:lgpl2.0+ license:fdl1.2+))))
+
+(define-public libktorrent
+ (package
+ (name "libktorrent")
+ (version "2.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ ;; TODO: Base on version of ktorrent
+ (uri (string-append "mirror://kde//stable/ktorrent/5.1.2"
+ "/libktorrent-" version ".tar.xz"))
+ (sha256
+ (base32 "0051zh8bb4p9wmcfn5ql987brhsaiw9880xdck7b5dm1a05mri2w"))))
+ (build-system qt-build-system)
+ (native-inputs
+ `(("extra-cmake-modules" ,extra-cmake-modules)))
+ (inputs
+ `(("boost" ,boost)
+ ("gmp" ,gmp)
+ ("karchive" ,karchive)
+ ("kcrash" ,kcrash)
+ ("ki18n" ,ki18n)
+ ("kio" ,kio)
+ ("libgcrypt" ,libgcrypt)
+ ("qca" ,qca)
+ ("qtbase" ,qtbase)
+ ("solid" ,solid)))
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-before 'check 'check-setup
+ (lambda _
+ ;; Make Qt render "offscreen", required for tests
+ (setenv "QT_QPA_PLATFORM" "offscreen")
+ #t)))))
+ (home-page "https://cgit.kde.org/libktorrent.git")
+ (synopsis "BitTorrent protocol library for C++ / Qt 5 / KDE Frameworks")
+ (description "The KTorrent library supports connectivity to HTTP and UDP
+trackers, mainline DHT and the new generation Micro Transport
+Protocol (uTP). In addition, it provides many powerful BitTorrent network
+features including but not limited to torrent downloading and seeding, torrent
+creation and downloaded data verification, magnet links, advanced peer
+management, IP blocking lists.")
+ (license license:gpl2+)))
--
2.21.1
next prev parent reply other threads:[~2020-01-19 0:54 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-19 0:50 [bug#39186] [PATCH 00/10] Some KDE Internet packages Hartmut Goebel
2020-01-19 0:52 ` [bug#39186] [PATCH 01/10] gnu: Add qoauth Hartmut Goebel
2020-01-19 0:52 ` [bug#39186] [PATCH 02/10] gnu: Add choqok Hartmut Goebel
2020-01-19 0:52 ` [bug#39186] [PATCH 03/10] gnu: Add kget Hartmut Goebel
2020-01-19 0:52 ` [bug#39186] [PATCH 04/10] gnu: Add konversation Hartmut Goebel
2020-01-19 0:52 ` [bug#39186] [PATCH 05/10] gnu: Add kopete Hartmut Goebel
2020-01-19 0:52 ` [bug#39186] [PATCH 06/10] gnu: Add krdc Hartmut Goebel
2020-01-19 0:52 ` Hartmut Goebel [this message]
2020-01-19 0:52 ` [bug#39186] [PATCH 08/10] gnu: Add ktorrent Hartmut Goebel
2020-01-19 0:52 ` [bug#39186] [PATCH 09/10] gnu: libktorrent: Base source-code URL on version of ktorrent Hartmut Goebel
2020-01-19 0:52 ` [bug#39186] [PATCH 10/10] gnu: Add libgravatar Hartmut Goebel
[not found] ` <handler.39186.B.15793950652077.ack@debbugs.gnu.org>
2020-02-03 13:46 ` bug#39186: Acknowledgement ([PATCH 00/10] Some KDE Internet packages.) Hartmut Goebel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200119005254.9521-7-h.goebel@crazy-compilers.com \
--to=h.goebel@crazy-compilers.com \
--cc=39186@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.