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: Tue, 26 Apr 2016 09:39:18
Message-Id: 1461663547.0cb3a0aaad1a5b0f3e3f235553fa5c1a15116a03.polynomial-c@gentoo
1 commit: 0cb3a0aaad1a5b0f3e3f235553fa5c1a15116a03
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Tue Apr 26 09:26:34 2016 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Tue Apr 26 09:39:07 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0cb3a0aa
7
8 net-libs/nghttp2: Bump to version 1.10.0
9
10 Package-Manager: portage-2.2.28
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 net-libs/nghttp2/Manifest | 1 +
14 net-libs/nghttp2/nghttp2-1.10.0.ebuild | 62 ++++++++++++++++++++++++++++++++++
15 2 files changed, 63 insertions(+)
16
17 diff --git a/net-libs/nghttp2/Manifest b/net-libs/nghttp2/Manifest
18 index 43ea8f4..fd80ebc 100644
19 --- a/net-libs/nghttp2/Manifest
20 +++ b/net-libs/nghttp2/Manifest
21 @@ -1,3 +1,4 @@
22 +DIST nghttp2-1.10.0.tar.gz 2086580 SHA256 192dc031e71e182240079befae9db7e64c9951da3a83c7a438f57cf76145b6a8 SHA512 4341f76ead38ba30e0dfda492e2e0f4c842f453e235fa90ee55b1e556092828236f21c6b212d0099cea005f149e4be3e63ad007009dd5228999101e563009a6f WHIRLPOOL 603391b0d15883cd9db734a0e4bb7d994c17ae4209d5251504e29cc59e0ccf67488b9340acefdb6d6603e9e7d3b0a0491ed18330edce4d20adb0ed19ffc5b975
23 DIST nghttp2-1.6.0.tar.gz 1983953 SHA256 c88012e87b80c055ddd2412efd7e96b9e8cfe0652c4b21083f2cb89b2f0d3a26 SHA512 32d5227a5ff037d50d93d43b1fdb0be51d9cca1e09dcc85320b8e09f82fdc658397ca58ca400595f138ca7b77f389d945e3562ab4074afd05e1c74eca4de2744 WHIRLPOOL 31102e596a9e93ca993cd9b8b04da6f51acb247803de16958501bdb6fe06e5bbc951430d2c2be1bd7fd1d9216d087d711de83bad6bb93eb70f4e4b8b0f864efb
24 DIST nghttp2-1.7.1.tar.gz 1993320 SHA256 d83858464c03555828bb603288b66a48680bf164b376d2459a5407c102098a14 SHA512 3a71153d2b30a69e79115402b7db9a04bc812025ccb67b918079f33690f18eb5b286095b8bc161df91abf6466b6bb822ecc13c49bee54265a06ba9ab7c289b54 WHIRLPOOL 41d0afd43878029069d2c339e22b8aec77fedbd1b0fb45da96b9592525c760731e2eec567999af704d63cf94c913b1d0c52063380e69170e1f2d2b928c1d70f3
25 DIST nghttp2-1.8.0.tar.gz 2021815 SHA256 3ac8cdf47c744cb387e6c867fe8c9a449254e9fab7fdf96782f9eaf7f635320a SHA512 447ee232abb9ea4105044567baabedc471089af7dfe72219f7c830898d3cd9bc63351d187129e43331cc775702f8dbe2afd21a2c88dc5191b858539dcb7c61d2 WHIRLPOOL b3ec7eae828c240dcd2c972d8148ceb6f2476fe8b6b8636c38b68b236e91915f07851a19a1e9daae27c636eb68898b8675e33b9e13d75c51ef99f56d992908dd
26
27 diff --git a/net-libs/nghttp2/nghttp2-1.10.0.ebuild b/net-libs/nghttp2/nghttp2-1.10.0.ebuild
28 new file mode 100644
29 index 0000000..7d89224
30 --- /dev/null
31 +++ b/net-libs/nghttp2/nghttp2-1.10.0.ebuild
32 @@ -0,0 +1,62 @@
33 +# Copyright 1999-2016 Gentoo Foundation
34 +# Distributed under the terms of the GNU General Public License v2
35 +# $Id$
36 +
37 +# TODO: Add python support.
38 +
39 +EAPI=6
40 +
41 +inherit multilib-minimal
42 +
43 +if [[ ${PV} == 9999 ]] ; then
44 + EGIT_REPO_URI="https://github.com/tatsuhiro-t/nghttp2.git"
45 + inherit git-r3
46 +else
47 + SRC_URI="https://github.com/tatsuhiro-t/nghttp2/releases/download/v${PV}/${P}.tar.gz"
48 + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
49 +fi
50 +
51 +DESCRIPTION="HTTP/2 C Library"
52 +HOMEPAGE="https://nghttp2.org/"
53 +
54 +LICENSE="MIT"
55 +SLOT="0/1.14" # <C++>.<C> SONAMEs
56 +IUSE="cxx debug hpack-tools jemalloc libressl static-libs test +threads utils xml"
57 +
58 +RDEPEND="
59 + cxx? ( dev-libs/boost:=[${MULTILIB_USEDEP},threads] )
60 + hpack-tools? ( >=dev-libs/jansson-2.5 )
61 + jemalloc? ( dev-libs/jemalloc )
62 + utils? (
63 + >=dev-libs/libev-4.15
64 + !libressl? ( >=dev-libs/openssl-1.0.2:0[-bindist] )
65 + libressl? ( dev-libs/libressl )
66 + >=sys-libs/zlib-1.2.3
67 + )
68 + xml? ( >=dev-libs/libxml2-2.7.7:2 )"
69 +DEPEND="${RDEPEND}
70 + virtual/pkgconfig
71 + test? ( >=dev-util/cunit-2.1[${MULTILIB_USEDEP}] )"
72 +
73 +multilib_src_configure() {
74 + ECONF_SOURCE=${S} \
75 + econf \
76 + --disable-examples \
77 + --disable-failmalloc \
78 + --disable-werror \
79 + --without-cython \
80 + --disable-python-bindings \
81 + --without-spdylay \
82 + $(use_enable cxx asio-lib) \
83 + $(use_enable debug) \
84 + $(multilib_native_use_enable hpack-tools) \
85 + $(use_enable static-libs static) \
86 + $(use_enable threads) \
87 + $(multilib_native_use_enable utils app) \
88 + $(multilib_native_use_with jemalloc) \
89 + $(multilib_native_use_with xml libxml2)
90 +}
91 +
92 +multilib_src_install_all() {
93 + use static-libs || find "${ED}"/usr -name '*.la' -delete
94 +}