1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
9 if [[ ${PV} == 9999 ]] ; then
10 EGIT_REPO_URI="https://github.com/ngtcp2/nghttp3.git"
11 inherit autotools git-r3
13 GIT_COMMIT="51379a041174ad953dc6ad437712f3b279f81919"
14 SRC_URI="https://github.com/ngtcp2/nghttp3/archive/${GIT_COMMIT}.tar.gz -> ${P}.tar.gz"
15 S="${WORKDIR}/${PN}-${GIT_COMMIT}"
16 KEYWORDS="~amd64 ~hppa"
19 DESCRIPTION="HTTP/3 library written in C"
20 HOMEPAGE="https://github.com/ngtcp2/nghttp3/"
26 BDEPEND="virtual/pkgconfig"
27 DEPEND="test? ( >=dev-util/cunit-2.1[${MULTILIB_USEDEP}] )"
29 RESTRICT="!test? ( test )"
31 multilib_src_configure() {
35 -DCMAKE_DISABLE_FIND_PACKAGE_CUnit=$(usex !test)