dev-cpp/tgbot-cpp: add 1.13, drop 1.12.3

Closes: https://github.com/gentoo-zh/overlay/issues/13441
Signed-off-by: Zakk <zakk@gentoozh.org>
This commit is contained in:
Zakk committed 2026-09-15 15:12:36 +10:00
1 parent ad71f40c44
commit c9f97cd8fe
2 files changed
+1 -1

No files matched your search

+34
View File
@@ -0,0 +1,34 @@
# Copyright 2021-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="C++ library for Telegram bot API"
HOMEPAGE="https://github.com/reo7sp/tgbot-cpp"
SRC_URI="https://github.com/reo7sp/tgbot-cpp/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="+shared-libs doc test"
RESTRICT="!test? ( test )"
RDEPEND="
>=dev-cpp/nlohmann_json-3.7.3
>=dev-libs/boost-1.65.1
>=net-misc/curl-7.58.0:="
DEPEND="${RDEPEND}
test? ( dev-cpp/gtest )"
BDEPEND="doc? ( app-text/doxygen[dot] )"
src_configure() {
mycmakeargs=(
-DENABLE_TESTS=$(usex test ON OFF)
-DBUILD_SHARED_LIBS=$(usex shared-libs ON OFF)
-DBUILD_DOCUMENTATION=$(usex doc ON OFF)
-DCMAKE_POSITION_INDEPENDENT_CODE=ON
)
cmake_src_configure
}