10 |
10 |
DESCRIPTION="HTTP/2 C Library"
|
11 |
11 |
HOMEPAGE="https://nghttp2.org/"
|
12 |
12 |
SRC_URI="https://github.com/nghttp2/nghttp2/releases/download/v${PV}/${P}.tar.xz
|
13 |
|
https://dev.gentoo.org/~voyageur/distfiles/${PN}-1.48.0-pthread.patch"
|
|
13 |
https://dev.gentoo.org/~voyageur/distfiles/${PN}-1.51.0-pthread.patch"
|
14 |
14 |
|
15 |
15 |
LICENSE="MIT"
|
16 |
16 |
SLOT="0/1.14" # <C++>.<C> SONAMEs
|
17 |
|
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~ppc-macos ~x64-macos ~x64-solaris"
|
18 |
|
IUSE="cxx debug hpack-tools jemalloc static-libs test utils xml"
|
|
17 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x64-solaris"
|
|
18 |
IUSE="cxx debug hpack-tools jemalloc static-libs systemd test utils xml"
|
19 |
19 |
|
20 |
20 |
RESTRICT="!test? ( test )"
|
21 |
21 |
|
... | ... | |
35 |
35 |
>=sys-libs/zlib-1.2.3[${MULTILIB_USEDEP}]
|
36 |
36 |
net-dns/c-ares:=[${MULTILIB_USEDEP}]
|
37 |
37 |
)
|
|
38 |
systemd? ( sys-apps/systemd )
|
38 |
39 |
xml? ( >=dev-libs/libxml2-2.7.7:2[${MULTILIB_USEDEP}] )"
|
39 |
40 |
DEPEND="${RDEPEND}
|
40 |
41 |
test? ( >=dev-util/cunit-2.1[${MULTILIB_USEDEP}] )"
|
41 |
42 |
BDEPEND="virtual/pkgconfig"
|
42 |
43 |
|
43 |
44 |
PATCHES=(
|
44 |
|
"${DISTDIR}"/${PN}-1.48.0-pthread.patch
|
|
45 |
"${DISTDIR}"/${PN}-1.51.0-pthread.patch
|
45 |
46 |
)
|
46 |
47 |
|
47 |
48 |
src_prepare() {
|
... | ... | |
60 |
61 |
$(use_enable cxx asio-lib)
|
61 |
62 |
$(use_enable debug)
|
62 |
63 |
$(multilib_native_use_enable hpack-tools)
|
|
64 |
$(multilib_native_use_with hpack-tools jansson)
|
|
65 |
$(multilib_native_use_with jemalloc)
|
63 |
66 |
$(use_enable static-libs static)
|
|
67 |
$(multilib_native_use_with systemd)
|
64 |
68 |
$(use_with test cunit)
|
65 |
69 |
$(multilib_native_use_enable utils app)
|
66 |
|
$(multilib_native_use_with jemalloc)
|
67 |
70 |
$(multilib_native_use_with xml libxml2)
|
68 |
71 |
)
|
69 |
72 |
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
|