git: e9b5bd9e13a8 - main - net-im/tuba: New port: Browse the Fediverse

From: Robert Clausecker <fuz_at_FreeBSD.org>
Date: Thu, 20 Feb 2025 23:27:52 UTC
The branch main has been updated by fuz:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e9b5bd9e13a8f8d34e1f2f0cf670501ce25186c3

commit e9b5bd9e13a8f8d34e1f2f0cf670501ce25186c3
Author:     Yusuf Yaman <nxjoseph@protonmail.com>
AuthorDate: 2025-02-13 18:33:00 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2025-02-20 23:27:22 +0000

    net-im/tuba: New port: Browse the Fediverse
    
    Tuba is an open-source Fediverse client for browsing and interacting with
    various federated social networks. It is a fork of the Tootle project,
    designed to provide a modern and user-friendly interface for accessing
    Mastodon and other ActivityPub-based platforms.
    
    WWW: https://tuba.geopjr.dev
    WWW: https://github.com/GeopJr/Tuba
    
    PR:             284793
---
 net-im/Makefile       |  1 +
 net-im/tuba/Makefile  | 41 +++++++++++++++++++++++++++++++++
 net-im/tuba/distinfo  |  3 +++
 net-im/tuba/pkg-descr |  4 ++++
 net-im/tuba/pkg-plist | 64 +++++++++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 113 insertions(+)

diff --git a/net-im/Makefile b/net-im/Makefile
index f2b5f1d06f0b..cbcfeb3d6e34 100644
--- a/net-im/Makefile
+++ b/net-im/Makefile
@@ -173,6 +173,7 @@
     SUBDIR += toxext
     SUBDIR += toxic
     SUBDIR += toxins
+    SUBDIR += tuba
     SUBDIR += twirssi
     SUBDIR += uTox
     SUBDIR += vqcc-gtk
