net-libs/nghttp2: version bump to 1.6.0
authorMike Frysinger <vapier@gentoo.org>
Wed, 23 Dec 2015 16:19:38 +0000 (11:19 -0500)
committerMike Frysinger <vapier@gentoo.org>
Wed, 23 Dec 2015 16:19:49 +0000 (11:19 -0500)
net-libs/nghttp2/Manifest
net-libs/nghttp2/nghttp2-1.6.0.ebuild [new file with mode: 0644]

index d075fd3a75f124f61f29cce7924b569f2e2f7110..c69b64bb01391ae808fdd0ea9b93c69dc1cd3e81 100644 (file)
@@ -1,2 +1,3 @@
 DIST nghttp2-1.0.5.tar.gz 1356748 SHA256 64e066816606178188bfaf0aa7298e1f44cef943dd9ae936497dab38b3b2569e SHA512 f8b7a79e6174ff501d93333b25954822098d936720a8f4de8a15c83f16c009006aefd05e24977c219661fd63b9fead70eaf5703211bfd9e2bba6a61facbba9c4 WHIRLPOOL 608b1a4494e2aff0c941545c1f49c3c585846d27f5e509ff16c9217309689c47fd7f8fc398b23c83d8aa0ba3f9c2c52af039cd875e47f38630acc50e7c17f717
 DIST nghttp2-1.5.0.tar.gz 1980230 SHA256 ccde0e43cadcef2b81dad4d2ae05559290a2c174e4d2e3e882bd74679895be5c SHA512 6f5c67269277a0fbbe55c2dd18b49abcbc14614495100f715d7b0c61c1947b56cbc20f1f8dd51de5e921363c582c1d867c366b53869a73ad408c072c424a0f63 WHIRLPOOL 74d40e3d77d80d7fb5f7d24559e65dc8d60e60de0f772034beee0fcd6d7e7fab427fb16b69eab85daecbbfb861f77a49e70697338b021982d72d5caf2723b10b
+DIST nghttp2-1.6.0.tar.gz 1983953 SHA256 c88012e87b80c055ddd2412efd7e96b9e8cfe0652c4b21083f2cb89b2f0d3a26 SHA512 32d5227a5ff037d50d93d43b1fdb0be51d9cca1e09dcc85320b8e09f82fdc658397ca58ca400595f138ca7b77f389d945e3562ab4074afd05e1c74eca4de2744 WHIRLPOOL 31102e596a9e93ca993cd9b8b04da6f51acb247803de16958501bdb6fe06e5bbc951430d2c2be1bd7fd1d9216d087d711de83bad6bb93eb70f4e4b8b0f864efb
diff --git a/net-libs/nghttp2/nghttp2-1.6.0.ebuild b/net-libs/nghttp2/nghttp2-1.6.0.ebuild
new file mode 100644 (file)
index 0000000..918c6da
--- /dev/null
@@ -0,0 +1,62 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# TODO: Add python support.
+
+EAPI="5"
+
+inherit multilib-minimal
+
+if [[ ${PV} == 9999 ]] ; then
+       EGIT_REPO_URI="https://github.com/tatsuhiro-t/nghttp2.git"
+       inherit git-2
+else
+       SRC_URI="https://github.com/tatsuhiro-t/nghttp2/releases/download/v${PV}/${P}.tar.gz"
+       KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+fi
+
+DESCRIPTION="HTTP/2 C Library"
+HOMEPAGE="https://nghttp2.org/"
+
+LICENSE="MIT"
+SLOT="0/1.14" # <C++>.<C> SONAMEs
+IUSE="cxx debug hpack-tools jemalloc libressl static-libs test +threads utils xml"
+
+RDEPEND="
+       cxx? ( dev-libs/boost[${MULTILIB_USEDEP},threads] )
+       hpack-tools? ( >=dev-libs/jansson-2.5 )
+       jemalloc? ( dev-libs/jemalloc )
+       utils? (
+               >=dev-libs/libev-4.15
+               !libressl? ( >=dev-libs/openssl-1.0.2:0[-bindist] )
+               libressl? ( dev-libs/libressl )
+               >=sys-libs/zlib-1.2.3
+       )
+       xml? ( >=dev-libs/libxml2-2.7.7 )"
+DEPEND="${RDEPEND}
+       virtual/pkgconfig
+       test? ( >=dev-util/cunit-2.1[${MULTILIB_USEDEP}] )"
+
+multilib_src_configure() {
+       ECONF_SOURCE=${S} \
+       econf \
+               --disable-examples \
+               --disable-failmalloc \
+               --disable-werror \
+               --without-cython \
+               --disable-python-bindings \
+               --without-spdylay \
+               $(use_enable cxx asio-lib) \
+               $(use_enable debug) \
+               $(multilib_native_use_enable hpack-tools) \
+               $(use_enable static-libs static) \
+               $(use_enable threads) \
+               $(multilib_native_use_enable utils app) \
+               $(multilib_native_use_with jemalloc) \
+               $(multilib_native_use_with xml libxml2)
+}
+
+multilib_src_install_all() {
+       use static-libs || find "${ED}" -name '*.la' -delete
+}