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