nongnu: lgogdownloader: Add captcha support.

* nongnu/packages/gog.scm (lgogdownloader)
[inputs]: Add qtbase, qtdeclarative, qtwebchannel and qtwebengine.
[arguments]: Configure with GUI support.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
This commit is contained in:
Timotej Lazar 2021-02-15 21:17:26 +01:00 committed by Jonathan Brielmaier
parent 6080d68a49
commit 0da7b3710f
No known key found for this signature in database
GPG key ID: ECFC83988B4E4B9F

View file

@ -1,4 +1,5 @@
;;; Copyright © 2019, 2020 Alex Griffin <a@ajgrf.com> ;;; Copyright © 2019, 2020 Alex Griffin <a@ajgrf.com>
;;; Copyright © 2021 Timotej Lazar <timotej.lazar@araneo.si>
;;; ;;;
;;; This program is free software: you can redistribute it and/or modify ;;; This program is free software: you can redistribute it and/or modify
;;; it under the terms of the GNU General Public License as published by ;;; it under the terms of the GNU General Public License as published by
@ -20,6 +21,7 @@
#:use-module (gnu packages curl) #:use-module (gnu packages curl)
#:use-module (gnu packages man) #:use-module (gnu packages man)
#:use-module (gnu packages pkg-config) #:use-module (gnu packages pkg-config)
#:use-module (gnu packages qt)
#:use-module (gnu packages serialization) #:use-module (gnu packages serialization)
#:use-module (gnu packages web) #:use-module (gnu packages web)
#:use-module (gnu packages xml) #:use-module (gnu packages xml)
@ -43,13 +45,18 @@
(base32 "02zn4zc9hqym81vbs88x5ayk2xb808jlvfyvn96ksx1ai4b6a4fz")))) (base32 "02zn4zc9hqym81vbs88x5ayk2xb808jlvfyvn96ksx1ai4b6a4fz"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments (arguments
`(#:tests? #f)) ; no tests `(#:configure-flags '("-DUSE_QT_GUI=ON")
#:tests? #f)) ; no tests
(inputs (inputs
`(("boost" ,boost) `(("boost" ,boost)
("curl" ,curl) ("curl" ,curl)
("htmlcxx" ,htmlcxx) ("htmlcxx" ,htmlcxx)
("jsoncpp" ,jsoncpp) ("jsoncpp" ,jsoncpp)
("liboauth" ,liboauth) ("liboauth" ,liboauth)
("qtbase" ,qtbase)
("qtdeclarative" ,qtdeclarative)
("qtwebchannel" ,qtwebchannel)
("qtwebengine" ,qtwebengine)
("rhash" ,rhash) ("rhash" ,rhash)
("tinyxml2" ,tinyxml2) ("tinyxml2" ,tinyxml2)
("zlib" ,zlib))) ("zlib" ,zlib)))