git: d68b7cd46323 - main - net-p2p/tootle: Add new port

From: Emanuel Haupt <ehaupt_at_FreeBSD.org>
Date: Fri, 23 Dec 2022 08:36:16 UTC
The branch main has been updated by ehaupt:

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

commit d68b7cd46323d44a67e91b171807a435fdef3df7
Author:     Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2022-12-23 08:34:41 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2022-12-23 08:36:10 +0000

    net-p2p/tootle: Add new port
    
    Tootle 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/tootle/Makefile  | 33 +++++++++++++++++++++++++++++++++
 net-p2p/tootle/distinfo  |  3 +++
 net-p2p/tootle/pkg-descr |  8 ++++++++
 net-p2p/tootle/pkg-plist | 10 ++++++++++
 5 files changed, 55 insertions(+)

diff --git a/net-p2p/Makefile b/net-p2p/Makefile
index 7c0c6f1730b3..fd185567d63c 100644
--- a/net-p2p/Makefile
+++ b/net-p2p/Makefile
@@ -92,6 +92,7 @@
     SUBDIR += rtorrent
     SUBDIR += shx
     SUBDIR += sonarr
+    SUBDIR += tootle
     SUBDIR += torrent-file-editor
     SUBDIR += torrentcheck
     SUBDIR += torrentsniff
diff --git a/net-p2p/tootle/Makefile b/net-p2p/tootle/Makefile
new file mode 100644
index 000000000000..90f25f0b215d
--- /dev/null
+++ b/net-p2p/tootle/Makefile
@@ -0,0 +1,33 @@
+PORTNAME=	tootle
+PORTVERSION=	g20221222
+CATEGORIES=	net-p2p
+
+MAINTAINER=	ehaupt@FreeBSD.org
+COMMENT=	Simple Mastodon client for Linux
+WWW=		https://gitlab.gnome.org/World/tootle
+
+LICENSE=	GPLv3
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	valac:lang/vala
+LIB_DEPENDS=	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 \
+		shebangfix
+USE_GITLAB=	yes
+GL_SITE=	https://gitlab.gnome.org/
+GL_ACCOUNT=	World
+GL_COMMIT=	b4046da9a7806e11cb77e85b4531c98ff4a33ca5
+USE_GNOME=	gdkpixbuf2 gtk40 libadwaita libxml2
+
+SHEBANG_FILES=	meson/post_install.py
+
+post-install:
+	${RLN} ${STAGEDIR}${PREFIX}/bin/com.github.bleakgrey.tootle \
+		${STAGEDIR}${PREFIX}/bin/tootle
+
+.include <bsd.port.mk>
diff --git a/net-p2p/tootle/distinfo b/net-p2p/tootle/distinfo
new file mode 100644
index 000000000000..8aac944b2f58
--- /dev/null
+++ b/net-p2p/tootle/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1671727356
+SHA256 (World-tootle-b4046da9a7806e11cb77e85b4531c98ff4a33ca5_GL0.tar.gz) = 330416792ea81df9dd7b8c4a7d0e47c03e66823ec548963f02220a90ea975bb7
+SIZE (World-tootle-b4046da9a7806e11cb77e85b4531c98ff4a33ca5_GL0.tar.gz) = 810635
diff --git a/net-p2p/tootle/pkg-descr b/net-p2p/tootle/pkg-descr
new file mode 100644
index 000000000000..ec22edbb427e
--- /dev/null
+++ b/net-p2p/tootle/pkg-descr
@@ -0,0 +1,8 @@
+Tootle 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/tootle/pkg-plist b/net-p2p/tootle/pkg-plist
new file mode 100644
index 000000000000..900c843a1d54
--- /dev/null
+++ b/net-p2p/tootle/pkg-plist
@@ -0,0 +1,10 @@
+bin/tootle
+bin/com.github.bleakgrey.tootle
+share/applications/com.github.bleakgrey.tootle.desktop
+share/glib-2.0/schemas/com.github.bleakgrey.tootle.gschema.xml
+share/icons/hicolor/scalable/apps/com.github.bleakgrey.tootle.svg
+share/icons/hicolor/symbolic/apps/com.github.bleakgrey.tootle-symbolic.svg
+share/locale/de_DE/LC_MESSAGES/com.github.bleakgrey.tootle.mo
+share/locale/es/LC_MESSAGES/com.github.bleakgrey.tootle.mo
+share/locale/ru_RU/LC_MESSAGES/com.github.bleakgrey.tootle.mo
+share/metainfo/com.github.bleakgrey.tootle.appdata.xml