6c79834ba8
LGOGDownloader 3.8 * Fixed headless operation (Patch by: grepwood) * Overwrite changelog only when modified (Patch by: Matthew Howle) * Added retry support to --galaxy-install * Changed some retry conditions * Don't retry on 404 errors because they are mostly produced by user not owning DLC for a game * This helps a lot when using high max retry count * Show reason for retry attempts * Show installer and patch version when listing game details * Fixed getting redirect URL from curl (Patch by: Timotej Lazar) * Improved reCAPTCHA detection (Patch by: Timotej Lazar) * Added support for new language: Thai * Retry download also on CURLE_SSL_CONNECT_ERROR (Patch by: Ismo Toijala)) * Use duplicate handler for extras * Check for invalid path in GalaxyAPI::fileJsonNodeToGameFileVector * Added directory template %gamename_firstletter% * Useful for sorting big libraries with --subdir-game option * Takes the first letter from %gamename% * If %gamename% begins with a number then 0 (zero) is used instead * Skip files that are listed by API for information purposes only * For some games the API shows files with "count" and "total_size" of zero meaning that they are not available to download * These are listed on account page for information purpose only (for example to show DLCs included in the installer)
28 lines
865 B
Makefile
28 lines
865 B
Makefile
# $NetBSD: Makefile,v 1.58 2022/01/17 13:35:01 nia Exp $
|
|
|
|
DISTNAME= lgogdownloader-3.8
|
|
CATEGORIES= games
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=Sude-/}
|
|
GITHUB_TAG= v${PKGVERSION_NOREV}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://github.com/Sude-/lgogdownloader
|
|
COMMENT= Download games from GOG
|
|
LICENSE= public-domain # actually, dwtfywtpl
|
|
|
|
TOOL_DEPENDS+= help2man-[0-9]*:../../converters/help2man
|
|
|
|
USE_LANGUAGES= c c++
|
|
USE_CMAKE= yes
|
|
USE_TOOLS+= pkg-config
|
|
|
|
CMAKE_ARGS+= -DJSONCPP_INCLUDE_DIR=${BUILDLINK_DIR}/include/json
|
|
|
|
.include "../../devel/boost-libs/buildlink3.mk"
|
|
.include "../../textproc/tinyxml2/buildlink3.mk"
|
|
.include "../../www/htmlcxx/buildlink3.mk"
|
|
.include "../../www/curl/buildlink3.mk"
|
|
.include "../../misc/rhash/buildlink3.mk"
|
|
.include "../../textproc/jsoncpp/buildlink3.mk"
|
|
.include "../../mk/atomic64.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|