Skip to content
Snippets Groups Projects
Commit 0b9d5a5c authored by Yuri Victorovich's avatar Yuri Victorovich
Browse files

net-im/tdlib: Update 1.7.0-747 -> 1.7.4.20210520

parent 3ea8298a
No related branches found
No related tags found
No related merge requests found
PORTNAME= tdlib
DISTVERSIONPREFIX= v
DISTVERSION= 1.7.0-747
DISTVERSIONSUFFIX= -gb342ec33
DISTVERSION= 1.7.4.20210520 # 1.7.4 is not tagged, just set in CMakeLists.txt
CATEGORIES= net-im devel
MAINTAINER= yuri@FreeBSD.org
......@@ -9,14 +8,15 @@ COMMENT= Library for building Telegram clients
LICENSE= BSL
USES= cmake compiler:c++14-lang gperf ssl
USES= cmake:testing compiler:c++14-lang gperf ssl
USE_GITHUB= yes
GH_PROJECT= td
GH_TAGNAME= e1ebf74
CMAKE_OFF= FREEBSD_BUILD_TESTING
CMAKE_OFF= BUILD_TESTING FREEBSD_BUILD_BENCHMARKS
do-test:
xdo-test:
@cd ${BUILD_WRKSRC} && \
${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DFREEBSD_BUILD_TESTING:BOOL=ON ${CMAKE_SOURCE_PATH} && \
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \
......
TIMESTAMP = 1620336229
SHA256 (tdlib-td-v1.7.0-747-gb342ec33_GH0.tar.gz) = e9feb347f0aaa75cdc0f940663623f330eecad0029b411016ffa3713775359cc
SIZE (tdlib-td-v1.7.0-747-gb342ec33_GH0.tar.gz) = 4399729
TIMESTAMP = 1624391403
SHA256 (tdlib-td-v1.7.4.20210520-e1ebf74_GH0.tar.gz) = f92633b2fbcc5a76166bd730da9d870ddbbe159cd3294c009c33cbd86dc674f5
SIZE (tdlib-td-v1.7.4.20210520-e1ebf74_GH0.tar.gz) = 4402224
- make tests and benchmarks conditional on special cmake variables, see https://github.com/tdlib/td/issues/1583
--- CMakeLists.txt.orig 2021-05-20 23:05:03 UTC
+++ CMakeLists.txt
@@ -189,9 +189,11 @@ add_subdirectory(sqlite)
add_subdirectory(tddb)
+if (BUILD_TESTING)
add_subdirectory(test)
+endif()
-if (NOT CMAKE_CROSSCOMPILING)
+if (FREEBSD_BUILD_BENCHMARKS AND NOT CMAKE_CROSSCOMPILING)
add_subdirectory(benchmark)
endif()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment