aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Vereeken <Alexander88207@protonmail.com>2024-11-04 21:39:55 +0000
committerVladimir Druzenko <vvd@FreeBSD.org>2024-11-04 21:39:55 +0000
commit0ca859ecf21bbef14bb936c0dae249c4ce4d4e6c (patch)
tree44adf97855dc058c4cf1d05771f84a65d2738583
parentc08f528cd36c76d76f221e7af8d5918054978bdf (diff)
games/lgogdownloader: New port: unofficial downloader for GOG.com
Unofficial downloader to GOG.com for Linux users. It uses the same API as the official GOG Galaxy. https://sites.google.com/site/gogdownloader PR: 282448
-rw-r--r--games/Makefile1
-rw-r--r--games/lgogdownloader/Makefile42
-rw-r--r--games/lgogdownloader/distinfo3
-rw-r--r--games/lgogdownloader/pkg-descr3
4 files changed, 49 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile
index 9b56d520fed1..cc7a8acabace 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 000000000000..14d256252190
--- /dev/null
+++ b/games/lgogdownloader/Makefile
@@ -0,0 +1,42 @@
+PORTNAME= lgogdownloader
+DISTVERSION= 3.15
+CATEGORIES= games
+MASTER_SITES= https://github.com/Sude-/${PORTNAME}/releases/download/v${DISTVERSION}/
+
+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_date_time.so:devel/boost-libs \
+ libboost_filesystem.so:devel/boost-libs \
+ libboost_iostreams.so:devel/boost-libs \
+ libboost_program_options.so:devel/boost-libs \
+ libboost_regex.so:devel/boost-libs \
+ 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
+
+CMAKE_ARGS= -DTIDY_LIBRARY=${LOCALBASE}/lib/libtidy5.so
+
+PLIST_FILES= bin/${PORTNAME} \
+ share/man/man1/${PORTNAME}.1.gz
+
+OPTIONS_DEFINE= QT_GUI
+QT_GUI_DESC= QT GUI Support
+QT_GUI_BUILD_DEPENDS= vulkan-headers>0:graphics/vulkan-headers
+QT_GUI_USES= gl qt:6
+QT_GUI_USE= GL=opengl QT=base,declarative,positioning,webchannel,webengine
+QT_GUI_CMAKE_BOOL= USE_QT_GUI
+
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+
+.include <bsd.port.mk>
diff --git a/games/lgogdownloader/distinfo b/games/lgogdownloader/distinfo
new file mode 100644
index 000000000000..adf216d5836d
--- /dev/null
+++ b/games/lgogdownloader/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1730659423
+SHA256 (lgogdownloader-3.15.tar.gz) = 9946558bb30b72cd5ed712e7fc425eef4b2a1fd22b5475d1a998720800cd25f0
+SIZE (lgogdownloader-3.15.tar.gz) = 103592
diff --git a/games/lgogdownloader/pkg-descr b/games/lgogdownloader/pkg-descr
new file mode 100644
index 000000000000..77814f302113
--- /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.