git: b32bba6b239c - main - net-p2p/tremotesf: add new port

From: Robert Clausecker <fuz_at_FreeBSD.org>
Date: Wed, 04 Oct 2023 20:03:02 UTC
The branch main has been updated by fuz:

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

commit b32bba6b239c7fe63266a04d2e5a6268d51beff7
Author:     Anton Saietskii <vsasjason@gmail.com>
AuthorDate: 2023-10-02 13:34:32 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-10-04 20:01:38 +0000

    net-p2p/tremotesf: add new port
    
    Tremotesf is yet another, but modern (first-released in 2016) cross-platfom GUI
    for Transmission daemon written in C++ and Qt.
    
    Features include, but not necessarily limited to:
    * View torrent list
    * Sort torrents
    * Filter torrents by name, status and trackers
    * Start/stop/verify/remove torrents with multi-selection
    * Add torrents from torrent files and magnet links
    * Select which files to download when adding torrent
    * Manage torrent files
    * Add and remove torrent trackers
    * View torrent peers
    * Set torrent limits
    * Change remote server settings
    * View server statistics
    * Multiple servers
    * Supports HTTPS connection
    * Can connect to servers with self-signed certificates (you need to add
      certificate to server settings)
    * Client certificate authentication
    
    WWW: https://github.com/equeim/tremotesf2/
    
    PR:             274236
---
 net-p2p/Makefile            |  1 +
 net-p2p/tremotesf/Makefile  | 32 ++++++++++++++++++++++++++++++++
 net-p2p/tremotesf/distinfo  |  5 +++++
 net-p2p/tremotesf/pkg-descr | 21 +++++++++++++++++++++
 net-p2p/tremotesf/pkg-plist | 10 ++++++++++
 5 files changed, 69 insertions(+)

diff --git a/net-p2p/Makefile b/net-p2p/Makefile
index f7a7433ec687..a91244de8cfc 100644
--- a/net-p2p/Makefile
+++ b/net-p2p/Makefile
@@ -101,6 +101,7 @@
     SUBDIR += transmission
     SUBDIR += transmission-components
     SUBDIR += transmission-remote-gui
+    SUBDIR += tremotesf
     SUBDIR += twitch-tui
     SUBDIR += udpt
     SUBDIR += uhub
diff --git a/net-p2p/tremotesf/Makefile b/net-p2p/tremotesf/Makefile
new file mode 100644
index 000000000000..1059cd7628c0
--- /dev/null
+++ b/net-p2p/tremotesf/Makefile
@@ -0,0 +1,32 @@
+PORTNAME=	tremotesf
+DISTVERSION=	2.4.0
+CATEGORIES=	net-p2p
+
+MAINTAINER=	vsasjason@gmail.com
+COMMENT=	Remote GUI for transmission-daemon
+
+LICENSE=	GPLv3+
+LICENSE_FILE=	${WRKSRC}/LICENSES/GPL-3.0-or-later.txt
+
+BUILD_DEPENDS=	cxxopts>0:devel/cxxopts
+LIB_DEPENDS=	libfmt.so:devel/libfmt \
+		libpsl.so:dns/libpsl
+
+USES=		cmake desktop-file-utils gettext-tools kde:5 pkgconfig qt:5 xorg
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	equeim
+GH_PROJECT=	tremotesf2 libtremotesf:lib
+GH_SUBDIR=	src/libtremotesf:lib
+GH_TAGNAME=	2756631:lib
+
+USE_KDE=	widgetsaddons windowsystem
+
+USE_QT=		concurrent core buildtools:build dbus gui linguisttools:build \
+		network qmake:build widgets
+
+USE_XORG=	x11
+
+CMAKE_OFF=	BUILD_TESTING
+
+.include <bsd.port.mk>
diff --git a/net-p2p/tremotesf/distinfo b/net-p2p/tremotesf/distinfo
new file mode 100644
index 000000000000..5340779f8a60
--- /dev/null
+++ b/net-p2p/tremotesf/distinfo
@@ -0,0 +1,5 @@
+TIMESTAMP = 1696254251
+SHA256 (equeim-tremotesf2-2.4.0_GH0.tar.gz) = ad5b2a1eeccfdcd275e2ec2bb0f2f355c78f2500f50d22adfce064bd42a3fb75
+SIZE (equeim-tremotesf2-2.4.0_GH0.tar.gz) = 364704
+SHA256 (equeim-libtremotesf-2756631_GH0.tar.gz) = 15793adce05fd9798396bff069a829205f1738e9df4916a92e2f700d6a24ad2e
+SIZE (equeim-libtremotesf-2756631_GH0.tar.gz) = 76187
diff --git a/net-p2p/tremotesf/pkg-descr b/net-p2p/tremotesf/pkg-descr
new file mode 100644
index 000000000000..ec3713c484f6
--- /dev/null
+++ b/net-p2p/tremotesf/pkg-descr
@@ -0,0 +1,21 @@
+Tremotesf is yet another, but modern (first-released in 2016) cross-platfom GUI
+for Transmission daemon written in C++ and Qt.
+
+Features include, but not necessarily limited to:
+* View torrent list
+* Sort torrents
+* Filter torrents by name, status and trackers
+* Start/stop/verify/remove torrents with multi-selection
+* Add torrents from torrent files and magnet links
+* Select which files to download when adding torrent
+* Manage torrent files
+* Add and remove torrent trackers
+* View torrent peers
+* Set torrent limits
+* Change remote server settings
+* View server statistics
+* Multiple servers
+* Supports HTTPS connection
+* Can connect to servers with self-signed certificates (you need to add
+  certificate to server settings)
+* Client certificate authentication
diff --git a/net-p2p/tremotesf/pkg-plist b/net-p2p/tremotesf/pkg-plist
new file mode 100644
index 000000000000..0ddf3d3e6fe4
--- /dev/null
+++ b/net-p2p/tremotesf/pkg-plist
@@ -0,0 +1,10 @@
+bin/tremotesf
+share/applications/org.equeim.Tremotesf.desktop
+share/icons/hicolor/16x16/apps/org.equeim.Tremotesf.png
+share/icons/hicolor/22x22/apps/org.equeim.Tremotesf.png
+share/icons/hicolor/24x24/apps/org.equeim.Tremotesf.png
+share/icons/hicolor/256x256/apps/org.equeim.Tremotesf.png
+share/icons/hicolor/32x32/apps/org.equeim.Tremotesf.png
+share/icons/hicolor/48x48/apps/org.equeim.Tremotesf.png
+share/icons/hicolor/scalable/apps/org.equeim.Tremotesf.svg
+share/metainfo/org.equeim.Tremotesf.appdata.xml