Lines 1-45
Link Here
|
1 |
# $FreeBSD$ |
1 |
# $FreeBSD$ |
2 |
|
2 |
|
3 |
PORTNAME= uTox |
3 |
PORTNAME= uTox |
4 |
DISTVERSION= 0.17.0 |
4 |
DISTVERSIONPREFIX= v |
5 |
DISTVERSIONSUFFIX= -full |
5 |
DISTVERSION= 0.17.1 |
6 |
PORTREVISION= 7 |
|
|
7 |
CATEGORIES= net-im net-p2p |
6 |
CATEGORIES= net-im net-p2p |
8 |
MASTER_SITES= https://github.com/uTox/uTox/releases/download/v${PORTVERSION}/ |
|
|
9 |
|
7 |
|
10 |
MAINTAINER= portmaster@BSDforge.com |
8 |
MAINTAINER= tobik@FreeBSD.org |
11 |
COMMENT= Lightweight Tox client |
9 |
COMMENT= Lightweight Tox client |
12 |
|
10 |
|
13 |
LICENSE= MIT |
11 |
LICENSE= MIT |
14 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
12 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
15 |
|
13 |
|
16 |
BROKEN_aarch64= fails to compile: endian.h:68:20: too many arguments provided to function-like macro invocation |
14 |
BROKEN_aarch64= fails to compile: endian.h:68:20: too many arguments provided to function-like macro invocation |
17 |
BROKEN_armv6= fails to compile: endian.h:68:20: too many arguments provided to function-like macro invocation |
15 |
BROKEN_armv6= fails to compile: endian.h:68:20: too many arguments provided to function-like macro invocation |
18 |
BROKEN_armv7= fails to compile: endian.h:68:20: too many arguments provided to function-like macro invocation |
16 |
BROKEN_armv7= fails to compile: endian.h:68:20: too many arguments provided to function-like macro invocation |
19 |
|
17 |
|
20 |
BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat \ |
18 |
BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:devel/evdev-proto \ |
21 |
${LOCALBASE}/include/linux/input.h:devel/evdev-proto |
19 |
${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat |
22 |
LIB_DEPENDS= libfreetype.so:print/freetype2 \ |
20 |
LIB_DEPENDS= libfilteraudio.so:audio/libfilteraudio \ |
23 |
libfontconfig.so:x11-fonts/fontconfig \ |
21 |
libfontconfig.so:x11-fonts/fontconfig \ |
|
|
22 |
libfreetype.so:print/freetype2 \ |
23 |
libopus.so:audio/opus \ |
24 |
libsodium.so:security/libsodium \ |
24 |
libsodium.so:security/libsodium \ |
|
|
25 |
libtoxcore.so:net-im/tox \ |
25 |
libv4lconvert.so:multimedia/libv4l \ |
26 |
libv4lconvert.so:multimedia/libv4l \ |
26 |
libvpx.so:multimedia/libvpx \ |
27 |
libvpx.so:multimedia/libvpx |
27 |
libopus.so:audio/opus \ |
|
|
28 |
libtoxcore.so:net-im/tox |
29 |
|
28 |
|
30 |
USES= cmake compiler:c11 desktop-file-utils dos2unix \ |
29 |
USES= cmake compiler:c11 desktop-file-utils dos2unix openal pkgconfig \ |
31 |
openal pkgconfig |
30 |
xorg |
|
|
31 |
USE_GITHUB= yes |
32 |
GH_TUPLE= compuphase:minIni:8ce144c3c287fa4e59f8ed4c405cd8b7e29f189b:miniini/third-party/minini \ |
33 |
nayuki:QR-Code-generator:fe992753d2c7d55a16c1b966961bd27e11e622dd:qrcodegen/third-party/qrcodegen \ |
34 |
nothings:stb:052dce117ed989848a950308bd99eef55525dfb1:stb/third-party/stb |
32 |
USE_XORG= ice sm x11 xext xrender |
35 |
USE_XORG= ice sm x11 xext xrender |
33 |
|
36 |
|
34 |
CMAKE_OFF= ENABLE_LTO |
37 |
CMAKE_OFF= ENABLE_LTO ENABLE_TESTS |
35 |
DOS2UNIX_GLOB= * |
38 |
# Uses ld -b binary without -m |
36 |
LLD_UNSAFE= yes |
39 |
LLD_UNSAFE= yes |
37 |
WRKSRC= ${WRKDIR}/uTox |
|
|
38 |
|
40 |
|
39 |
OPTIONS_DEFINE= DBUS |
41 |
OPTIONS_DEFINE= DBUS |
40 |
OPTIONS_DEFAULT= DBUS |
42 |
OPTIONS_DEFAULT= DBUS |
41 |
|
43 |
|
|
|
44 |
DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus |
42 |
DBUS_CMAKE_BOOL= ENABLE_DBUS |
45 |
DBUS_CMAKE_BOOL= ENABLE_DBUS |
43 |
DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus |
|
|
44 |
|
46 |
|
45 |
.include <bsd.port.mk> |
47 |
.include <bsd.port.mk> |