Skip to content

Commit

Permalink
dev-cpp/tgbot-cpp: add 1.7.2, drop old
Browse files Browse the repository at this point in the history
Signed-off-by: liuyujielol <[email protected]>
  • Loading branch information
liuyujielol authored and liangyongxiang committed Nov 10, 2023
1 parent 284d70e commit 2e96661
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 143 deletions.
1 change: 1 addition & 0 deletions dev-cpp/tgbot-cpp/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST tgbot-cpp-1.7.2.tar.gz 162819 BLAKE2B ea03a962089eba0c52abc1ced72fce521cb4f25c5c6a19fff1f6b5ceb3e9e7b37cf4cf016d3c9aae53a7b7958fd3b387a5bb871a67316ddc89a9e84a258f691a SHA512 44f16e2cef6ea6407f6a707885734cd0e850d89553a35c12b63c0864ea952377f07553c9cbf5ee464a1e8390723cd9fff867caafa725c97612a664d13ca87ec1
2 changes: 1 addition & 1 deletion dev-cpp/tgbot-cpp/metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<name>Haonan Chen</name>
</maintainer>
<use>
<flag name="shared">Build shared library instead of static library.</flag>
<flag name="shared-libs">Build shared library instead of static library.</flag>
</use>
<upstream>
<remote-id type="github">reo7sp/tgbot-cpp</remote-id>
Expand Down
34 changes: 0 additions & 34 deletions dev-cpp/tgbot-cpp/tgbot-cpp-1.3_p220616.ebuild

This file was deleted.

34 changes: 0 additions & 34 deletions dev-cpp/tgbot-cpp/tgbot-cpp-1.3_p220911.ebuild

This file was deleted.

34 changes: 0 additions & 34 deletions dev-cpp/tgbot-cpp/tgbot-cpp-1.4.ebuild

This file was deleted.

34 changes: 0 additions & 34 deletions dev-cpp/tgbot-cpp/tgbot-cpp-1.5.ebuild

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,21 @@

EAPI=8

inherit cmake git-r3
inherit cmake

DESCRIPTION="C++ library for Telegram bot API"
HOMEPAGE="https://github.com/reo7sp/tgbot-cpp"
EGIT_REPO_URI="https://github.com/reo7sp/${PN}.git"
EGIT_COMMIT=f74c381
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 doc test"
IUSE="+shared-libs doc test"
RESTRICT="!test? ( test )"

DEPEND="
sys-libs/zlib
dev-libs/openssl
dev-libs/openssl:=
>=net-misc/curl-7.56.0
>=dev-libs/boost-1.59.0"
RDEPEND="${DEPEND}"
Expand All @@ -27,7 +26,7 @@ BDEPEND="doc? ( app-doc/doxygen[dot] )"
src_configure() {
mycmakeargs=(
-DENABLE_TESTS=$(usex test ON OFF)
-DBUILD_SHARED_LIBS=$(usex shared ON OFF)
-DBUILD_SHARED_LIBS=$(usex shared-libs ON OFF)
-DBUILD_DOCUMENTATION=$(usex doc ON OFF)
)
cmake_src_configure
Expand Down

0 comments on commit 2e96661

Please sign in to comment.