2020-04-10 21:58:01 +02:00
|
|
|
;;; Copyright © 2019, 2020 Alex Griffin <a@ajgrf.com>
|
2021-02-15 21:17:26 +01:00
|
|
|
;;; Copyright © 2021 Timotej Lazar <timotej.lazar@araneo.si>
|
2019-05-26 20:17:27 +02:00
|
|
|
;;;
|
|
|
|
;;; 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
|
|
|
|
;;; the Free Software Foundation, either version 3 of the License, or
|
|
|
|
;;; (at your option) any later version.
|
|
|
|
;;;
|
|
|
|
;;; This program is distributed in the hope that it will be useful,
|
|
|
|
;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
;;; GNU General Public License for more details.
|
|
|
|
;;;
|
|
|
|
;;; You should have received a copy of the GNU General Public License
|
|
|
|
;;; along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
|
|
|
2019-05-26 20:54:01 +02:00
|
|
|
(define-module (nongnu packages gog)
|
2019-05-26 20:32:06 +02:00
|
|
|
#:use-module (gnu packages boost)
|
|
|
|
#:use-module (gnu packages compression)
|
|
|
|
#:use-module (gnu packages crypto)
|
|
|
|
#:use-module (gnu packages curl)
|
2020-06-22 02:04:13 +02:00
|
|
|
#:use-module (gnu packages man)
|
2019-05-26 20:32:06 +02:00
|
|
|
#:use-module (gnu packages pkg-config)
|
2021-02-15 21:17:26 +01:00
|
|
|
#:use-module (gnu packages qt)
|
2019-05-26 20:32:06 +02:00
|
|
|
#:use-module (gnu packages serialization)
|
|
|
|
#:use-module (gnu packages web)
|
|
|
|
#:use-module (gnu packages xml)
|
2019-05-26 20:17:27 +02:00
|
|
|
#:use-module (guix packages)
|
2019-05-26 20:32:06 +02:00
|
|
|
#:use-module (guix git-download)
|
|
|
|
#:use-module (guix build-system cmake)
|
2019-05-26 20:17:27 +02:00
|
|
|
#:use-module ((guix licenses) #:prefix license:))
|
|
|
|
|
2019-05-26 20:32:06 +02:00
|
|
|
(define-public lgogdownloader
|
|
|
|
(package
|
2019-05-29 20:31:27 +02:00
|
|
|
(name "lgogdownloader")
|
2022-05-26 23:09:28 +02:00
|
|
|
(version "3.9")
|
2019-05-29 20:31:27 +02:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/Sude-/lgogdownloader.git")
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
2022-05-26 23:09:28 +02:00
|
|
|
(base32 "1hbwgwdm1vn7lkz366q9q8f44sk1pvhgjffndwx49lh3md66xps2"))))
|
2019-05-29 20:31:27 +02:00
|
|
|
(build-system cmake-build-system)
|
2019-12-03 22:18:29 +01:00
|
|
|
(arguments
|
2021-02-15 21:17:26 +01:00
|
|
|
`(#:configure-flags '("-DUSE_QT_GUI=ON")
|
|
|
|
#:tests? #f)) ; no tests
|
2019-05-29 20:31:27 +02:00
|
|
|
(inputs
|
2022-05-26 23:19:17 +02:00
|
|
|
(list boost
|
|
|
|
curl
|
|
|
|
htmlcxx
|
|
|
|
jsoncpp
|
|
|
|
liboauth
|
|
|
|
qtbase-5
|
|
|
|
qtdeclarative
|
|
|
|
qtwebchannel
|
|
|
|
qtwebengine
|
|
|
|
rhash
|
|
|
|
tinyxml2
|
|
|
|
zlib))
|
2019-05-29 20:31:27 +02:00
|
|
|
(native-inputs
|
2022-05-26 23:19:17 +02:00
|
|
|
(list help2man
|
|
|
|
pkg-config))
|
2019-05-29 20:31:27 +02:00
|
|
|
(home-page "https://sites.google.com/site/gogdownloader/")
|
|
|
|
(synopsis "Downloader for GOG.com files")
|
|
|
|
(description "LGOGDownloader is a client for the GOG.com download API,
|
2019-05-26 20:32:06 +02:00
|
|
|
allowing simple downloads and updates of games and other files from GOG.com.")
|
2019-05-29 20:31:27 +02:00
|
|
|
(license license:wtfpl2)))
|