Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Jan 2019 04:41:47 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r491325 - head/net-im/teamwords
Message-ID:  <201901270441.x0R4flTM029389@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Sun Jan 27 04:41:46 2019
New Revision: 491325
URL: https://svnweb.freebsd.org/changeset/ports/491325

Log:
  net-im/teamwords: Allow to change notification style via WEBKITNOTIFY option
  
  - Drop qt5-x11extras, qt5-svg, qt5-linguist dependencies; use
    qt5-buildtools for build time only
  - Add qt5-webkit and qt5-widgets as explicit runtime dependencies;
    they were most likely hidden by qt5-linguist previously
  - Fix some tabs vs spaces issue
  - Reset maintainership due to the long timeout
  
  PR:		209148
  Submitted by:	avos
  Approved by:	kmoore (maintainer timeout, ~33 months)

Modified:
  head/net-im/teamwords/Makefile

Modified: head/net-im/teamwords/Makefile
==============================================================================
--- head/net-im/teamwords/Makefile	Sun Jan 27 04:28:26 2019	(r491324)
+++ head/net-im/teamwords/Makefile	Sun Jan 27 04:41:46 2019	(r491325)
@@ -4,18 +4,17 @@
 PORTNAME=	teamwords
 PORTVERSION=	0.2.1
 DISTVERSIONPREFIX=	v
-PORTREVISION=	6
+PORTREVISION=	7
 CATEGORIES=	net-im
 
-MAINTAINER=	kmoore@FreeBSD.org
+MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Unofficial Qt Slack client
 
 LICENSE=	LGPL3
 
-USES=		compiler:c++11-lang qmake qt:5
+USES=		compiler:c++11-lang gl qmake qt:5
 USE_LDCONFIG=	yes
-USE_QT=		core gui widgets network svg linguist \
-		webkit buildtools x11extras
+USE_QT=		core gui network webkit widgets buildtools_build
 USE_GL=		gl
 
 QMAKE_ARGS=	CONFIG+="configure"
@@ -26,7 +25,15 @@ GH_PROJECT=	TeamWords
 PLIST_FILES=	bin/teamwords \
 		share/applications/teamwords.desktop \
 		share/icons/teamwords.png
-SUB_FILES=      teamwords.desktop
+SUB_FILES=	teamwords.desktop
+
+OPTIONS_DEFINE=	WEBKITNOTIFY
+
+WEBKITNOTIFY_DESC=	Use QtWebkit for notifications
+
+post-patch-WEBKITNOTIFY-on:
+	@${REINPLACE_CMD} 's|linux|unix|' \
+		${WRKSRC}/plugins/qtwebkit/qtwebkit-plugins.pri
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/teamwords ${STAGEDIR}${PREFIX}/bin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201901270441.x0R4flTM029389>