diff --git a/net-im/tuba/Makefile b/net-im/tuba/Makefile
new file mode 100644
index 000000000000..65d74e1f9ab3
--- /dev/null
+++ b/net-im/tuba/Makefile
@@ -0,0 +1,41 @@
+PORTNAME=	Tuba
+DISTVERSIONPREFIX=	v
+DISTVERSION=	0.9.1
+CATEGORIES=	net-im
+
+MAINTAINER=	nxjoseph@protonmail.com
+COMMENT=	Browse the Fediverse
+WWW=		https://tuba.geopjr.dev \
+		https://github.com/GeopJr/Tuba
+
+LICENSE=	GPLv3+
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+LIB_DEPENDS=	libgee-0.8.so:devel/libgee \
+		libgraphene-1.0.so:graphics/graphene \
+		libicuuc.so:devel/icu \
+		libjson-glib-1.0.so:devel/json-glib \
+		libsecret-1.so:security/libsecret \
+		libsoup-3.0.so:devel/libsoup3
+RUN_DEPENDS=	gnome-keyring>=0:security/gnome-keyring
+
+USES=		desktop-file-utils gettext-tools gnome gstreamer meson \
+		pkgconfig vala:build
+USE_GITHUB=	yes
+GH_ACCOUNT=	GeopJr
+USE_GNOME=	cairo gdkpixbuf2 glib20 gtk40 gtksourceview5 libadwaita libxml2
+GLIB_SCHEMAS=	dev.geopjr.Tuba.gschema.xml
+
+OPTIONS_DEFINE=		SPELLCHECK
+OPTIONS_DEFAULT=	SPELLCHECK
+
+SPELLCHECK_DESC=	Enable spell-checking support
+SPELLCHECK_LIB_DEPENDS=	libspelling-1.so:x11-toolkits/libspelling
+
+USE_GSTREAMER1+=	yes
+
+post-install:
+	@(cd ${WRKSRC}/_build && \
+		${LN} dev.geopjr.Tuba ${STAGEDIR}${PREFIX}/bin/tuba)
+
+.include <bsd.port.mk>
diff --git a/net-im/tuba/distinfo b/net-im/tuba/distinfo
new file mode 100644
index 000000000000..9089b0e1afbc
--- /dev/null
+++ b/net-im/tuba/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1739467386
+SHA256 (GeopJr-Tuba-v0.9.1_GH0.tar.gz) = 1303e5e5646d73d6ef6c0b263a3f0ba72bf7573bea0d60f066e58f91a7bada1b
+SIZE (GeopJr-Tuba-v0.9.1_GH0.tar.gz) = 2137594
diff --git a/net-im/tuba/pkg-descr b/net-im/tuba/pkg-descr
new file mode 100644
index 000000000000..d9248fb51bcc
--- /dev/null
+++ b/net-im/tuba/pkg-descr
@@ -0,0 +1,4 @@
+Tuba is an open-source Fediverse client for browsing and interacting with
+various federated social networks. It is a fork of the Tootle project,
+designed to provide a modern and user-friendly interface for accessing
+Mastodon and other ActivityPub-based platforms.
diff --git a/net-im/tuba/pkg-plist b/net-im/tuba/pkg-plist
new file mode 100644
index 000000000000..a472929ccdeb
--- /dev/null
+++ b/net-im/tuba/pkg-plist
@@ -0,0 +1,64 @@
+bin/dev.geopjr.Tuba
+bin/tuba
+share/applications/dev.geopjr.Tuba.desktop
+share/gtksourceview-5/language-specs/fedi-basic.lang
+share/gtksourceview-5/language-specs/fedi-html.lang
+share/gtksourceview-5/language-specs/fedi-markdown.lang
+share/gtksourceview-5/styles/fedi-blue-dark.xml
+share/gtksourceview-5/styles/fedi-blue.xml
+share/gtksourceview-5/styles/fedi-green-dark.xml
+share/gtksourceview-5/styles/fedi-green.xml
+share/gtksourceview-5/styles/fedi-orange-dark.xml
+share/gtksourceview-5/styles/fedi-orange.xml
+share/gtksourceview-5/styles/fedi-pink-dark.xml
+share/gtksourceview-5/styles/fedi-pink.xml
+share/gtksourceview-5/styles/fedi-purple-dark.xml
+share/gtksourceview-5/styles/fedi-purple.xml
+share/gtksourceview-5/styles/fedi-red-dark.xml
+share/gtksourceview-5/styles/fedi-red.xml
+share/gtksourceview-5/styles/fedi-slate-dark.xml
+share/gtksourceview-5/styles/fedi-slate.xml
+share/gtksourceview-5/styles/fedi-teal-dark.xml
+share/gtksourceview-5/styles/fedi-teal.xml
+share/gtksourceview-5/styles/fedi-yellow-dark.xml
+share/gtksourceview-5/styles/fedi-yellow.xml
+share/icons/hicolor/scalable/apps/dev.geopjr.Tuba.svg
+share/icons/hicolor/symbolic/apps/dev.geopjr.Tuba-symbolic.svg
+share/locale/ar/LC_MESSAGES/dev.geopjr.Tuba.mo
+share/locale/be/LC_MESSAGES/dev.geopjr.Tuba.mo
+share/locale/bg/LC_MESSAGES/dev.geopjr.Tuba.mo
+share/locale/ca/LC_MESSAGES/dev.geopjr.Tuba.mo
+share/locale/cs/LC_MESSAGES/dev.geopjr.Tuba.mo
+share/locale/da/LC_MESSAGES/dev.geopjr.Tuba.mo
+share/locale/de_DE/LC_MESSAGES/dev.geopjr.Tuba.mo
+share/locale/en_GB/LC_MESSAGES/dev.geopjr.Tuba.mo
+share/locale/es/LC_MESSAGES/dev.geopjr.Tuba.mo
+share/locale/eu/LC_MESSAGES/dev.geopjr.Tuba.mo
+share/locale/fa/LC_MESSAGES/dev.geopjr.Tuba.mo
+share/locale/fi/LC_MESSAGES/dev.geopjr.Tuba.mo
+share/locale/fr/LC_MESSAGES/dev.geopjr.Tuba.mo
+share/locale/gl/LC_MESSAGES/dev.geopjr.Tuba.mo
+share/locale/hi/LC_MESSAGES/dev.geopjr.Tuba.mo
+share/locale/hu/LC_MESSAGES/dev.geopjr.Tuba.mo
+share/locale/ia/LC_MESSAGES/dev.geopjr.Tuba.mo
+share/locale/id/LC_MESSAGES/dev.geopjr.Tuba.mo
+share/locale/it/LC_MESSAGES/dev.geopjr.Tuba.mo
+share/locale/ja/LC_MESSAGES/dev.geopjr.Tuba.mo
+share/locale/kab/LC_MESSAGES/dev.geopjr.Tuba.mo
+share/locale/ko/LC_MESSAGES/dev.geopjr.Tuba.mo
+share/locale/lt/LC_MESSAGES/dev.geopjr.Tuba.mo
+share/locale/nb_NO/LC_MESSAGES/dev.geopjr.Tuba.mo
+share/locale/nl/LC_MESSAGES/dev.geopjr.Tuba.mo
+share/locale/oc/LC_MESSAGES/dev.geopjr.Tuba.mo
+share/locale/pl/LC_MESSAGES/dev.geopjr.Tuba.mo
+share/locale/pt/LC_MESSAGES/dev.geopjr.Tuba.mo
+share/locale/pt_BR/LC_MESSAGES/dev.geopjr.Tuba.mo
+share/locale/ru/LC_MESSAGES/dev.geopjr.Tuba.mo
+share/locale/sk/LC_MESSAGES/dev.geopjr.Tuba.mo
+share/locale/sv/LC_MESSAGES/dev.geopjr.Tuba.mo
+share/locale/th/LC_MESSAGES/dev.geopjr.Tuba.mo
+share/locale/tr/LC_MESSAGES/dev.geopjr.Tuba.mo
+share/locale/uk/LC_MESSAGES/dev.geopjr.Tuba.mo
+share/locale/zh_Hans/LC_MESSAGES/dev.geopjr.Tuba.mo
+share/man/man1/dev.geopjr.Tuba.1.gz
+share/metainfo/dev.geopjr.Tuba.metainfo.xml