summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2016-03-13 08:49:31 +0000
committerwiz <wiz@pkgsrc.org>2016-03-13 08:49:31 +0000
commit52b1b9f19cba7cbbc846eba46b9102b91ec8c905 (patch)
tree505b3f70d2f71a93cca2f7e08d5bc5f6e78a2567 /games
parentf77dacc98878d6d0fe4ae127ccae0d82ea5fb8f0 (diff)
downloadpkgsrc-52b1b9f19cba7cbbc846eba46b9102b91ec8c905.tar.gz
Update lgogdownloader to 2.27:
LGOGDownloader 2.27 - Changed build system to CMake (patch by: Sandy Carter) - Fixed crash after login - Added option to set automatic XML creation in config file * --automatic-xml-creation - Improved game specific config options * Directory options can be overriden in game specific config file * "platform" and "language" options allow using string to set them. Use "+" as separator to combine values and "," as separator to set priority. * For example: this allows setting "language" to English, German and French with "en+de+fr" which is much easier to understand than setting it to "7" - Improvements to orphan detection (patch by: Thomas J. Moore) * blacklist applies to installed files only; use ignorelist for orphans * blacklisted but present items are orphans, as they should be * use exact matching for file paths: files in wrong location are orphans * See man page for more details on how to use ignorelist - Apply blacklist to status checker to avoid some spurious ND messages (patch by: Thomas J. Moore) - Use cerr for password prompts, error messages, rolling status messages, and other stuff that shouldn't clutter saved stdout. (patch by: Thomas J. Moore) - Reduce the amount of HTTP requests * This also slightly speeds up getting game details for games with DLC - Added option to save changelogs when downloading * --save-changelogs - Added support for two-step login
Diffstat (limited to 'games')
-rw-r--r--games/lgogdownloader/Makefile20
-rw-r--r--games/lgogdownloader/distinfo11
-rw-r--r--games/lgogdownloader/patches/patch-cmake_FindJsoncpp.cmake14
3 files changed, 31 insertions, 14 deletions
diff --git a/games/lgogdownloader/Makefile b/games/lgogdownloader/Makefile
index 65751877a4b..e7325b3f120 100644
--- a/games/lgogdownloader/Makefile
+++ b/games/lgogdownloader/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.20 2016/03/05 11:28:34 jperkin Exp $
+# $NetBSD: Makefile,v 1.21 2016/03/13 08:49:31 wiz Exp $
-DISTNAME= lgogdownloader-2.26
-PKGREVISION= 1
+DISTNAME= lgogdownloader-2.27
CATEGORIES= games
MASTER_SITES= http://sites.google.com/site/gogdownloader/
@@ -12,13 +11,16 @@ COMMENT= Download games from GOG
BUILD_DEPENDS+= help2man-[0-9]*:../../converters/help2man
-#WRKSRC= ${WRKDIR}/lgogdownloader
USE_LANGUAGES= c++
-USE_TOOLS+= gmake gunzip
-
-MAKE_FLAGS+= PREFIX=${PREFIX}
-MAKE_FLAGS+= MANPREFIX=${PREFIX}
-MAKE_FLAGS+= LDFLAGS=${LDFLAGS:Q}
+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"
diff --git a/games/lgogdownloader/distinfo b/games/lgogdownloader/distinfo
index f12362ec52d..444f108144d 100644
--- a/games/lgogdownloader/distinfo
+++ b/games/lgogdownloader/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.16 2015/11/04 17:41:18 agc Exp $
+$NetBSD: distinfo,v 1.17 2016/03/13 08:49:31 wiz Exp $
-SHA1 (lgogdownloader-2.26.tar.gz) = da95d3bf78880c71776f91cc91a9584785004f23
-RMD160 (lgogdownloader-2.26.tar.gz) = 4c1095e1571fdb3fc53bd9b096b879ada1417c68
-SHA512 (lgogdownloader-2.26.tar.gz) = 6820f577e02adb510c97212b658178d0778d60c97a7c6e08471ff7840909e80eef9e505ddf99f57766a45ea397a1fbaec6c8a1d33146c14f94f6d924b413a9bd
-Size (lgogdownloader-2.26.tar.gz) = 47424 bytes
+SHA1 (lgogdownloader-2.27.tar.gz) = 8e6841637d9a6ea8b0ed3c346ae96fa48655db41
+RMD160 (lgogdownloader-2.27.tar.gz) = 89cc6e373528326712abbd54fa1f7d468875c3f5
+SHA512 (lgogdownloader-2.27.tar.gz) = 3dd2845b801c883d42bb12bfeb4c28ab6852524a0397ea313b7e4b0195e575a255177b85281bfd923765ac49cfc313dc5bd62a1188e1c465172f79ec281ea0a7
+Size (lgogdownloader-2.27.tar.gz) = 50433 bytes
+SHA1 (patch-cmake_FindJsoncpp.cmake) = 0ab831e8d26625a748cf9c4ab270cd7a39a4472e
diff --git a/games/lgogdownloader/patches/patch-cmake_FindJsoncpp.cmake b/games/lgogdownloader/patches/patch-cmake_FindJsoncpp.cmake
new file mode 100644
index 00000000000..f77d04d752d
--- /dev/null
+++ b/games/lgogdownloader/patches/patch-cmake_FindJsoncpp.cmake
@@ -0,0 +1,14 @@
+$NetBSD: patch-cmake_FindJsoncpp.cmake,v 1.1 2016/03/13 08:49:31 wiz Exp $
+
+jsoncpp does not provide a pkg-config file, don't insist on one.
+
+--- cmake/FindJsoncpp.cmake.orig 2016-01-17 17:41:13.000000000 +0000
++++ cmake/FindJsoncpp.cmake
+@@ -6,7 +6,6 @@
+ # Jsoncpp_LIBRARIES - link these to use Jsoncpp
+
+ find_package(PkgConfig)
+-pkg_check_modules(PC_JSONCPP REQUIRED jsoncpp)
+
+ find_path(JSONCPP_INCLUDE_DIR
+ NAMES