View | Details | Raw Unified | Return to bug 194010 | Differences between
and this patch

Collapse All | Expand All

(-)net-im/qTox/Makefile (+31 lines)
Line 0 Link Here
1
# Created by: Yuri Victorovich <yuri@rawbw.com>
2
# $FreeBSD: head/net-im/qtox/Makefile $
3
4
PORTNAME=	qTox
5
PORTVERSION=	0.140927
6
CATEGORIES=	net-im
7
8
MAINTAINER=	yuri@rawbw.com
9
COMMENT=	Tox client written in C++ using Qt5
10
11
LICENSE=	GPLv3
12
13
BUILD_DEPENDS=	${LOCALBASE}/lib/libtoxcore.a:${PORTSDIR}/net-im/tox
14
LIB_DEPENDS=	libopencv_highgui.so:${PORTSDIR}/graphics/opencv
15
RUN_DEPENDS=	${LOCALBASE}/lib/libtoxcore.a:${PORTSDIR}/net-im/tox
16
17
USE_GITHUB=	yes
18
GH_ACCOUNT=	tux3
19
GH_TAGNAME=	${GH_COMMIT}
20
GH_COMMIT=	35f548c
21
22
USE_QT5=	core gui network xml widgets buildtools_build qmake_build
23
USES=		qmake
24
PLIST_FILES=	bin/qtox
25
26
post-patch:
27
	@${REINPLACE_CMD} 's/TOX_AVATAR_FORMAT_PNG/TOX_AVATARFORMAT_PNG/' ${WRKSRC}/*.cpp ${WRKSRC}/widget/*.cpp && \
28
	${REINPLACE_CMD} 's/TOX_AVATAR_FORMAT_NONE/TOX_AVATARFORMAT_NONE/' ${WRKSRC}/*.cpp ${WRKSRC}/widget/*.cpp && \
29
	${REINPLACE_CMD} 's/TOX_AVATAR_MAX_DATA_LENGTH/TOX_MAX_AVATAR_DATA_LENGTH/' ${WRKSRC}/*.cpp ${WRKSRC}/widget/*.cpp
30
31
.include <bsd.port.mk>
(-)net-im/qTox/distinfo (+2 lines)
Line 0 Link Here
1
SHA256 (qTox-0.140927.tar.gz) = 76412b22f21fce40b92fcfa09fe547a4fcddbdc52167679af18a757a9af63a93
2
SIZE (qTox-0.140927.tar.gz) = 2293853
(-)net-im/qTox/files/patch-qtox.pro (+9 lines)
Line 0 Link Here
1
--- qtox.pro
2
+++ qtox.pro
3
@@ -159,3 +159,6 @@
4
     widget/tool/chatactions/filetransferaction.cpp \
5
     widget/tool/chatactions/systemmessageaction.cpp \
6
     widget/maskablepixmapwidget.cpp
7
+
8
+target.path  = $$PREFIX/bin
9
+INSTALLS = target
(-)net-im/qTox/pkg-descr (+3 lines)
Line 0 Link Here
1
qTox is a graphical user interface for Tox written using Qt5.
2
3
WWW: https://wiki.tox.im/QTox

Return to bug 194010