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: Fri, 27 Nov 2015 20:40:08
Message-Id: 1448656798.f2523febf6ce42415a4a6bdc6957d82abd7df5f5.vapier@gentoo
1 commit: f2523febf6ce42415a4a6bdc6957d82abd7df5f5
2 Author: Mike Frysinger <vapier <AT> gentoo <DOT> org>
3 AuthorDate: Fri Nov 27 20:39:47 2015 +0000
4 Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org>
5 CommitDate: Fri Nov 27 20:39:58 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2523feb
7
8 net-libs/nghttp2: version bump to 1.5.0 #566936
9
10 net-libs/nghttp2/Manifest | 1 +
11 net-libs/nghttp2/nghttp2-1.5.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 3e781d5..a786bd8 100644
16 --- a/net-libs/nghttp2/Manifest
17 +++ b/net-libs/nghttp2/Manifest
18 @@ -3,3 +3,4 @@ DIST nghttp2-1.2.1.tar.gz 1399177 SHA256 133451219eacbdd7e37438dd63296e037621a33
19 DIST nghttp2-1.3.2.tar.gz 1824304 SHA256 aeafb76acf246352cc0638fbfb8eff999fef7cf18a5bf01a6a77b0af35d14b28 SHA512 85cc1be056dae8c479c6e45d69b52ad575d7e82c271ed8c27548639d5a167c79986a2bb4ffdbe4a0112732b57635c8f6ca38436b5b19faadbe2e8d5dc7b1d8f5 WHIRLPOOL badd7a0062ae6a4400a8a7ef3381b36844c22d44ac84de718ffea0d305bc402fd105452a482f7e8e607c88d674193f015d66b868e0d9c26ff2fe20465bbc1eb2
20 DIST nghttp2-1.3.4.tar.gz 1836736 SHA256 70da762f021ca6a56912da112f414da8100b035e635bfb056fcf35289229e9ce SHA512 ef47d25f1f214a4f79b4873567f799ec1f9ebb432e57b5f1106fcf0f1a1c0365176125273c7c7a36e826ede43c356413d143f09204206c41dc90c33a1ce33801 WHIRLPOOL e426530bb98a8006dd3ffcd57a151f6c4952c203500c34ee6ebe3ded8a4a44d2d5582763aeb80d373fbd602e0df3e0eefb852d8b98e24b8aa6f3fd68894752a3
21 DIST nghttp2-1.4.0.tar.gz 1966441 SHA256 e310ac7a3e9e9d117d5b8bfcd7268bfa3aa5ee888c1503cf5abb9e5b240672a9 SHA512 cadf76ebe02ce90fc5aeee063b597cc13d2352458efd2b86822638137ae6e3c0a384ee9f1de839d64305afc58a96654781c1b9f4bac3b3663fc67e4fa33d3815 WHIRLPOOL 042f9ac0906219116d635c4837573be5d4a96a86560c55eb3485a93f2f64624607b8eb547152a658268abd5e5ccb707d70bd58bb39276ab9a6f36ba252584869
22 +DIST nghttp2-1.5.0.tar.gz 1980230 SHA256 ccde0e43cadcef2b81dad4d2ae05559290a2c174e4d2e3e882bd74679895be5c SHA512 6f5c67269277a0fbbe55c2dd18b49abcbc14614495100f715d7b0c61c1947b56cbc20f1f8dd51de5e921363c582c1d867c366b53869a73ad408c072c424a0f63 WHIRLPOOL 74d40e3d77d80d7fb5f7d24559e65dc8d60e60de0f772034beee0fcd6d7e7fab427fb16b69eab85daecbbfb861f77a49e70697338b021982d72d5caf2723b10b
23
24 diff --git a/net-libs/nghttp2/nghttp2-1.5.0.ebuild b/net-libs/nghttp2/nghttp2-1.5.0.ebuild
25 new file mode 100644
26 index 0000000..7ef717f
27 --- /dev/null
28 +++ b/net-libs/nghttp2/nghttp2-1.5.0.ebuild
29 @@ -0,0 +1,62 @@
30 +# Copyright 1999-2015 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 )
62 + libressl? ( dev-libs/libressl )
63 + >=sys-libs/zlib-1.2.3
64 + )
65 + xml? ( >=dev-libs/libxml2-2.7.7 )"
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}" -name '*.la' -delete
91 +}