svn commit: r442260 - in head/net-p2p: . torrent-file-editor torrent-file-editor/files

Alexey Dokuchaev danfe at FreeBSD.org
Wed May 31 19:25:57 UTC 2017


Author: danfe
Date: Wed May 31 19:25:55 2017
New Revision: 442260
URL: https://svnweb.freebsd.org/changeset/ports/442260

Log:
  Add a port of Qt-based GUI tool designed to create and edit .torrent files.
  
  WWW: https://sourceforge.net/projects/torrent-file-editor/

Added:
  head/net-p2p/torrent-file-editor/
  head/net-p2p/torrent-file-editor/Makefile   (contents, props changed)
  head/net-p2p/torrent-file-editor/distinfo   (contents, props changed)
  head/net-p2p/torrent-file-editor/files/
  head/net-p2p/torrent-file-editor/files/patch-CMakeLists.txt   (contents, props changed)
  head/net-p2p/torrent-file-editor/pkg-descr   (contents, props changed)
  head/net-p2p/torrent-file-editor/pkg-plist   (contents, props changed)
Modified:
  head/net-p2p/Makefile

Modified: head/net-p2p/Makefile
==============================================================================
--- head/net-p2p/Makefile	Wed May 31 19:25:35 2017	(r442259)
+++ head/net-p2p/Makefile	Wed May 31 19:25:55 2017	(r442260)
@@ -80,6 +80,7 @@
     SUBDIR += shx
     SUBDIR += sonarr
     SUBDIR += squall
+    SUBDIR += torrent-file-editor
     SUBDIR += torrentcheck
     SUBDIR += torrentsniff
     SUBDIR += transmission

Added: head/net-p2p/torrent-file-editor/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-p2p/torrent-file-editor/Makefile	Wed May 31 19:25:55 2017	(r442260)
@@ -0,0 +1,29 @@
+# Created by: Alexey Dokuchaev <danfe at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	torrent-file-editor
+PORTVERSION=	0.3.4
+CATEGORIES=	net-p2p
+MASTER_SITES=	SF/${PORTNAME}/v${PORTVERSION}
+
+MAINTAINER=	danfe at FreeBSD.org
+COMMENT=	Qt-based GUI tool for creating and editing .torrent files
+
+LICENSE=	GPLv3
+
+USES=		cmake
+
+_QT4_DEPS=	linguisttools_build moc_build qmake_build rcc_build \
+		uic_build corelib gui
+_QT5_DEPS=	buildtools_build linguisttools_build qmake_build \
+		core gui widgets
+
+OPTIONS_DEFINE=	QT5
+QT5_DESC=	Build against Qt 5 instead of Qt 4
+
+QT5_USE=	QT5=${_QT5_DEPS:ts,}
+QT5_USE_OFF=	QT4=${_QT4_DEPS:ts,}
+QT5_LIB_DEPENDS_OFF=	libqjson.so:devel/qjson
+QT5_CMAKE_ON=	-DQT5_BUILD:BOOL=ON
+
+.include <bsd.port.mk>

Added: head/net-p2p/torrent-file-editor/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-p2p/torrent-file-editor/distinfo	Wed May 31 19:25:55 2017	(r442260)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1492441821
+SHA256 (torrent-file-editor-0.3.4.tar.gz) = 6f3dda0fe0dee76bd1e15f62af4d29b11e6f4149d05ed520e5a7c2baa269a08c
+SIZE (torrent-file-editor-0.3.4.tar.gz) = 302621

Added: head/net-p2p/torrent-file-editor/files/patch-CMakeLists.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-p2p/torrent-file-editor/files/patch-CMakeLists.txt	Wed May 31 19:25:55 2017	(r442260)
@@ -0,0 +1,10 @@
+--- CMakeLists.txt.orig	2017-04-17 14:19:04 UTC
++++ CMakeLists.txt
+@@ -73,6 +73,7 @@ if(QT5_BUILD)
+ else()
+   find_package(Qt4 REQUIRED)
+   find_package(QJSON 0.8.0 REQUIRED)
++  include_directories(${QJSON_INCLUDE_DIR})
+   include(${QT_USE_FILE})
+ endif()
+ 

Added: head/net-p2p/torrent-file-editor/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-p2p/torrent-file-editor/pkg-descr	Wed May 31 19:25:55 2017	(r442260)
@@ -0,0 +1,10 @@
+This is a Qt-based GUI tool designed to create and edit .torrent files.
+Some of its features:
+
+  - Create .torrent file from scratch
+  - Edit .torrent file in user-friendly way
+  - Edit .torrent file in JSON format
+  - Add, remove, and interchange files in .torrent file
+  - Support for different encodings
+
+WWW: https://sourceforge.net/projects/torrent-file-editor/

Added: head/net-p2p/torrent-file-editor/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-p2p/torrent-file-editor/pkg-plist	Wed May 31 19:25:55 2017	(r442260)
@@ -0,0 +1,9 @@
+bin/torrent-file-editor
+share/appdata/torrent-file-editor.appdata.xml
+share/applications/torrent-file-editor.desktop
+share/icons/hicolor/16x16/apps/torrent-file-editor.png
+share/icons/hicolor/32x32/apps/torrent-file-editor.png
+share/icons/hicolor/48x48/apps/torrent-file-editor.png
+share/icons/hicolor/64x64/apps/torrent-file-editor.png
+share/icons/hicolor/128x128/apps/torrent-file-editor.png
+share/icons/hicolor/256x256/apps/torrent-file-editor.png


More information about the svn-ports-all mailing list