From c706980a48ceff88d28969d4a86a48209048ac6b Mon Sep 17 00:00:00 2001 From: wiz Date: Sun, 20 Nov 2016 09:41:20 +0000 Subject: Updated lgogdownloader to 3.0. LGOGDownloader 3.0 - Ported code to use tinyxml2 instead of tinyxml (patch by: Ferdinand Thiessen) - Added support for new language: Bulgarian - Added support for parallel downloads * Use --threads to set how many parallel downloads you want to run * If libcurl uses openssl then libcrypto is required to compile the downloader - Added support for getting game details in parallel - Added support for DLC language packs - Show average download rate after download has finished - Fixed issue with some GOG XML data files * Some GOG XML data files contain additional nodes/elements that were not handled properly and caused issues - Removed obsolete getpass() calls, use termios to control terminal ECHO - Added option to set CA certificate path * --cacert option can be used to set path to CA certificate bundle in PEM format * CURL_CA_BUNDLE environment variable is used if it is set and CA certificate path is not set with --cacert option - Moved cover list to git repository * New url: https://raw.githubusercontent.com/Sude-/lgogdownloader-lists/master/covers.xml - Use list of games that are known to have DLC and ignore DLC count that GOG provides for those games * Fixes issues caused by GOG providing incorrect dlc count information for games with DLC * If local list ($XDG_CONFIG_HOME/lgogdownloader/game_has_dlc.txt) exists then remote list isn't used * --dlc-list option is used to set url for the list (default: https://raw.githubusercontent.com/Sude-/lgogdownloader-lists/master/game_has_dlc.txt) - Made downloader work better when invoked by Gentoo's package manager (patches by: James Le Cuirot) * Exit with non-zero status when --list or --list-details fails * Exit with non-zero status when at least one --download-file fails * Add --respect-umask option to prevent adjusting permissions --- games/lgogdownloader/Makefile | 11 ++++------- games/lgogdownloader/distinfo | 10 +++++----- 2 files changed, 9 insertions(+), 12 deletions(-) diff --git a/games/lgogdownloader/Makefile b/games/lgogdownloader/Makefile index 127a33e1d0d..7dc66a0f249 100644 --- a/games/lgogdownloader/Makefile +++ b/games/lgogdownloader/Makefile @@ -1,7 +1,6 @@ -# $NetBSD: Makefile,v 1.23 2016/10/07 18:25:50 adam Exp $ +# $NetBSD: Makefile,v 1.24 2016/11/20 09:41:20 wiz Exp $ -DISTNAME= lgogdownloader-2.28 -PKGREVISION= 1 +DISTNAME= lgogdownloader-3.0 CATEGORIES= games MASTER_SITES= http://sites.google.com/site/gogdownloader/ @@ -12,20 +11,18 @@ COMMENT= Download games from GOG BUILD_DEPENDS+= help2man-[0-9]*:../../converters/help2man -USE_LANGUAGES= c++ +USE_LANGUAGES= c c++ USE_CMAKE= yes USE_TOOLS+= pkg-config CMAKE_ARGS+= -DPC_JSONCPP_FOUND:BOOL=1 CMAKE_ARGS+= -DPC_JSONCPP_INCLUDEDIRS:PATH=${BUILDLINK_PREFIX.jsoncpp}/include/json CMAKE_ARGS+= -DPC_JSONCPP_LIBRARY_DIRS:PATH=${BUILDLINK_PREFIX.jsoncpp}/lib -CMAKE_ARGS+= -DPC_TINYXML_FOUND:BOOL=1 -CMAKE_ARGS+= -DPC_TINYXML_LIBRARY_DIRS:PATH=${BUILDLINK_PREFIX.tinyxml}/lib # for man page CMAKE_ARGS+= -DINSTALL_SHARE_DIR:PATH=${PREFIX} .include "../../devel/boost-libs/buildlink3.mk" .include "../../security/liboauth/buildlink3.mk" -.include "../../textproc/tinyxml/buildlink3.mk" +.include "../../textproc/tinyxml2/buildlink3.mk" .include "../../www/htmlcxx/buildlink3.mk" .include "../../www/curl/buildlink3.mk" .include "../../misc/rhash/buildlink3.mk" diff --git a/games/lgogdownloader/distinfo b/games/lgogdownloader/distinfo index a2601d40a0c..24cf027dfa7 100644 --- a/games/lgogdownloader/distinfo +++ b/games/lgogdownloader/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.20 2016/07/15 21:00:41 wiz Exp $ +$NetBSD: distinfo,v 1.21 2016/11/20 09:41:20 wiz Exp $ -SHA1 (lgogdownloader-2.28.tar.gz) = 7ff982d3575b7dd7e7479884df0d8331a640adca -RMD160 (lgogdownloader-2.28.tar.gz) = c65561e21fc0a99723796fe549f11734fdeac749 -SHA512 (lgogdownloader-2.28.tar.gz) = dccaa3517675fc0c4218151aac89576404185b2531496443cb7b7d6f6367ead53fb113f88dedc2656afad889f04614986159af1b1009ac7a90e4fa564884f8a4 -Size (lgogdownloader-2.28.tar.gz) = 51147 bytes +SHA1 (lgogdownloader-3.0.tar.gz) = b10a011b1eee2a66f4b041efb964f626c863b85c +RMD160 (lgogdownloader-3.0.tar.gz) = 8a8fb9eaca1f13fd344a9348710b492ca44e8ecd +SHA512 (lgogdownloader-3.0.tar.gz) = e99960c7bec55c37b230890911585eb68f133988a76bc00715fc715781b2e41c28879dc92563f3a6564a699dd5abe5c350f10b2d7e1d213e744ef0f768abe434 +Size (lgogdownloader-3.0.tar.gz) = 60859 bytes -- cgit v1.2.3