diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-12-13 07:12:40 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-12-13 07:12:40 +0000 |
| commit | aaa51f00a3bf68b88256418030207ef7c639e3d3 (patch) | |
| tree | 222e05fbf8bcd5db382f66210543054556c56e9e /dev-cpp/libjson-rpc-cpp | |
| parent | 55453e9a019b53a67144965dbde8cc039a621451 (diff) | |
| download | baldeagleos-repo-aaa51f00a3bf68b88256418030207ef7c639e3d3.tar.gz baldeagleos-repo-aaa51f00a3bf68b88256418030207ef7c639e3d3.tar.xz baldeagleos-repo-aaa51f00a3bf68b88256418030207ef7c639e3d3.zip | |
Adding metadata
Diffstat (limited to 'dev-cpp/libjson-rpc-cpp')
| -rw-r--r-- | dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-1.4.0.ebuild | 29 |
1 files changed, 21 insertions, 8 deletions
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 |
