From c3909d5156f634610af2fdb576658d8d5e75ef23 Mon Sep 17 00:00:00 2001 From: Alexander Vereeken Date: Thu, 31 Oct 2024 19:07:26 +0100 Subject: [PATCH] New: games/lgogdownloader: Unofficial downloader for GOG.com Unofficial downloader to GOG.com for Linux users. It uses the same API as the official GOG Galaxy. PR: 282448 --- games/Makefile | 1 + games/lgogdownloader/Makefile | 26 ++++++++++++++++++++++++++ games/lgogdownloader/distinfo | 3 +++ games/lgogdownloader/pkg-descr | 3 +++ games/lgogdownloader/pkg-plist | 2 ++ 5 files changed, 35 insertions(+) create mode 100644 games/lgogdownloader/Makefile create mode 100644 games/lgogdownloader/distinfo create mode 100644 games/lgogdownloader/pkg-descr create mode 100644 games/lgogdownloader/pkg-plist diff --git a/games/Makefile b/games/Makefile index 9b56d520f..cc7a8acab 100644 --- a/games/Makefile +++ b/games/Makefile @@ -489,6 +489,7 @@ SUBDIR += legesmotus SUBDIR += lexter SUBDIR += lgeneral + SUBDIR += lgogdownloader SUBDIR += libgnome-games-support SUBDIR += libkdegames SUBDIR += libkmahjongg diff --git a/games/lgogdownloader/Makefile b/games/lgogdownloader/Makefile new file mode 100644 index 000000000..fed8f55b8 --- /dev/null +++ b/games/lgogdownloader/Makefile @@ -0,0 +1,26 @@ +PORTNAME= lgogdownloader +DISTVERSIONPREFIX= v +DISTVERSION= 3.15 +CATEGORIES= games + +MAINTAINER= Alexander88207@protonmail.com +COMMENT= Unofficial downloader for GOG.com +WWW= https://sites.google.com/site/gogdownloader + +LICENSE= WTFPL +LICENSE_FILE= ${WRKSRC}/COPYING + +LIB_DEPENDS= libboost_system.so:devel/boost-libs \ + libcurl.so:ftp/curl \ + libjsoncpp.so:devel/jsoncpp \ + librhash.so:security/rhash \ + libtidy5.so:www/tidy-html5 \ + libtinyxml2.so:textproc/tinyxml2 + +USES= cmake pkgconfig +USE_GITHUB= yes +GH_ACCOUNT= Sude- + +CMAKE_ARGS= -DTIDY_LIBRARY=${LOCALBASE}/lib/libtidy5.so + +.include diff --git a/games/lgogdownloader/distinfo b/games/lgogdownloader/distinfo new file mode 100644 index 000000000..d156433d6 --- /dev/null +++ b/games/lgogdownloader/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1730323671 +SHA256 (Sude--lgogdownloader-v3.15_GH0.tar.gz) = d72c7a5f31e8bf334467eec2066c6f9286676dec4ac03eb989bc18f8a8b56cea +SIZE (Sude--lgogdownloader-v3.15_GH0.tar.gz) = 105282 diff --git a/games/lgogdownloader/pkg-descr b/games/lgogdownloader/pkg-descr new file mode 100644 index 000000000..77814f302 --- /dev/null +++ b/games/lgogdownloader/pkg-descr @@ -0,0 +1,3 @@ +Unofficial downloader to GOG.com for Linux users. + +It uses the same API as the official GOG Galaxy. diff --git a/games/lgogdownloader/pkg-plist b/games/lgogdownloader/pkg-plist new file mode 100644 index 000000000..e6c44d031 --- /dev/null +++ b/games/lgogdownloader/pkg-plist @@ -0,0 +1,2 @@ +bin/lgogdownloader +share/man/man1/lgogdownloader.1.gz -- 2.47.0