mirror of
https://github.com/Sude-/lgogdownloader.git
synced 2024-11-20 11:49:17 +01:00
LGOGDownloader is unofficial downloader to GOG.com for Linux users. It uses the same API as the official GOG Galaxy.
08a6ee300a
libcurl internally uses signals by default, whcih will crash the application when using multiple threads. Setting CURLOPT_NOSIGNAL on all handles avoids the crashes and is recommended in the libcurl documentation. See: https://curl.haxx.se/libcurl/c/threadsafe.html https://curl.haxx.se/libcurl/c/CURLOPT_NOSIGNAL.html |
||
---|---|---|
cmake | ||
include | ||
man | ||
src | ||
.gitignore | ||
CMakeLists.txt | ||
COPYING | ||
main.cpp | ||
README.md |
GOG Downloader
This repository contains the code of unofficial GOG downloader.
Dependencies
- libcurl >= 7.32.0
- liboauth
- librhash
- jsoncpp
- htmlcxx
- tinyxml2
- boost (regex, date-time, system, filesystem, program-options)
- libcrypto if libcurl is built with OpenSSL
Make dependencies
Debian/Ubuntu
# apt install build-essential libcurl4-openssl-dev libboost-regex-dev \
libjsoncpp-dev liboauth-dev librhash-dev libtinyxml2-dev libhtmlcxx-dev \
libboost-system-dev libboost-filesystem-dev libboost-program-options-dev \
libboost-date-time-dev help2man cmake libssl-dev pkg-config
Build and install
$ mkdir build
$ cd build
$ cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
$ make
# sudo make install
Use
man lgogdownloader