pkgsrc/games/lgogdownloader/Makefile

29 lines
865 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.59 2022/05/04 13:59:09 wiz Exp $
DISTNAME= lgogdownloader-3.9
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
2019-05-27 17:11:07 +02:00
LICENSE= public-domain # actually, dwtfywtpl
TOOL_DEPENDS+= help2man-[0-9]*:../../converters/help2man
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
2016-11-20 10:41:20 +01:00
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"
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
2016-11-20 10:41:20 +01:00
.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"