git: 573a2873ada4 - main - net-p2p/torrent-file-editor: update the port to version 0.3.18
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 28 Jun 2023 09:48:40 UTC
The branch main has been updated by danfe:
URL: https://cgit.FreeBSD.org/ports/commit/?id=573a2873ada4f5ce1aff5af206d44cfe411ab791
commit 573a2873ada4f5ce1aff5af206d44cfe411ab791
Author: Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2023-06-28 09:46:38 +0000
Commit: Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2023-06-28 09:46:38 +0000
net-p2p/torrent-file-editor: update the port to version 0.3.18
- Drop no longer needed ugly workarounds for various build issues
- Use recommended source tarball, not the one generated by GitHub
Reported by: portscout
---
net-p2p/torrent-file-editor/Makefile | 20 +++-----------------
net-p2p/torrent-file-editor/distinfo | 6 +++---
2 files changed, 6 insertions(+), 20 deletions(-)
diff --git a/net-p2p/torrent-file-editor/Makefile b/net-p2p/torrent-file-editor/Makefile
index 10ee0769e4db..58eae0707130 100644
--- a/net-p2p/torrent-file-editor/Makefile
+++ b/net-p2p/torrent-file-editor/Makefile
@@ -1,7 +1,7 @@
PORTNAME= torrent-file-editor
-PORTVERSION= 0.3.17
-DISTVERSIONPREFIX= v
+PORTVERSION= 0.3.18
CATEGORIES= net-p2p
+MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/v${PORTVERSION}/
MAINTAINER= danfe@FreeBSD.org
COMMENT= GUI tool for creating and editing .torrent files
@@ -10,7 +10,6 @@ WWW= https://torrent-file-editor.github.io/
LICENSE= GPLv3+
USES= cmake compiler:c++11-lang desktop-file-utils qt:5
-USE_GITHUB= yes
USE_QT= buildtools:build linguisttools:build qmake:build \
core gui widgets
@@ -23,17 +22,4 @@ OPTIONS_DEFAULT= DONATION
DONATION_DESC= Show donation text in the About dialog
DONATION_CMAKE_OFF= -DDISABLE_DONATION:BOOL=ON
-.include <bsd.port.pre.mk>
-
-.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
-CFLAGS+= -Wno-error=unused-but-set-variable
-.endif
-
-post-patch:
- @${REINPLACE_CMD} -e 's,const auto file,const auto \&file,' \
- ${WRKSRC}/bencodemodel.cpp ${WRKSRC}/mainwindow.cpp
-# Avoid conflict with C++20 <version> by adding .txt suffix
- @${REINPLACE_CMD} -i .c++20 '/file/s/version/&.txt/' \
- ${WRKSRC}/cmake/Dmg.cmake ${WRKSRC}/cmake/Version.cmake
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/net-p2p/torrent-file-editor/distinfo b/net-p2p/torrent-file-editor/distinfo
index 960603c40ff7..63b5f8d07b05 100644
--- a/net-p2p/torrent-file-editor/distinfo
+++ b/net-p2p/torrent-file-editor/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1578160957
-SHA256 (torrent-file-editor-torrent-file-editor-v0.3.17_GH0.tar.gz) = e81a8701f04715dd9162a67cb1732f9d93209200a2aefcf9d2cc6acbb8d76443
-SIZE (torrent-file-editor-torrent-file-editor-v0.3.17_GH0.tar.gz) = 392867
+TIMESTAMP = 1687873884
+SHA256 (torrent-file-editor-0.3.18.tar.gz) = 78b69e0151c5998b4df8b69225e7930c18b7d4419eeaabcad769df0f38a86292
+SIZE (torrent-file-editor-0.3.18.tar.gz) = 383747