diff options
author | makc <makc@FreeBSD.org> | 2014-10-19 23:06:48 +0800 |
---|---|---|
committer | makc <makc@FreeBSD.org> | 2014-10-19 23:06:48 +0800 |
commit | 2c63233f1b8aae9fa3847171c06b326fd372f408 (patch) | |
tree | 838a79a0bb0ce14cea3f11f7c26e907740b58ad2 /net-im | |
parent | 357e9f13e79f90732040c452d56282d2f08602b5 (diff) | |
download | freebsd-ports-gnome-2c63233f1b8aae9fa3847171c06b326fd372f408.tar.gz freebsd-ports-gnome-2c63233f1b8aae9fa3847171c06b326fd372f408.tar.zst freebsd-ports-gnome-2c63233f1b8aae9fa3847171c06b326fd372f408.zip |
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
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/Makefile | 1 | ||||
-rw-r--r-- | net-im/qTox/Makefile | 34 | ||||
-rw-r--r-- | net-im/qTox/distinfo | 2 | ||||
-rw-r--r-- | net-im/qTox/files/patch-emoticonswidget.cpp | 12 | ||||
-rw-r--r-- | net-im/qTox/files/patch-qtox.pro | 18 | ||||
-rw-r--r-- | net-im/qTox/pkg-descr | 3 |
6 files changed, 70 insertions, 0 deletions
diff --git a/net-im/Makefile b/net-im/Makefile index 781a1d1a4d1a..4cd1acfb01ea 100644 --- a/net-im/Makefile +++ b/net-im/Makefile @@ -126,6 +126,7 @@ SUBDIR += py-xmpppy SUBDIR += py-xmpppy-irc SUBDIR += py-xmpppy-yahoo + SUBDIR += qTox SUBDIR += qq SUBDIR += qwit SUBDIR += qwit-devel diff --git a/net-im/qTox/Makefile b/net-im/qTox/Makefile new file mode 100644 index 000000000000..286be2940afe --- /dev/null +++ b/net-im/qTox/Makefile @@ -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> diff --git a/net-im/qTox/distinfo b/net-im/qTox/distinfo new file mode 100644 index 000000000000..eabf3f5ff87e --- /dev/null +++ b/net-im/qTox/distinfo @@ -0,0 +1,2 @@ +SHA256 (qTox-0.141018.tar.gz) = a05fd310551f3c3f09f23d463990d7727cf345f0f148f1ae359a17f1a0fa204d +SIZE (qTox-0.141018.tar.gz) = 2588328 diff --git a/net-im/qTox/files/patch-emoticonswidget.cpp b/net-im/qTox/files/patch-emoticonswidget.cpp new file mode 100644 index 000000000000..15d3ef711ed7 --- /dev/null +++ b/net-im/qTox/files/patch-emoticonswidget.cpp @@ -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) + { + diff --git a/net-im/qTox/files/patch-qtox.pro b/net-im/qTox/files/patch-qtox.pro new file mode 100644 index 000000000000..fbc375f229dd --- /dev/null +++ b/net-im/qTox/files/patch-qtox.pro @@ -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 ++} diff --git a/net-im/qTox/pkg-descr b/net-im/qTox/pkg-descr new file mode 100644 index 000000000000..dfbbfe5f1939 --- /dev/null +++ b/net-im/qTox/pkg-descr @@ -0,0 +1,3 @@ +qTox is a graphical user interface for Tox written using Qt 5. + +WWW: https://wiki.tox.im/QTox |