Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Jul 2019 22:33:00 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r506197 - head/net-im/qTox
Message-ID:  <201907072233.x67MX054098057@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Sun Jul  7 22:33:00 2019
New Revision: 506197
URL: https://svnweb.freebsd.org/changeset/ports/506197

Log:
  net-im/qTox: Add port options APPINDICATOR, GTK_SYSTRAY, STATUSNOTIFIER
  
  Gtk and related dependencies are only induced by these options.
  Unfortunately, glib20 is also pulled by Qt5, so setting the above options to OFF would
  not practically reduce dependencies.

Modified:
  head/net-im/qTox/Makefile

Modified: head/net-im/qTox/Makefile
==============================================================================
--- head/net-im/qTox/Makefile	Sun Jul  7 21:32:06 2019	(r506196)
+++ head/net-im/qTox/Makefile	Sun Jul  7 22:33:00 2019	(r506197)
@@ -5,7 +5,7 @@ PORTNAME=	qTox
 DISTVERSIONPREFIX=	v
 DISTVERSION=	1.16.3-529
 DISTVERSIONSUFFIX=	-gb4450319
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	net-im net-p2p
 
 PATCH_SITES=	https://github.com/${PORTNAME}/${PORTNAME}/commit/
@@ -29,16 +29,15 @@ LIB_DEPENDS=	libavcodec.so:multimedia/ffmpeg \
 		libtoxcore.so:net-im/tox \
 		libvpx.so:multimedia/libvpx
 
-USES=		cmake compiler:c++11-lib desktop-file-utils gettext gnome openal:soft pkgconfig qt:5
+USES=		cmake compiler:c++11-lib desktop-file-utils gettext openal:soft pkgconfig qt:5
 USE_GITHUB=	yes
-USE_GNOME=	gtk20 gdkpixbuf2 cairo
 USE_QT=		core gui network xml opengl sql sql-sqlite3_run widgets svg \
 		concurrent_build buildtools_build linguisttools_build qmake_build testlib_build
 CMAKE_ARGS=	-DGIT_DESCRIBE:STRING=${FULLVERSION}
 CMAKE_OFF=	USE_CCACHE
 
-OPTIONS_DEFINE=			FILTERAUDIO PLATFORM_EXTENSIONS SPELL_CHECK
-OPTIONS_DEFAULT=		FILTERAUDIO PLATFORM_EXTENSIONS SPELL_CHECK
+OPTIONS_DEFINE=			FILTERAUDIO PLATFORM_EXTENSIONS SPELL_CHECK APPINDICATOR GTK_SYSTRAY STATUSNOTIFIER
+OPTIONS_DEFAULT=		FILTERAUDIO PLATFORM_EXTENSIONS SPELL_CHECK GTK_SYSTRAY STATUSNOTIFIER # removing GTK_SYSTRAY, STATUSNOTIFIER doesn't reduce dependencies
 PLATFORM_EXTENSIONS_DESC=	Enable platform specific extensions
 FILTERAUDIO_DESC=		Enable the echo canceling backend
 
@@ -47,10 +46,23 @@ FILTERAUDIO_LIB_DEPENDS=	libfilteraudio.so:audio/libfi
 PLATFORM_EXTENSIONS_CMAKE_BOOL=	PLATFORM_EXTENSIONS
 PLATFORM_EXTENSIONS_USE=	XORG=x11,xscrnsaver
 
-SPELL_CHECK_DESC=	Spell cheching support
+SPELL_CHECK_DESC=	Spell checking support
 SPELL_CHECK_USES=	kde:5
 SPELL_CHECK_USE=	KDE=sonnet
 SPELL_CHECK_CMAKE_BOOL=	SPELL_CHECK
+
+APPINDICATOR_CMAKE_BOOL=	ENABLE_APPINDICATOR
+APPINDICATOR_BROKEN=	can not find appindicator-0.1
+
+GTK_SYSTRAY_DESC=	Enable GTK systray
+GTK_SYSTRAY_CMAKE_BOOL=	ENABLE_GTK_SYSTRAY
+GTK_SYSTRAY_USES=	gnome
+GTK_SYSTRAY_USE=	GNOME=atk,cairo,gdkpixbuf2,gtk20
+
+STATUSNOTIFIER_DESC=	Enable status notifier
+STATUSNOTIFIER_CMAKE_BOOL=	ENABLE_STATUSNOTIFIER
+STATUSNOTIFIER_USES=	gnome
+STATUSNOTIFIER_USE=	GNOME=atk,cairo,gdkpixbuf2,gtk20
 
 PLIST_FILES=	bin/qtox \
 		share/applications/io.github.qtox.qTox.desktop \



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