From: Hartmut Goebel <h.goebel@crazy-compilers.com>
To: 39186@debbugs.gnu.org
Subject: [bug#39186] [PATCH 01/10] gnu: Add qoauth.
Date: Sun, 19 Jan 2020 01:52:45 +0100 [thread overview]
Message-ID: <20200119005254.9521-1-h.goebel@crazy-compilers.com> (raw)
In-Reply-To: <20200119005046.9231-1-h.goebel@crazy-compilers.com>
* gnu/packages/web.scm (qoauth): New variable.
---
gnu/packages/web.scm | 45 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 5b457ccc5b..34e94208e7 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -106,6 +106,7 @@
#:use-module (gnu packages jemalloc)
#:use-module (gnu packages image)
#:use-module (gnu packages imagemagick)
+ #:use-module (gnu packages kde)
#:use-module (gnu packages libevent)
#:use-module (gnu packages libidn)
#:use-module (gnu packages libunistring)
@@ -829,6 +830,50 @@ instances, while JSON's objects will be mapped to @code{QVariantMap}.")
;; Only version 2.1 of the license
(license license:lgpl2.1)))
+(define-public qoauth
+ (package
+ (name "qoauth")
+ (version "2.0.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ayoy/qoauth.git")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1b2jdqs526ac635yb2whm049spcsk7almnnr6r5b4yqhq922anw3"))))
+ (build-system gnu-build-system)
+ (inputs
+ `(("qca" ,qca)
+ ("qtbase" ,qtbase)))
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'patch-code
+ (lambda _
+ (make-file-writable "src/qoauth.pc")
+ (substitute* "src/src.pro"
+ (("/lib64") "/lib"))
+ #t))
+ (delete 'configure) ; no configure script
+ (delete 'check) ; no test target
+ (add-before 'build 'qmake
+ (lambda _
+ (let ((qca (assoc-ref %build-inputs "qca")))
+ (invoke
+ "qmake"
+ (string-append "PREFIX=" (assoc-ref %outputs "out"))
+ (string-append "QMAKE_INCDIR+=" qca "/include/Qca-qt5/QtCrypto")
+ (string-append "LIBS+=-L" qca "/lib")
+ (string-append "LIBS+=-lqca-qt5"))))))))
+ (home-page "https://github.com/ayoy/qoauth")
+ (synopsis "Qt-based C++ library for OAuth authorization scheme")
+ (description "QOAuth is an attempt to support interaction with
+OAuth-powered network services in a Qt way, i.e. simply, clearly and
+efficiently. It gives the application developer no more than 4 methods.")
+ (license license:lgpl2.1+)))
+
(define-public krona-tools
(package
(name "krona-tools")
--
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 ` Hartmut Goebel [this message]
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 ` [bug#39186] [PATCH 07/10] gnu: Add libktorrent Hartmut Goebel
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-1-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.