aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/uTox/Makefile
blob: ded9f2faa30fd931ec51a82ed30a6eb3b7a6c6aa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# $FreeBSD$

PORTNAME=   uTox
DISTVERSION=    0.17.0
DISTVERSIONSUFFIX=  -full
PORTREVISION=   4
CATEGORIES= net-im net-p2p
MASTER_SITES=   https://github.com/uTox/uTox/releases/download/v${PORTVERSION}/

MAINTAINER= portmaster@BSDforge.com
COMMENT=    Lightweight Tox client

LICENSE=    MIT
LICENSE_FILE=   ${WRKSRC}/LICENSE

BROKEN_aarch64=     fails to compile: endian.h:68:20: too many arguments provided to function-like macro invocation
BROKEN_armv6=       fails to compile: endian.h:68:20: too many arguments provided to function-like macro invocation
BROKEN_armv7=       fails to compile: endian.h:68:20: too many arguments provided to function-like macro invocation

BUILD_DEPENDS=  ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat
LIB_DEPENDS=    libfreetype.so:print/freetype2 \
        libfontconfig.so:x11-fonts/fontconfig \
        libsodium.so:security/libsodium \
        libv4lconvert.so:multimedia/libv4l \
        libvpx.so:multimedia/libvpx \
        libopus.so:audio/opus \
        libtoxcore.so:net-im/tox

USES=       cmake compiler:c11 desktop-file-utils dos2unix \
        openal pkgconfig
USE_XORG=   ice sm x11 xext xrender
CMAKE_OFF=  ENABLE_LTO
DOS2UNIX_GLOB=  *
LLD_UNSAFE= yes
WRKSRC=     ${WRKDIR}/uTox

OPTIONS_DEFINE=     DBUS
OPTIONS_DEFAULT=    DBUS

DBUS_CMAKE_BOOL=    ENABLE_DBUS
DBUS_LIB_DEPENDS=   libdbus-1.so:devel/dbus

.include <bsd.port.mk>