1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00
freebsd-ports/net-im/qTox/Makefile
Thomas Zander 3c5abc1adb - Use multimedia/ffmpeg instead of multimedia/ffmpeg26
after former has been upgraded to 2.7 branch
- Bump PORTREVISION

PR:		201324
Submitted by:	yuri@rawbw.com (maintainer)
2015-07-05 08:27:03 +00:00

57 lines
1.7 KiB
Makefile

# Created by: Yuri Victorovich <yuri@rawbw.com>
# $FreeBSD$
PORTNAME= qTox
PORTVERSION= 0.150614
PORTREVISION= 1
CATEGORIES= net-im net-p2p
MAINTAINER= yuri@rawbw.com
COMMENT= Qt 5 based Tox client
LICENSE= GPLv3
BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:${PORTSDIR}/multimedia/v4l_compat
LIB_DEPENDS= libtoxcore.so:${PORTSDIR}/net-im/tox \
libopencv_highgui.so:${PORTSDIR}/graphics/opencv \
libopencv_core.so:${PORTSDIR}/graphics/opencv-core \
libavcodec.so:${PORTSDIR}/multimedia/ffmpeg \
libvpx.so:${PORTSDIR}/multimedia/libvpx \
libfilteraudio.so:${PORTSDIR}/audio/libfilteraudio \
libsodium.so:${PORTSDIR}/security/libsodium \
libqrencode.so:${PORTSDIR}/graphics/libqrencode
USE_GITHUB= yes
GH_ACCOUNT= tux3
GH_TAGNAME= ce2c830
USES= compiler:c++11-lib desktop-file-utils openal:soft qmake gmake
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
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_TAGNAME}"|' \
${WRKSRC}/qtox.pro
@${REINPLACE_CMD} -e 's|INCLUDEPATH += "/usr/include|INCLUDEPATH += "${LOCALBASE}/include|' \
${WRKSRC}/qtox.pro
@${REINPLACE_CMD} -e 's|INCLUDEPATH += "/usr/lib64|INCLUDEPATH += "${LOCALBASE}/lib|' \
${WRKSRC}/qtox.pro
@${REINPLACE_CMD} -e 's|INCLUDEPATH += "/usr/lib|INCLUDEPATH += "${LOCALBASE}/lib|' \
${WRKSRC}/qtox.pro
pre-configure:
@${REINPLACE_CMD} '/Comment/s,=.*,=${COMMENT},' \
${WRKSRC}/qTox.desktop
.include <bsd.port.mk>