summaryrefslogtreecommitdiff
path: root/games/lgogdownloader/Makefile
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2016-11-20 09:41:20 +0000
committerwiz <wiz@pkgsrc.org>2016-11-20 09:41:20 +0000
commitc706980a48ceff88d28969d4a86a48209048ac6b (patch)
tree7b42da04173250a0ee4b5994afb486cf7838e297 /games/lgogdownloader/Makefile
parent751b815ae366844183392b8246edccf7af406299 (diff)
downloadpkgsrc-c706980a48ceff88d28969d4a86a48209048ac6b.tar.gz
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
Diffstat (limited to 'games/lgogdownloader/Makefile')
-rw-r--r--games/lgogdownloader/Makefile11
1 files changed, 4 insertions, 7 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"