pkgsrc/games/lgogdownloader/Makefile

32 lines
1 KiB
Makefile
Raw Normal View History

2018-01-01 22:18:06 +01:00
# $NetBSD: Makefile,v 1.31 2018/01/01 21:18:29 adam Exp $
lgogdownloader: update to 3.3. LGOGDownloader 3.3 - Updated url for login check - Added support for new language: Ukrainian - Added support for new language: Spanish (Latin American) - Added option to select platform architecture for Galaxy * Allows selecting platform architecture with "--galaxy-arch" when "osBitness" is set for depot in API response - Check for orphaned files after installing a game with --galaxy-install - Preserve timestamps for downloaded files * Get timestamps from server for all downloaded files and set the last modified date to that * Retroactively changes timestamps for previously downloaded files that have different timestamp * Retroactively changing timestamps doesn't work for files downloaded with --galaxy-install - Fixed help text for --subdir-installers - Added option to set user agent - Expose Galaxy options as experimental options in help text - Added option to set interval for progress bar update - Added retry limit for failed chunk repairs * Fixes infinite loop caused by failed chunk repair - Get game details using Galaxy API * Most features now use Galaxy API and should work without having valid downloader API login * --download-file still uses the old API and will not work without valid API login * --update-check option also uses the old API and thus requires valid API login to work properly - Game details cache version is incremented because of changes to gameFile class - Show product id for DLCs when using --list-details option - Fixed serials containing <br> tags - Fixed crash when using old version of jsoncpp and trying to get unsigned int value as string
2017-11-23 21:15:07 +01:00
DISTNAME= lgogdownloader-3.3
2018-01-01 22:18:06 +01:00
PKGREVISION= 1
CATEGORIES= games
MASTER_SITES= http://sites.google.com/site/gogdownloader/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/Sude-/lgogdownloader
COMMENT= Download games from GOG
#LICENSE= dwtfywtpl
BUILD_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+= -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
# for man page
CMAKE_ARGS+= -DINSTALL_SHARE_DIR:PATH=${PREFIX}
.include "../../devel/boost-libs/buildlink3.mk"
.include "../../security/liboauth/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/bsd.pkg.mk"