Revert "dev-cpp/cpp-jwt: no revdep"

This reverts commit b36b78aaf2.

Signed-off-by: Samuel Bauer <samuel.bauer@yahoo.fr>
This commit is contained in:
Samuel Bauer
2025-02-15 00:24:02 +01:00
parent 6e56062634
commit 9039ef0196
3 changed files with 41 additions and 0 deletions

1
dev-cpp/cpp-jwt/Manifest Normal file
View File

@@ -0,0 +1 @@
DIST cpp-jwt-1.5_pre20220727.tar.gz 1246602 BLAKE2B 577730b06d63d245f125e605e68ae53f2d4b4e27d0417b5e91df29d228dd97ae0ac2f708fd9d7a89ee410535587586346e30890c832d30abc482a2057a19bc4b SHA512 3652c41e8ac42b5aed2a2c9294fb229bfc8126fe0cce5277a1724bae6b48aed9c1e9ff5498d33406be0a51d83068ca81813f6282d080e9af833d1517c388395d

View File

@@ -0,0 +1,29 @@
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake vcs-snapshot
DESCRIPTION="JSON Web Token library for C++"
HOMEPAGE="https://github.com/arun11299"
SRC_URI="https://github.com/arun11299/cpp-jwt/archive/e12ef06218596b52d9b5d6e1639484866a8e7067.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="test? ( dev-cpp/gtest )
dev-libs/openssl
dev-cpp/nlohmann_json"
RDEPEND="${DEPEND}"
IUSE="examples test"
RESTRICT="!test? ( test )"
src_configure() {
local mycmakeargs=(
-DCPP_JWT_BUILD_EXAMPLES=$(usex examples)
-DCPP_JWT_BUILD_TESTS=$(usex test)
)
cmake_src_configure
}

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<name>Samuel Bauer</name>
<email>samuel.bauer@yahoo.fr</email>
</maintainer>
<upstream>
<remote-id type="github">arun11299/cpp-jwt</remote-id>
</upstream>
</pkgmetadata>