diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-12-12 21:25:47 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-12-12 21:25:47 +0000 |
commit | b1e04dc9012e7023ee274e847ac2a44a890393f5 (patch) | |
tree | 4cd736b4592f16a37e89afcdf14c8f5cbb44c647 /dev-cpp/libjson-rpc-cpp | |
parent | deac3ec728eccad6c6929b2699ced3580deeadcd (diff) |
gentoo auto-resync : 12:12:2022 - 21:25:47
Diffstat (limited to 'dev-cpp/libjson-rpc-cpp')
-rw-r--r-- | dev-cpp/libjson-rpc-cpp/Manifest | 2 | ||||
-rw-r--r-- | dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-1.4.0.ebuild | 29 |
2 files changed, 22 insertions, 9 deletions
diff --git a/dev-cpp/libjson-rpc-cpp/Manifest b/dev-cpp/libjson-rpc-cpp/Manifest index a409174f4165..72d119880fbe 100644 --- a/dev-cpp/libjson-rpc-cpp/Manifest +++ b/dev-cpp/libjson-rpc-cpp/Manifest @@ -1,3 +1,3 @@ DIST libjson-rpc-cpp-1.4.0.tar.gz 179478 BLAKE2B 1b5807665a5e055790a6ca3e977845ab6b8dc7fbcaf6baece170567cc4c5b16202b74cb72f47136a075352ee408dac26de85cf02e41873cbbb55aeac1145e1a6 SHA512 28774604fe91f0893fb36017f648556dced71cb731f0f76c95084af5dd35e167b69a0f5fdb64557ff273f7dc971bc6c469e4f32ada35d7cac18add18baf2f5ae -EBUILD libjson-rpc-cpp-1.4.0.ebuild 1417 BLAKE2B 22e144ea5f9deb415a056a9c2d79851f56211fd7430ee967fe5296a4dcdc4f83d51b898c085b6fb802e52bbbce29cd573cce14e111ddd3addb9104bd74942347 SHA512 afca40e02a33282c2e40629f7add147ffcb2ac00d0dffc013e29e7e337aa8deed166c5d9864cc1aeba7099235dcafc40bef8f472f7a504ddd6510485ffab23e5 +EBUILD libjson-rpc-cpp-1.4.0.ebuild 1512 BLAKE2B 1ba42d2fcbe1ee198f4f186d657d633d625149ced4a547e54495e2121f412f56ee4f7d1604d909b03bdf54b3260ffae14c0419ff9e32eaa0707a244b762f6986 SHA512 5d972f0ec17f588b63b037a707636829fcb16ab215c94118bc155877e5410b99a5650ff5eb4765e6538854b16057960193c9df6ab7006ab804c924570ea4164a MISC metadata.xml 907 BLAKE2B 169c4043abceb19542bb448f160ad6d6786d7f3c6717e449f46c6f0945d79fdc87751df2c2932e37f360b215bf31e3295d71944f03a48bfc1f6411bd6fec4c75 SHA512 ceb779b13b2688ff828ac28b92fb22603a9f102f7bdf0dbb4b9ccfc90dc895088e076f8ea6599a288023d151aa8153e5e49f00ccaece07a1ef6c26ad5e362a61 diff --git a/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-1.4.0.ebuild b/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-1.4.0.ebuild index f1b78fc655fc..e80e82ba5964 100644 --- a/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-1.4.0.ebuild +++ b/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-1.4.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -6,8 +6,11 @@ EAPI=8 inherit cmake DESCRIPTION="JSON-RPC (1.0 & 2.0) framework for C++" -HOMEPAGE="https://github.com/cinemast/libjson-rpc-cpp" -SRC_URI="https://github.com/cinemast/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +HOMEPAGE="https://github.com/cinemast/libjson-rpc-cpp/" +SRC_URI=" + https://github.com/cinemast/${PN}/archive/v${PV}.tar.gz + -> ${P}.tar.gz +" LICENSE="MIT" SLOT="0/1" @@ -15,16 +18,22 @@ KEYWORDS="~amd64 ~x86" IUSE="+http-client +http-server redis-client redis-server +stubgen test" RESTRICT="!test? ( test )" -RDEPEND=" +DEPEND=" dev-libs/jsoncpp:= http-client? ( net-misc/curl:= ) http-server? ( net-libs/libmicrohttpd:= ) redis-client? ( dev-libs/hiredis:= ) redis-server? ( dev-libs/hiredis:= ) - stubgen? ( dev-libs/argtable:= )" -DEPEND="${RDEPEND}" + stubgen? ( dev-libs/argtable:= ) +" +RDEPEND=" + ${DEPEND} +" BDEPEND=" - test? ( dev-cpp/catch:0 )" + test? ( + <dev-cpp/catch-3 + ) +" src_configure() { local mycmakeargs=( @@ -43,7 +52,11 @@ src_configure() { -DCOMPILE_EXAMPLES=OFF -DCOMPILE_STUBGEN=$(usex stubgen) -DCOMPILE_TESTS=$(usex test) - -DCATCH_INCLUDE_DIR="${EPREFIX}/usr/include/catch2" + # disable coverage-related flags + -DWITH_COVERAGE=OFF + ) + use test && mycmakeargs+=( + -DCATCH_INCLUDE_DIR="${EPREFIX}/usr/include" ) cmake_src_configure |