git: 85b40528df93 - main - net-p2p/tooth: Add new port

From: Emanuel Haupt <ehaupt_at_FreeBSD.org>
Date: Mon, 16 Jan 2023 09:29:45 UTC
The branch main has been updated by ehaupt:

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

commit 85b40528df931300d0177940fa80cab812f3a4db
Author:     Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2023-01-16 09:21:14 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2023-01-16 09:29:37 +0000

    net-p2p/tooth: Add new port
    
    Tooth is a client for Mastodon, which is the world's largest
    decentralized microblogging platform. The client provides a clean,
    native interface, allowing the Mastodon social experience to be
    seamlessly integrated into our desktop environment.
    
    This client for Mastodon that It is characterized by three fundamental
    aspects; be simple, free and open source. It should be added that this
    tool is based on GTK with dark mode support.
---
 net-p2p/Makefile        |  1 +
 net-p2p/tooth/Makefile  | 32 ++++++++++++++++++++++++++++++++
 net-p2p/tooth/distinfo  |  3 +++
 net-p2p/tooth/pkg-descr |  8 ++++++++
 net-p2p/tooth/pkg-plist | 13 +++++++++++++
 5 files changed, 57 insertions(+)

diff --git a/net-p2p/Makefile b/net-p2p/Makefile
index e75c75245834..03914de4ef61 100644
--- a/net-p2p/Makefile
+++ b/net-p2p/Makefile
@@ -91,6 +91,7 @@
     SUBDIR += rtorrent
     SUBDIR += shx
     SUBDIR += sonarr
+    SUBDIR += tooth
     SUBDIR += tootle
     SUBDIR += torrent-file-editor
     SUBDIR += torrentcheck
diff --git a/net-p2p/tooth/Makefile b/net-p2p/tooth/Makefile
new file mode 100644
index 000000000000..7511df9e3376
--- /dev/null
+++ b/net-p2p/tooth/Makefile
@@ -0,0 +1,32 @@
+PORTNAME=	tooth
+DISTVERSION=	g20230115
+CATEGORIES=	net-p2p
+
+MAINTAINER=	ehaupt@FreeBSD.org
+COMMENT=	GTK Mastodon Client - Fork of Tootle
+WWW=		https://github.com/GeopJr/Tooth
+
+LICENSE=	GPLv3
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	appstream-util:devel/appstream-glib \
+		valac:lang/vala
+LIB_DEPENDS=	libadwaita-1.so:x11-toolkits/libadwaita \
+		libgee-0.8.so:devel/libgee \
+		libgraphene-1.0.so:graphics/graphene \
+		libjson-glib-1.0.so:devel/json-glib \
+		libsecret-1.so:security/libsecret \
+		libsoup-2.4.so:devel/libsoup
+
+USES=		desktop-file-utils gettext gnome meson pkgconfig python:build
+USE_GITHUB=	yes
+GH_ACCOUNT=	GeopJr
+GH_PROJECT=	Tooth
+GH_TAGNAME=	ea4f976
+USE_GNOME=	gdkpixbuf2 glib20 gtk40 libxml2 pango
+
+post-install:
+	@${RLN} ${STAGEDIR}${PREFIX}/bin/dev.geopjr.tooth \
+		${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+
+.include <bsd.port.mk>
diff --git a/net-p2p/tooth/distinfo b/net-p2p/tooth/distinfo
new file mode 100644
index 000000000000..f1f87c39c40e
--- /dev/null
+++ b/net-p2p/tooth/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1673807901
+SHA256 (GeopJr-Tooth-g20230115-ea4f976_GH0.tar.gz) = 910e7035310028a011998bae1b203bf555f8c69ed026b103f9cc7fb40dd885ba
+SIZE (GeopJr-Tooth-g20230115-ea4f976_GH0.tar.gz) = 128902
diff --git a/net-p2p/tooth/pkg-descr b/net-p2p/tooth/pkg-descr
new file mode 100644
index 000000000000..ef80a532587e
--- /dev/null
+++ b/net-p2p/tooth/pkg-descr
@@ -0,0 +1,8 @@
+Tooth is a client for Mastodon, which is the world's largest
+decentralized microblogging platform. The client provides a clean,
+native interface, allowing the Mastodon social experience to be
+seamlessly integrated into our desktop environment.
+
+This client for Mastodon that It is characterized by three fundamental
+aspects; be simple, free and open source. It should be added that this
+tool is based on GTK with dark mode support.
diff --git a/net-p2p/tooth/pkg-plist b/net-p2p/tooth/pkg-plist
new file mode 100644
index 000000000000..3f8706ee94fb
--- /dev/null
+++ b/net-p2p/tooth/pkg-plist
@@ -0,0 +1,13 @@
+bin/dev.geopjr.tooth
+bin/tooth
+share/applications/dev.geopjr.tooth.desktop
+share/glib-2.0/schemas/dev.geopjr.tooth.gschema.xml
+share/icons/hicolor/scalable/apps/dev.geopjr.tooth.svg
+share/icons/hicolor/symbolic/apps/dev.geopjr.tooth-symbolic.svg
+share/locale/de_DE/LC_MESSAGES/dev.geopjr.tooth.mo
+share/locale/es/LC_MESSAGES/dev.geopjr.tooth.mo
+share/locale/fr/LC_MESSAGES/dev.geopjr.tooth.mo
+share/locale/nl/LC_MESSAGES/dev.geopjr.tooth.mo
+share/locale/pt_BR/LC_MESSAGES/dev.geopjr.tooth.mo
+share/locale/ru_RU/LC_MESSAGES/dev.geopjr.tooth.mo
+share/metainfo/dev.geopjr.tooth.appdata.xml