Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Oct 2014 15:06:49 +0000 (UTC)
From:      Max Brazhnikov <makc@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r371182 - in head/net-im: . qTox qTox/files
Message-ID:  <201410191506.s9JF6n33065330@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: makc
Date: Sun Oct 19 15:06:48 2014
New Revision: 371182
URL: https://svnweb.freebsd.org/changeset/ports/371182
QAT: https://qat.redports.org/buildarchive/r371182/

Log:
  Add new port net-im/qTox:
  
  Qt 5 based Tox client
  
  WWW: https://wiki.tox.im/QTox
  
  PR:		194010 (based on)
  Submitted by:	yuri@rawbw.com

Added:
  head/net-im/qTox/
  head/net-im/qTox/Makefile   (contents, props changed)
  head/net-im/qTox/distinfo   (contents, props changed)
  head/net-im/qTox/files/
  head/net-im/qTox/files/patch-emoticonswidget.cpp   (contents, props changed)
  head/net-im/qTox/files/patch-qtox.pro   (contents, props changed)
  head/net-im/qTox/pkg-descr   (contents, props changed)
Modified:
  head/net-im/Makefile

Modified: head/net-im/Makefile
==============================================================================
--- head/net-im/Makefile	Sun Oct 19 15:05:00 2014	(r371181)
+++ head/net-im/Makefile	Sun Oct 19 15:06:48 2014	(r371182)
@@ -126,6 +126,7 @@
     SUBDIR += py-xmpppy
     SUBDIR += py-xmpppy-irc
     SUBDIR += py-xmpppy-yahoo
+    SUBDIR += qTox
     SUBDIR += qq
     SUBDIR += qwit
     SUBDIR += qwit-devel

Added: head/net-im/qTox/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-im/qTox/Makefile	Sun Oct 19 15:06:48 2014	(r371182)
@@ -0,0 +1,34 @@
+# Created by: Yuri Victorovich <yuri@rawbw.com>
+# $FreeBSD$
+
+PORTNAME=	qTox
+PORTVERSION=	0.141018
+CATEGORIES=	net-im
+
+MAINTAINER=	yuri@rawbw.com
+COMMENT=	Qt 5 based Tox client
+
+LICENSE=	GPLv3
+
+BUILD_DEPENDS=	${LOCALBASE}/lib/libtoxcore.a:${PORTSDIR}/net-im/tox
+LIB_DEPENDS=	libopencv_highgui.so:${PORTSDIR}/graphics/opencv
+RUN_DEPENDS=	${LOCALBASE}/lib/libtoxcore.a:${PORTSDIR}/net-im/tox
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	tux3
+GH_TAGNAME=	${GH_COMMIT}
+GH_COMMIT=	bf35c5e
+
+USE_QT5=	core gui network opengl xml widgets buildtools_build
+USES=		compiler:c++11-lib openal:soft qmake
+
+PLIST_FILES=	bin/qtox \
+		share/applications/qTox.desktop \
+		share/pixmaps/qtox.png
+
+pre-configure:
+	${CP} ${WRKSRC}/img/icon.png ${WRKSRC}/img/qtox.png
+	${REINPLACE_CMD} '/Comment/s,=.*,=${COMMENT},' \
+		${WRKSRC}/qTox.desktop
+
+.include <bsd.port.mk>

Added: head/net-im/qTox/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-im/qTox/distinfo	Sun Oct 19 15:06:48 2014	(r371182)
@@ -0,0 +1,2 @@
+SHA256 (qTox-0.141018.tar.gz) = a05fd310551f3c3f09f23d463990d7727cf345f0f148f1ae359a17f1a0fa204d
+SIZE (qTox-0.141018.tar.gz) = 2588328

Added: head/net-im/qTox/files/patch-emoticonswidget.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-im/qTox/files/patch-emoticonswidget.cpp	Sun Oct 19 15:06:48 2014	(r371182)
@@ -0,0 +1,12 @@
+--- src/widget/emoticonswidget.cpp
++++ src/widget/emoticonswidget.cpp
+@@ -25,6 +25,8 @@
+ #include <QGridLayout>
+ #include <QMouseEvent>
+ 
++#include <math.h>
++
+ EmoticonsWidget::EmoticonsWidget(QWidget *parent) :
+     QMenu(parent)
+ {
+

Added: head/net-im/qTox/files/patch-qtox.pro
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-im/qTox/files/patch-qtox.pro	Sun Oct 19 15:06:48 2014	(r371182)
@@ -0,0 +1,18 @@
+--- qtox.pro.orig	2014-10-18 16:44:41 UTC
++++ qtox.pro
+@@ -186,3 +186,15 @@
+     src/cameraworker.cpp \
+     src/widget/videosurface.cpp \
+     src/netvideosource.cpp
++
++unix {
++    target.path  = $$PREFIX/bin
++
++    desktop.files = qTox.desktop
++    desktop.path = $$PREFIX/share/applications
++
++    icon.files = img/qtox.png
++    icon.path = $$PREFIX/share/pixmaps
++
++    INSTALLS = target desktop icon
++}

Added: head/net-im/qTox/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-im/qTox/pkg-descr	Sun Oct 19 15:06:48 2014	(r371182)
@@ -0,0 +1,3 @@
+qTox is a graphical user interface for Tox written using Qt 5.
+
+WWW: https://wiki.tox.im/QTox



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