svn commit: r447965 - in head/net-p2p: . transmission transmission-gtk transmission-qt4 transmission-qt5

Chris Rees crees at FreeBSD.org
Mon Aug 14 19:21:06 UTC 2017


Author: crees
Date: Mon Aug 14 19:21:04 2017
New Revision: 447965
URL: https://svnweb.freebsd.org/changeset/ports/447965

Log:
  Add -qt5 port.
  
  While here, correct version of transmission meta-port
  
  PR:		ports/220933
  Submitted by:	ldbm at privacychain.ch

Added:
  head/net-p2p/transmission-qt5/
     - copied from r447939, head/net-p2p/transmission-qt4/
Modified:
  head/net-p2p/Makefile
  head/net-p2p/transmission-gtk/Makefile
  head/net-p2p/transmission-qt4/Makefile
  head/net-p2p/transmission-qt4/pkg-descr
  head/net-p2p/transmission-qt5/Makefile
  head/net-p2p/transmission-qt5/pkg-descr
  head/net-p2p/transmission-qt5/pkg-plist
  head/net-p2p/transmission/Makefile

Modified: head/net-p2p/Makefile
==============================================================================
--- head/net-p2p/Makefile	Mon Aug 14 19:11:39 2017	(r447964)
+++ head/net-p2p/Makefile	Mon Aug 14 19:21:04 2017	(r447965)
@@ -89,6 +89,7 @@
     SUBDIR += transmission-daemon
     SUBDIR += transmission-gtk
     SUBDIR += transmission-qt4
+    SUBDIR += transmission-qt5
     SUBDIR += transmission-remote-gui
     SUBDIR += tribler
     SUBDIR += twister

Modified: head/net-p2p/transmission-gtk/Makefile
==============================================================================
--- head/net-p2p/transmission-gtk/Makefile	Mon Aug 14 19:11:39 2017	(r447964)
+++ head/net-p2p/transmission-gtk/Makefile	Mon Aug 14 19:21:04 2017	(r447965)
@@ -1,6 +1,6 @@
 # $FreeBSD$
 
-PORTREVISION=	3
+PORTREVISION=	4
 PKGNAMESUFFIX=	-gtk
 
 MAINTAINER=	crees at FreeBSD.org
@@ -18,7 +18,7 @@ MASTERDIR=	${.CURDIR}/../transmission-cli
 PLIST=		${.CURDIR}/pkg-plist
 SLAVEPORT=	gtk
 
-USE_GNOME=	gtk30 intlhack
+USE_GNOME=	cairo gtk30 intlhack
 USES=		gettext pathfix desktop-file-utils
 INSTALLS_ICONS=	yes
 

Modified: head/net-p2p/transmission-qt4/Makefile
==============================================================================
--- head/net-p2p/transmission-qt4/Makefile	Mon Aug 14 19:11:39 2017	(r447964)
+++ head/net-p2p/transmission-qt4/Makefile	Mon Aug 14 19:21:04 2017	(r447965)
@@ -1,21 +1,26 @@
 # $FreeBSD$
 
-PORTREVISION=	4
+PORTREVISION=	5
 PKGNAMESUFFIX=	-qt4
 
 MAINTAINER=	crees at FreeBSD.org
-COMMENT=	Fast and lightweight QT4 BitTorrent client
+COMMENT=	Fast and lightweight Qt4 BitTorrent client
 
-LIB_DEPENDS=	${GEN_LIB_DEPENDS}
+LIB_DEPENDS=	${GEN_LIB_DEPENDS} \
+		libfontconfig.so:x11-fonts/fontconfig \
+		libfreetype.so:print/freetype2
 RUN_DEPENDS=	${GEN_RUN_DEPENDS}
 
+CONFLICTS_INSTALL=	transmission-qt5-[0-9]*
+
 DESCR=		${.CURDIR}/pkg-descr
 MASTERDIR=	${.CURDIR}/../transmission-cli
 PLIST=		${.CURDIR}/pkg-plist
 SLAVEPORT=	qt4
 
 QT_NONSTANDARD=	yes
-USE_QT4=	moc_build qmake_build rcc_build uic_build gui dbus network
+USE_QT4=	moc_build qmake_build uic_build rcc_build \
+		corelib gui dbus network xml
 USES=		compiler:c++11-lib desktop-file-utils
 
 EXTRA_CONF_ARGS=--disable-cli \

Modified: head/net-p2p/transmission-qt4/pkg-descr
==============================================================================
--- head/net-p2p/transmission-qt4/pkg-descr	Mon Aug 14 19:11:39 2017	(r447964)
+++ head/net-p2p/transmission-qt4/pkg-descr	Mon Aug 14 19:21:04 2017	(r447965)
@@ -1,4 +1,4 @@
-A fast and lightweight QT4 BitTorrent client, loosely based on the GTK+ client.
+A fast and lightweight Qt4 BitTorrent client, loosely based on the GTK+ client.
 
 This is the only Transmission client that can act as its own self-contained
 session (as the GTK+ and Mac clients do), and can also connect to a remote

