Gentoo Archives: gentoo-commits

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