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, 21 Sep 2015 17:38:11
Message-Id: 1442856999.29fdafdf8789eb487de3dba2757ac183ab95de7d.vapier@gentoo
1 commit: 29fdafdf8789eb487de3dba2757ac183ab95de7d
2 Author: Mike Frysinger <vapier <AT> gentoo <DOT> org>
3 AuthorDate: Mon Sep 21 17:36:39 2015 +0000
4 Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 21 17:36:39 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29fdafdf
7
8 net-libs/nghttp2: version bump to 1.3.2
9
10 net-libs/nghttp2/Manifest | 1 +
11 net-libs/nghttp2/nghttp2-1.3.2.ebuild | 62 +++++++++++++++++++++++++++++++++++
12 2 files changed, 63 insertions(+)
13
14 diff --git a/net-libs/nghttp2/Manifest b/net-libs/nghttp2/Manifest
15 index 634dbc6..abad930 100644
16 --- a/net-libs/nghttp2/Manifest
17 +++ b/net-libs/nghttp2/Manifest
18 @@ -1,2 +1,3 @@
19 DIST nghttp2-1.0.5.tar.gz 1356748 SHA256 64e066816606178188bfaf0aa7298e1f44cef943dd9ae936497dab38b3b2569e SHA512 f8b7a79e6174ff501d93333b25954822098d936720a8f4de8a15c83f16c009006aefd05e24977c219661fd63b9fead70eaf5703211bfd9e2bba6a61facbba9c4 WHIRLPOOL 608b1a4494e2aff0c941545c1f49c3c585846d27f5e509ff16c9217309689c47fd7f8fc398b23c83d8aa0ba3f9c2c52af039cd875e47f38630acc50e7c17f717
20 DIST nghttp2-1.2.1.tar.gz 1399177 SHA256 133451219eacbdd7e37438dd63296e037621a3323d5c8446c35f0c89ab665c7e SHA512 3d7621243f037f4ec6143dcc3f0ad3489faf3a94ce409909eea47dbb59f2a1d80eaf295c59f7fccc2501f26d706c2355c4c26d8c9649c1479dbc4feac2846800 WHIRLPOOL 9a83045f5f619700db7715f048e0e0958552abfc2248f398880b85d278c12b5789810596a724823d903993f39025f49f7e68ce386220ed6fbfa35bd914a549a5
21 +DIST nghttp2-1.3.2.tar.gz 1824304 SHA256 aeafb76acf246352cc0638fbfb8eff999fef7cf18a5bf01a6a77b0af35d14b28 SHA512 85cc1be056dae8c479c6e45d69b52ad575d7e82c271ed8c27548639d5a167c79986a2bb4ffdbe4a0112732b57635c8f6ca38436b5b19faadbe2e8d5dc7b1d8f5 WHIRLPOOL badd7a0062ae6a4400a8a7ef3381b36844c22d44ac84de718ffea0d305bc402fd105452a482f7e8e607c88d674193f015d66b868e0d9c26ff2fe20465bbc1eb2
22
23 diff --git a/net-libs/nghttp2/nghttp2-1.3.2.ebuild b/net-libs/nghttp2/nghttp2-1.3.2.ebuild
24 new file mode 100644
25 index 0000000..7ef717f
26 --- /dev/null
27 +++ b/net-libs/nghttp2/nghttp2-1.3.2.ebuild
28 @@ -0,0 +1,62 @@
29 +# Copyright 1999-2015 Gentoo Foundation
30 +# Distributed under the terms of the GNU General Public License v2
31 +# $Id$
32 +
33 +# TODO: Add python support.
34 +
35 +EAPI="5"
36 +
37 +inherit multilib-minimal
38 +
39 +if [[ ${PV} == 9999 ]] ; then
40 + EGIT_REPO_URI="https://github.com/tatsuhiro-t/nghttp2.git"
41 + inherit git-2
42 +else
43 + SRC_URI="https://github.com/tatsuhiro-t/nghttp2/releases/download/v${PV}/${P}.tar.gz"
44 + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
45 +fi
46 +
47 +DESCRIPTION="HTTP/2 C Library"
48 +HOMEPAGE="https://nghttp2.org/"
49 +
50 +LICENSE="MIT"
51 +SLOT="0/1.14" # <C++>.<C> SONAMEs
52 +IUSE="cxx debug hpack-tools jemalloc libressl static-libs test +threads utils xml"
53 +
54 +RDEPEND="
55 + cxx? ( dev-libs/boost[${MULTILIB_USEDEP},threads] )
56 + hpack-tools? ( >=dev-libs/jansson-2.5 )
57 + jemalloc? ( dev-libs/jemalloc )
58 + utils? (
59 + >=dev-libs/libev-4.15
60 + !libressl? ( >=dev-libs/openssl-1.0.2:0 )
61 + libressl? ( dev-libs/libressl )
62 + >=sys-libs/zlib-1.2.3
63 + )
64 + xml? ( >=dev-libs/libxml2-2.7.7 )"
65 +DEPEND="${RDEPEND}
66 + virtual/pkgconfig
67 + test? ( >=dev-util/cunit-2.1[${MULTILIB_USEDEP}] )"
68 +
69 +multilib_src_configure() {
70 + ECONF_SOURCE=${S} \
71 + econf \
72 + --disable-examples \
73 + --disable-failmalloc \
74 + --disable-werror \
75 + --without-cython \
76 + --disable-python-bindings \
77 + --without-spdylay \
78 + $(use_enable cxx asio-lib) \
79 + $(use_enable debug) \
80 + $(multilib_native_use_enable hpack-tools) \
81 + $(use_enable static-libs static) \
82 + $(use_enable threads) \
83 + $(multilib_native_use_enable utils app) \
84 + $(multilib_native_use_with jemalloc) \
85 + $(multilib_native_use_with xml libxml2)
86 +}
87 +
88 +multilib_src_install_all() {
89 + use static-libs || find "${ED}" -name '*.la' -delete
90 +}