Modified: head/net-p2p/transmission-qt5/Makefile
==============================================================================
--- head/net-p2p/transmission-qt4/Makefile	Mon Aug 14 13:32:08 2017	(r447939)
+++ head/net-p2p/transmission-qt5/Makefile	Mon Aug 14 19:21:04 2017	(r447965)
@@ -1,21 +1,25 @@
 # $FreeBSD$
 
-PORTREVISION=	4
-PKGNAMESUFFIX=	-qt4
+PORTREVISION=	0
+PKGNAMESUFFIX=	-qt5
 
 MAINTAINER=	crees at FreeBSD.org
-COMMENT=	Fast and lightweight QT4 BitTorrent client
+COMMENT=	Fast and lightweight Qt5 BitTorrent client
 
-LIB_DEPENDS=	${GEN_LIB_DEPENDS}
+LIB_DEPENDS=	${GEN_LIB_DEPENDS} \
+		libfontconfig.so:x11-fonts/fontconfig \
+		libfreetype.so:print/freetype2
 RUN_DEPENDS=	${GEN_RUN_DEPENDS}
 
+CONFLICTS_INSTALL=	transmission-qt4-[0-9]*
+
 DESCR=		${.CURDIR}/pkg-descr
 MASTERDIR=	${.CURDIR}/../transmission-cli
 PLIST=		${.CURDIR}/pkg-plist
-SLAVEPORT=	qt4
+SLAVEPORT=	qt5
 
 QT_NONSTANDARD=	yes
-USE_QT4=	moc_build qmake_build rcc_build uic_build gui dbus network
+USE_QT5=	buildtools_build qmake_build core dbus gui network widgets
 USES=		compiler:c++11-lib desktop-file-utils
 
 EXTRA_CONF_ARGS=--disable-cli \
@@ -38,9 +42,10 @@ do-install:
 		${SETENV} INSTALL_ROOT=${STAGEDIR}${PREFIX} ${MAKE_CMD} install)
 
 post-install: general-install
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/transmission-qt
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	@${INSTALL_DATA} ${WRKSRC}/qt/README.txt \
-		${STAGEDIR}${DOCSDIR}/README-qt4
+		${STAGEDIR}${DOCSDIR}/README-qt5
 	@${INSTALL_DATA} ${WRKSRC}/qt/transmission-qt.desktop \
 		${STAGEDIR}${PREFIX}/share/applications/
 	@${INSTALL_DATA} ${WRKSRC}/qt/icons/transmission.png \

Modified: head/net-p2p/transmission-qt5/pkg-descr
==============================================================================
--- head/net-p2p/transmission-qt4/pkg-descr	Mon Aug 14 13:32:08 2017	(r447939)
+++ head/net-p2p/transmission-qt5/pkg-descr	Mon Aug 14 19:21:04 2017	(r447965)
@@ -1,4 +1,4 @@
-A fast and lightweight QT4 BitTorrent client, loosely based on the GTK+ client.
+A fast and lightweight Qt5 BitTorrent client, loosely based on the GTK+ client.
 
 This is the only Transmission client that can act as its own self-contained
 session (as the GTK+ and Mac clients do), and can also connect to a remote

Modified: head/net-p2p/transmission-qt5/pkg-plist
==============================================================================
--- head/net-p2p/transmission-qt4/pkg-plist	Mon Aug 14 13:32:08 2017	(r447939)
+++ head/net-p2p/transmission-qt5/pkg-plist	Mon Aug 14 19:21:04 2017	(r447965)
@@ -4,5 +4,5 @@ share/applications/transmission-qt.desktop
 %%PORTDOCS%%%%DOCSDIR%%/AUTHORS
 %%PORTDOCS%%%%DOCSDIR%%/NEWS
 %%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/README-qt4
+%%PORTDOCS%%%%DOCSDIR%%/README-qt5
 share/pixmaps/transmission-qt.png

Modified: head/net-p2p/transmission/Makefile
==============================================================================
--- head/net-p2p/transmission/Makefile	Mon Aug 14 19:11:39 2017	(r447964)
+++ head/net-p2p/transmission/Makefile	Mon Aug 14 19:21:04 2017	(r447965)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	transmission
-PORTVERSION=	2.84
+PORTVERSION=	2.92
 CATEGORIES=	net-p2p
 
 MAINTAINER=	crees at FreeBSD.org


More information about the svn-ports-all mailing list