2014-10-19 17:06:48 +02:00
|
|
|
# Created by: Yuri Victorovich <yuri@rawbw.com>
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= qTox
|
2014-11-21 22:53:03 +01:00
|
|
|
PORTVERSION= 0.141118
|
2014-12-04 23:40:43 +01:00
|
|
|
PORTREVISION= 1
|
2014-10-19 17:06:48 +02:00
|
|
|
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
|
2014-11-21 22:53:03 +01:00
|
|
|
LIB_DEPENDS= libopencv_highgui.so:${PORTSDIR}/graphics/opencv \
|
|
|
|
libopencv_core.so:${PORTSDIR}/graphics/opencv-core \
|
|
|
|
libvpx.so:${PORTSDIR}/multimedia/libvpx \
|
|
|
|
libsodium.so:${PORTSDIR}/security/libsodium
|
2014-10-19 17:06:48 +02:00
|
|
|
RUN_DEPENDS= ${LOCALBASE}/lib/libtoxcore.a:${PORTSDIR}/net-im/tox
|
|
|
|
|
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= tux3
|
2014-11-21 22:53:03 +01:00
|
|
|
GH_COMMIT= 7c499c2
|
2014-10-19 17:06:48 +02:00
|
|
|
GH_TAGNAME= ${GH_COMMIT}
|
2014-12-04 23:40:43 +01:00
|
|
|
USE_QT5= core gui network xml opengl sql sql-sqlite3_run widgets \
|
|
|
|
concurrent buildtools_build linguisttools_build
|
2014-11-21 22:53:03 +01:00
|
|
|
USES= compiler:c++11-lib desktop-file-utils openal:soft qmake gmake
|
2014-10-19 17:06:48 +02:00
|
|
|
|
|
|
|
PLIST_FILES= bin/qtox \
|
|
|
|
share/applications/qTox.desktop \
|
|
|
|
share/pixmaps/qtox.png
|
|
|
|
|
2014-10-29 19:31:11 +01:00
|
|
|
post-patch:
|
|
|
|
${REINPLACE_CMD} -e 's|$$$$system(git rev-parse HEAD)|"${GH_COMMIT}"|' \
|
|
|
|
${WRKSRC}/qtox.pro
|
|
|
|
|
2014-10-19 17:06:48 +02:00
|
|
|
pre-configure:
|
|
|
|
${CP} ${WRKSRC}/img/icon.png ${WRKSRC}/img/qtox.png
|
|
|
|
${REINPLACE_CMD} '/Comment/s,=.*,=${COMMENT},' \
|
|
|
|
${WRKSRC}/qTox.desktop
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|