summaryrefslogtreecommitdiffstats
path: root/packages/net-libs/tde2e/tde2e-1.8.49.exheres-0
blob: e8aeaeed5c3fef109ac28d3247f00d7229f4f477 (plain)
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
# Copyright 2026 Gurov <thuggerthugger1@duck.com>
# Distributed under the terms of the GNU General Public License v2

require cmake

TDLIB_COMMIT="51743dfd01dff6179e2d8f7095729caa4e2222e9"

SUMMARY="End-to-end encryption library from TDLib"
HOMEPAGE="https://github.com/tdlib/td"
DOWNLOADS="https://github.com/tdlib/td/archive/${TDLIB_COMMIT}.tar.gz -> ${PNV}.tar.gz"

LICENCES="Boost-1.0"
SLOT="0"
PLATFORMS="~amd64"

DEPENDENCIES="
    build:
        dev-util/gperf

    build+run:
        dev-libs/openssl
        sys-libs/zlib
"

CMAKE_SOURCE="${WORKBASE}/td-${TDLIB_COMMIT}"

CMAKE_SRC_CONFIGURE_PARAMS=(
    -DTD_E2E_ONLY=ON
    -DTD_INSTALL_STATIC_LIBRARIES=ON
    -DTD_INSTALL_SHARED_LIBRARIES=OFF
    -DTD_ENABLE_LTO=OFF
    -DBUILD_TESTING=OFF
)