summaryrefslogtreecommitdiff
path: root/net-im/qTox/Makefile
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2015-03-19 20:22:26 +0000
committerThierry Thomas <thierry@FreeBSD.org>2015-03-19 20:22:26 +0000
commit03ebbc6ca586ba8399364fcac7d0a5f3afcb6f87 (patch)
treed7c9e3b572278a13f0a1ab49cb977055e8abfb02 /net-im/qTox/Makefile
parentConvert to the new USE_GITHUB. (diff)
Refresh.
Submitted by: Yuri <yuri (at) rawbw.com>
Notes
Notes: svn path=/head/; revision=381684
Diffstat (limited to 'net-im/qTox/Makefile')
-rw-r--r--net-im/qTox/Makefile27
1 files changed, 15 insertions, 12 deletions
diff --git a/net-im/qTox/Makefile b/net-im/qTox/Makefile
index ed6b9fa3df8c..60bc97b8d9c0 100644
--- a/net-im/qTox/Makefile
+++ b/net-im/qTox/Makefile
@@ -2,9 +2,8 @@
# $FreeBSD$
PORTNAME= qTox
-PORTVERSION= 0.150113
-PORTREVISION= 1
-CATEGORIES= net-im
+PORTVERSION= 0.150317
+CATEGORIES= net-im net-p2p
MAINTAINER= yuri@rawbw.com
COMMENT= Qt 5 based Tox client
@@ -16,22 +15,23 @@ 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
+ libsodium.so:${PORTSDIR}/security/libsodium \
+ libqrencode.so:${PORTSDIR}/graphics/libqrencode
RUN_DEPENDS= ${LOCALBASE}/lib/libtoxcore.a:${PORTSDIR}/net-im/tox
USE_GITHUB= yes
GH_ACCOUNT= tux3
-GH_COMMIT= d74b95a
+GH_COMMIT= de42357
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 \
+USE_GNOME= glib20 gtk20 cairo gdkpixbuf2
+USE_XORG= x11 xscrnsaver
+USE_QT5= core gui network xml opengl sql sql-sqlite3_run widgets svg \
concurrent buildtools_build linguisttools_build
PLIST_FILES= bin/qtox \
- share/applications/qTox.desktop \
- share/pixmaps/qtox.png
+ share/applications/qTox.desktop
pre-everything::
@${ECHO_MSG}
@@ -39,12 +39,15 @@ pre-everything::
@${ECHO_MSG}
post-patch:
- ${REINPLACE_CMD} -e 's|$$$$system(git rev-parse HEAD)|"${GH_COMMIT}"|' \
+ @${REINPLACE_CMD} -e 's|$$$$system(git rev-parse HEAD)|"${GH_COMMIT}"|' \
+ ${WRKSRC}/qtox.pro
+ @${REINPLACE_CMD} -e 's|INCLUDEPATH += "/usr/include|INCLUDEPATH += "/usr/local/include|' \
+ ${WRKSRC}/qtox.pro
+ @${REINPLACE_CMD} -e 's|INCLUDEPATH += "/usr/lib|INCLUDEPATH += "/usr/local/lib|' \
${WRKSRC}/qtox.pro
pre-configure:
- ${CP} ${WRKSRC}/img/icon.png ${WRKSRC}/img/qtox.png
- ${REINPLACE_CMD} '/Comment/s,=.*,=${COMMENT},' \
+ @${REINPLACE_CMD} '/Comment/s,=.*,=${COMMENT},' \
${WRKSRC}/qTox.desktop
.include <bsd.port.mk>