Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/nghttp2/
Date: Fri, 23 Nov 2018 09:25:27
Message-Id: 1542965116.1b47a6a42288d1f8bf82779e166c0996e332a5ca.polynomial-c@gentoo
1 commit: 1b47a6a42288d1f8bf82779e166c0996e332a5ca
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Fri Nov 23 09:25:01 2018 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Fri Nov 23 09:25:16 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b47a6a4
7
8 net-libs/nghttp2: Bump to version 1.35.0
9
10 Package-Manager: Portage-2.3.52, Repoman-2.3.12
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 net-libs/nghttp2/Manifest | 1 +
14 net-libs/nghttp2/nghttp2-1.35.0.ebuild | 68 ++++++++++++++++++++++++++++++++++
15 2 files changed, 69 insertions(+)
16
17 diff --git a/net-libs/nghttp2/Manifest b/net-libs/nghttp2/Manifest
18 index c0f9ef552c6..bd8044835f3 100644
19 --- a/net-libs/nghttp2/Manifest
20 +++ b/net-libs/nghttp2/Manifest
21 @@ -1,2 +1,3 @@
22 DIST nghttp2-1.33.0.tar.xz 1554776 BLAKE2B 1b995d6385188423acbcd7c8b3a626a622270bc3079972885a1f707a9cc4ebb053f7347930ce217d2cf4277eab0a3309accb8f9ff18bd8ccc55c86aefa6246c3 SHA512 eeb0bf64fea115444c685c8a01c1017ce96be18adf88ffcdecad067de7012ca61c6b2b6a627b18e2572bba7bd77ec56a3ca4b1109f7a4b21220e8e28687b5b74
23 DIST nghttp2-1.34.0.tar.xz 1612432 BLAKE2B b5a53d5ffdb68e509cebf50993c3b9de4e597ae9079db505db6e6df67c1eb5f4b095f18dec9f1b946f05b83f3db8ba15e5e5cd7efd4921a94350bd47533a9164 SHA512 5ddc4ab443c51ce286a656d2013421172fc37608f14c0a7ea02fa9e5a0dd155e162d5602b55f34dacc69709525a9a8110dc4c42d92607bbad1951075d094c6a0
24 +DIST nghttp2-1.35.0.tar.xz 1616224 BLAKE2B b594e386b9a9dcd62dd75686a9274b30d3b9be5b1f2aa4dccb6543bcece60cda931bd6e16c5122ac946159547c1aafa6a02f2f013a3b38837194d4cf9a14ba64 SHA512 4e209bb6e388ee9c3440a88eb28ecb4a69e0047b089e4d028bb911dd69518a970b5b06ed6fff06594adca53dccd42443733faad909d347dd8d8e919055356e2f
25
26 diff --git a/net-libs/nghttp2/nghttp2-1.35.0.ebuild b/net-libs/nghttp2/nghttp2-1.35.0.ebuild
27 new file mode 100644
28 index 00000000000..990e99d6dd0
29 --- /dev/null
30 +++ b/net-libs/nghttp2/nghttp2-1.35.0.ebuild
31 @@ -0,0 +1,68 @@
32 +# Copyright 1999-2018 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +# TODO: Add python support.
36 +
37 +EAPI=7
38 +
39 +inherit multilib-minimal
40 +
41 +if [[ ${PV} == 9999 ]] ; then
42 + EGIT_REPO_URI="https://github.com/nghttp2/nghttp2.git"
43 + inherit git-r3
44 +else
45 + SRC_URI="https://github.com/nghttp2/nghttp2/releases/download/v${PV}/${P}.tar.xz"
46 + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd"
47 +fi
48 +
49 +DESCRIPTION="HTTP/2 C Library"
50 +HOMEPAGE="https://nghttp2.org/"
51 +
52 +LICENSE="MIT"
53 +SLOT="0/1.14" # <C++>.<C> SONAMEs
54 +IUSE="cxx debug hpack-tools jemalloc libressl static-libs test +threads utils xml"
55 +
56 +SSL_DEPEND="
57 + !libressl? ( >=dev-libs/openssl-1.0.2:0=[-bindist,${MULTILIB_USEDEP}] )
58 + libressl? ( dev-libs/libressl:=[${MULTILIB_USEDEP}] )
59 +"
60 +RDEPEND="
61 + cxx? (
62 + ${SSL_DEPEND}
63 + dev-libs/boost:=[${MULTILIB_USEDEP},threads]
64 + )
65 + hpack-tools? ( >=dev-libs/jansson-2.5 )
66 + jemalloc? ( dev-libs/jemalloc[${MULTILIB_USEDEP}] )
67 + utils? (
68 + ${SSL_DEPEND}
69 + >=dev-libs/libev-4.15[${MULTILIB_USEDEP}]
70 + >=sys-libs/zlib-1.2.3[${MULTILIB_USEDEP}]
71 + net-dns/c-ares:=[${MULTILIB_USEDEP}]
72 + )
73 + xml? ( >=dev-libs/libxml2-2.7.7:2[${MULTILIB_USEDEP}] )"
74 +DEPEND="${RDEPEND}
75 + virtual/pkgconfig
76 + test? ( >=dev-util/cunit-2.1[${MULTILIB_USEDEP}] )"
77 +
78 +multilib_src_configure() {
79 + local myeconfargs=(
80 + --disable-examples
81 + --disable-failmalloc
82 + --disable-werror
83 + --without-cython
84 + --disable-python-bindings
85 + $(use_enable cxx asio-lib)
86 + $(use_enable debug)
87 + $(multilib_native_use_enable hpack-tools)
88 + $(use_enable static-libs static)
89 + $(use_enable threads)
90 + $(multilib_native_use_enable utils app)
91 + $(multilib_native_use_with jemalloc)
92 + $(multilib_native_use_with xml libxml2)
93 + )
94 + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
95 +}
96 +
97 +multilib_src_install_all() {
98 + use static-libs || find "${ED%/}"/usr -name '*.la' -delete
99 +}