summaryrefslogtreecommitdiff
path: root/net-im/qTox/Makefile
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2015-01-14 21:12:33 +0000
committerThierry Thomas <thierry@FreeBSD.org>2015-01-14 21:12:33 +0000
commitbdac33dce9004641779a362dd14ca0deb1460edc (patch)
treebeff9f25a182ac47d79fab673cd973bb1c7f335e /net-im/qTox/Makefile
parentAdding audio/filter_audio, to be used by net-im/qTox. (diff)
Upgrade to a recent snapshot.
PR: ports/196710 Submitted by: yuri (at) rawbw.com (maintainer)
Notes
Notes: svn path=/head/; revision=377046
Diffstat (limited to 'net-im/qTox/Makefile')
-rw-r--r--net-im/qTox/Makefile14
1 files changed, 11 insertions, 3 deletions
diff --git a/net-im/qTox/Makefile b/net-im/qTox/Makefile
index 9270530a624a..ed6b9fa3df8c 100644
--- a/net-im/qTox/Makefile
+++ b/net-im/qTox/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= qTox
-PORTVERSION= 0.141118
+PORTVERSION= 0.150113
PORTREVISION= 1
CATEGORIES= net-im
@@ -15,21 +15,29 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/libtoxcore.a:${PORTSDIR}/net-im/tox
LIB_DEPENDS= libopencv_highgui.so:${PORTSDIR}/graphics/opencv \
libopencv_core.so:${PORTSDIR}/graphics/opencv-core \
libvpx.so:${PORTSDIR}/multimedia/libvpx \
+ libfilteraudio.so:${PORTSDIR}/audio/filter_audio \
libsodium.so:${PORTSDIR}/security/libsodium
RUN_DEPENDS= ${LOCALBASE}/lib/libtoxcore.a:${PORTSDIR}/net-im/tox
USE_GITHUB= yes
GH_ACCOUNT= tux3
-GH_COMMIT= 7c499c2
+GH_COMMIT= d74b95a
GH_TAGNAME= ${GH_COMMIT}
+
+USES= compiler:c++11-lib desktop-file-utils openal:soft qmake gmake
+USE_XORG+= x11 xscrnsaver
USE_QT5= core gui network xml opengl sql sql-sqlite3_run widgets \
concurrent buildtools_build linguisttools_build
-USES= compiler:c++11-lib desktop-file-utils openal:soft qmake gmake
PLIST_FILES= bin/qtox \
share/applications/qTox.desktop \
share/pixmaps/qtox.png
+pre-everything::
+ @${ECHO_MSG}
+ @${ECHO_MSG} "Warning: qTox won't build if the option NaCl was selected for Tox!"
+ @${ECHO_MSG}
+
post-patch:
${REINPLACE_CMD} -e 's|$$$$system(git rev-parse HEAD)|"${GH_COMMIT}"|' \
${WRKSRC}/qtox.pro