aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Rehbein <tobias.rehbein@web.de>2024-08-03 01:34:07 +0000
committerVladimir Druzenko <vvd@FreeBSD.org>2024-08-03 01:34:07 +0000
commit8c040a35ffc558fe2bdacb93ba6df9a670768e56 (patch)
treefacb20c90483379deff58ab4ebf5ec183493b1ab
parent347ebda28a1fbf202089d55e3c6685af75f8648c (diff)
games/gargoyle: New port: Interactive fiction player supporting all major formats
Gargoyle is an interactive fiction player that supports all the major interactive fiction formats. Gargoyle is based on the standard interpreters for the formats it supports: Agility, Alan 2 and 3, Frotz, Glulxe, Hugo, Level 9, Magnetic, Scare, Tads 2 and 3. PR: 280542
-rw-r--r--games/Makefile1
-rw-r--r--games/gargoyle/Makefile39
-rw-r--r--games/gargoyle/distinfo3
-rw-r--r--games/gargoyle/pkg-descr11
-rw-r--r--games/gargoyle/pkg-plist59
5 files changed, 113 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile
index 29ea9c1b82ef..84a2ed3b1be5 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -315,6 +315,7 @@
SUBDIR += galaxis
SUBDIR += galaxyhack
SUBDIR += garden-of-coloured-lights
+ SUBDIR += gargoyle
SUBDIR += gbrainy
SUBDIR += gcompris-qt
SUBDIR += gemdropx
diff --git a/games/gargoyle/Makefile b/games/gargoyle/Makefile
new file mode 100644
index 000000000000..4b81328d6ee1
--- /dev/null
+++ b/games/gargoyle/Makefile
@@ -0,0 +1,39 @@
+PORTNAME= gargoyle
+DISTVERSION= 2023.1
+CATEGORIES= games
+DISTNAME= ${GH_PROJECT}-${DISTVERSION}
+
+MAINTAINER= tobias.rehbein@web.de
+COMMENT= Interactive fiction player supporting all major formats
+WWW= https://ccxvii.net/gargoyle/
+
+LICENSE= ART10 BSD2CLAUSE BSD3CLAUSE BSD4CLAUSE GPLv2 GPLv3 MIT OFL11
+LICENSE_COMB= multi
+LICENSE_FILE= ${WRKSRC}/License.txt
+
+BUILD_DEPENDS= libxkbcommon>=0.5.0:x11/libxkbcommon \
+ vulkan-headers>0:graphics/vulkan-headers
+LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
+ libfreetype.so:print/freetype2 \
+ libpng.so:graphics/png
+RUN_DEPENDS= libxkbcommon>=0.5.0:x11/libxkbcommon
+
+USES= cmake desktop-file-utils gl jpeg pkgconfig qt:6 sdl \
+ shared-mime-info
+USE_GITHUB= yes
+GH_ACCOUNT= garglk
+GH_PROJECT= ${GH_ACCOUNT}
+USE_GL= opengl
+USE_QT= base
+USE_SDL= mixer2
+
+CMAKE_ON= WITH_QT6
+
+OPTIONS_DEFINE= SPEECHD
+SPEECHD_DESC= Enable text-to-speech support
+SPEECHD_LIB_DEPENDS= libspeechd.so:accessibility/speech-dispatcher
+SPEECHD_USES= gettext-runtime gnome
+SPEECHD_USE= gnome=glib20
+SPEECHD_CMAKE_BOOL= WITH_TTS
+
+.include <bsd.port.mk>
diff --git a/games/gargoyle/distinfo b/games/gargoyle/distinfo
new file mode 100644
index 000000000000..250b8ee917b4
--- /dev/null
+++ b/games/gargoyle/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1722316732
+SHA256 (garglk-garglk-2023.1_GH0.tar.gz) = f766186558f8db24243cede878f38b8a2026bf2ebed5d9d4f0e690916d56827a
+SIZE (garglk-garglk-2023.1_GH0.tar.gz) = 12351800
diff --git a/games/gargoyle/pkg-descr b/games/gargoyle/pkg-descr
new file mode 100644
index 000000000000..882cc6c66a3c
--- /dev/null
+++ b/games/gargoyle/pkg-descr
@@ -0,0 +1,11 @@
+Gargoyle is an IF player that supports all the major interactive
+fiction formats.
+
+Most interactive fiction is distributed as portable game files. These
+portable game files come in many formats. In the past, you used to
+have to download a separate player (interpreter) for each format of IF
+you wanted to play.
+
+Gargoyle is based on the standard interpreters for the formats it
+supports: Agility, Alan 2 and 3, Frotz, Glulxe, Hugo, Level 9,
+Magnetic, Scare, Tads 2 and 3.
diff --git a/games/gargoyle/pkg-plist b/games/gargoyle/pkg-plist
new file mode 100644
index 000000000000..5b43b6c2b8fb
--- /dev/null
+++ b/games/gargoyle/pkg-plist
@@ -0,0 +1,59 @@
+bin/gargoyle
+include/garglk/gi_blorb.h
+include/garglk/glk.h
+include/garglk/glkstart.h
+lib/libgarglk.so
+lib/libgarglkmain.a
+libdata/pkgconfig/garglk.pc
+libexec/gargoyle/advsys
+libexec/gargoyle/agility
+libexec/gargoyle/alan2
+libexec/gargoyle/alan3
+libexec/gargoyle/bocfel
+libexec/gargoyle/git
+libexec/gargoyle/glulxe
+libexec/gargoyle/hugo
+libexec/gargoyle/jacl
+libexec/gargoyle/level9
+libexec/gargoyle/magnetic
+libexec/gargoyle/plus
+libexec/gargoyle/scare
+libexec/gargoyle/scott
+libexec/gargoyle/tadsr
+libexec/gargoyle/taylor
+share/applications/io.github.garglk.Gargoyle.desktop
+share/applications/io.github.garglk.GargoyleEditConfig.desktop
+share/fonts/gargoyle/Gargoyle-Mono-Bold-Italic.ttf
+share/fonts/gargoyle/Gargoyle-Mono-Bold.ttf
+share/fonts/gargoyle/Gargoyle-Mono-Italic.ttf
+share/fonts/gargoyle/Gargoyle-Mono.ttf
+share/fonts/gargoyle/Gargoyle-Serif-Bold-Italic.ttf
+share/fonts/gargoyle/Gargoyle-Serif-Bold.ttf
+share/fonts/gargoyle/Gargoyle-Serif-Italic.ttf
+share/fonts/gargoyle/Gargoyle-Serif.ttf
+share/icons/hicolor/32x32/mimetypes/application-x-adrift.png
+share/icons/hicolor/32x32/mimetypes/application-x-advsys.png
+share/icons/hicolor/32x32/mimetypes/application-x-agt.png
+share/icons/hicolor/32x32/mimetypes/application-x-alan.png
+share/icons/hicolor/32x32/mimetypes/application-x-blorb.png
+share/icons/hicolor/32x32/mimetypes/application-x-glulx.png
+share/icons/hicolor/32x32/mimetypes/application-x-hugo-image.png
+share/icons/hicolor/32x32/mimetypes/application-x-level9.png
+share/icons/hicolor/32x32/mimetypes/application-x-magscroll.png
+share/icons/hicolor/32x32/mimetypes/application-x-tads.png
+share/icons/hicolor/32x32/mimetypes/application-x-zmachine.png
+share/icons/io.github.garglk.Gargoyle.png
+share/io.github.garglk/Gargoyle/themes/Blue.json
+share/io.github.garglk/Gargoyle/themes/Breeze Darker.json
+share/io.github.garglk/Gargoyle/themes/Lectrote Dark.json
+share/io.github.garglk/Gargoyle/themes/Lectrote Sepia.json
+share/io.github.garglk/Gargoyle/themes/Lectrote Slate.json
+share/io.github.garglk/Gargoyle/themes/Pencil.json
+share/io.github.garglk/Gargoyle/themes/Zoom.json
+share/io.github.garglk/Gargoyle/themes/dark.json
+share/io.github.garglk/Gargoyle/themes/light.json
+share/io.github.garglk/Gargoyle/unifont.otf
+share/io.github.garglk/Gargoyle/unifont_upper.otf
+share/man/man6/gargoyle.6.gz
+share/metainfo/io.github.garglk.Gargoyle.appdata.xml
+share/mime/packages/interactive-fiction.xml