gjdwebserver-overlay/net-libs/td/td-1.18.4.ebuild

41 lines
644 B
Bash
Raw Normal View History

2023-05-24 17:13:34 +02:00
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
2023-05-24 17:20:14 +02:00
inherit cmake
2023-05-24 17:13:34 +02:00
COMMIT="8517026415e75a8eec567774072cbbbbb52376c1"
DESCRIPTION="Cross-platform library for building Telegram clients"
HOMEPAGE="https://github.com/tdlib/td"
SRC_URI="https://github.com/tdlib/td/archive/${COMMIT}.tar.gz"
KEYWORDS="~amd64 ~arm64 ~arm ~x86"
SLOT="0"
2023-05-24 17:16:45 +02:00
S="${WORKDIR}/td-${COMMIT}"
2023-05-24 17:13:34 +02:00
DEPEND="
2023-05-25 13:23:50 +02:00
dev-libs/openssl
sys-libs/zlib
dev-util/gperf
dev-util/cmake
2023-05-24 17:13:34 +02:00
"
RDEPEND="
${DEPEND}
"
BDEPEND="
${DEPEND}
"
src_configure() {
2023-05-24 17:23:27 +02:00
local mycmakeargs=(
-DCMAKE_BUILD_TYPE=Release
)
2023-05-24 17:13:34 +02:00
2023-05-24 17:22:27 +02:00
cmake_src_configure
2023-05-24 17:13:34 +02:00
}