-
Notifications
You must be signed in to change notification settings - Fork 727
/
Makefile
46 lines (34 loc) · 1.13 KB
/
Makefile
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
44
45
46
PORTNAME= tdlib-purple
DISTVERSIONPREFIX= v
DISTVERSION= 0.8.1
CATEGORIES= net-im
PATCH_SITES= https://github.com/ars3niy/tdlib-purple/commit/
PATCHFILES+= 8c87b899ddbec32.patch:-p1 # https://github.com/ars3niy/tdlib-purple/pull/154
MAINTAINER= mi@aldan.algebra.com
COMMENT= Telegram plugin for libpurple, using tdlib
WWW= https://github.com/ars3niy/tdlib-purple
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libfmt.so:devel/libfmt \
libtdapi.so:net-im/tdlib \
librlottie.so:graphics/rlottie \
libwebp.so:graphics/webp \
libpng.so:graphics/png
TEST_LIB_DEPENDS=libgtest.so:devel/googletest
USES= cmake localbase
USE_GITHUB= yeah
GH_ACCOUNT= ars3niy
OPTIONS_DEFINE= NLS TEST
OPTIONS_DEFAULT=NLS
OPTIONS_SUB= yes
TEST_DESC= Do not enable, tests are broken
CMAKE_ON+= NoVoip # tgvoip is yet to be ported
CMAKE_ON+= NoBundledLottie # Using graphics/rlottie
NLS_CMAKE_OFF+= -DNoTranslations=1
EXTRACT_AFTER_ARGS=--exclude rlottie --exclude fmt
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MTEST}
WARNING+= "Tests are stale at this time and are likely to fail to compile"
TEST_TARGET= tests
.endif
.include <bsd.port.mk>