Lines 14-20
Link Here
|
14 |
LIB_DEPENDS= libtoxcore.so:${PORTSDIR}/net-im/tox \ |
14 |
LIB_DEPENDS= libtoxcore.so:${PORTSDIR}/net-im/tox \ |
15 |
libopencv_highgui.so:${PORTSDIR}/graphics/opencv \ |
15 |
libopencv_highgui.so:${PORTSDIR}/graphics/opencv \ |
16 |
libopencv_core.so:${PORTSDIR}/graphics/opencv-core \ |
16 |
libopencv_core.so:${PORTSDIR}/graphics/opencv-core \ |
17 |
libavcodec26.so:${PORTSDIR}/multimedia/ffmpeg26 \ |
17 |
libavcodec.so:${PORTSDIR}/multimedia/ffmpeg \ |
18 |
libvpx.so:${PORTSDIR}/multimedia/libvpx \ |
18 |
libvpx.so:${PORTSDIR}/multimedia/libvpx \ |
19 |
libfilteraudio.so:${PORTSDIR}/audio/libfilteraudio \ |
19 |
libfilteraudio.so:${PORTSDIR}/audio/libfilteraudio \ |
20 |
libsodium.so:${PORTSDIR}/security/libsodium \ |
20 |
libsodium.so:${PORTSDIR}/security/libsodium \ |
Lines 29-36
Link Here
|
29 |
USE_XORG= x11 xscrnsaver |
29 |
USE_XORG= x11 xscrnsaver |
30 |
USE_QT5= core gui network xml opengl sql sql-sqlite3_run widgets svg \ |
30 |
USE_QT5= core gui network xml opengl sql sql-sqlite3_run widgets svg \ |
31 |
concurrent buildtools_build linguisttools_build |
31 |
concurrent buildtools_build linguisttools_build |
32 |
CXXFLAGS+= -I${LOCALBASE}/include/ffmpeg26 |
|
|
33 |
LDFLAGS+= -L${LOCALBASE}/lib/ffmpeg26 |
34 |
|
32 |
|
35 |
PLIST_FILES= bin/qtox \ |
33 |
PLIST_FILES= bin/qtox \ |
36 |
share/applications/qTox.desktop |
34 |
share/applications/qTox.desktop |
Lines 49-56
Link Here
|
49 |
${WRKSRC}/qtox.pro |
47 |
${WRKSRC}/qtox.pro |
50 |
@${REINPLACE_CMD} -e 's|INCLUDEPATH += "/usr/lib|INCLUDEPATH += "${LOCALBASE}/lib|' \ |
48 |
@${REINPLACE_CMD} -e 's|INCLUDEPATH += "/usr/lib|INCLUDEPATH += "${LOCALBASE}/lib|' \ |
51 |
${WRKSRC}/qtox.pro |
49 |
${WRKSRC}/qtox.pro |
52 |
@${REINPLACE_CMD} -e 's|-lavformat -lavdevice -lavcodec -lavutil -lswscale|-lavformat26 -lavdevice26 -lavcodec26 -lavutil26 -lswscale26|' \ |
|
|
53 |
${WRKSRC}/qtox.pro |
54 |
|
50 |
|
55 |
pre-configure: |
51 |
pre-configure: |
56 |
@${REINPLACE_CMD} '/Comment/s,=.*,=${COMMENT},' \ |
52 |
@${REINPLACE_CMD} '/Comment/s,=.*,=${COMMENT},' \ |