net-libs/nghttp2: Bump to version 1.9.2
authorLars Wendler <polynomial-c@gentoo.org>
Mon, 4 Apr 2016 07:16:47 +0000 (09:16 +0200)
committerLars Wendler <polynomial-c@gentoo.org>
Mon, 4 Apr 2016 08:07:06 +0000 (10:07 +0200)
Package-Manager: portage-2.2.28
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
net-libs/nghttp2/Manifest
net-libs/nghttp2/nghttp2-1.9.2.ebuild [new file with mode: 0644]

index a8fbeadac3fdf4be4ae63fe64b4f1cfa9e3a1631..a5d6e7411d143e2e531383599b2ff1c5f12d8fd8 100644 (file)
@@ -3,3 +3,4 @@ DIST nghttp2-1.7.0.tar.gz 2001726 SHA256 f0be9560baa30fc56bcce0151d88126d71b9181
 DIST nghttp2-1.7.1.tar.gz 1993320 SHA256 d83858464c03555828bb603288b66a48680bf164b376d2459a5407c102098a14 SHA512 3a71153d2b30a69e79115402b7db9a04bc812025ccb67b918079f33690f18eb5b286095b8bc161df91abf6466b6bb822ecc13c49bee54265a06ba9ab7c289b54 WHIRLPOOL 41d0afd43878029069d2c339e22b8aec77fedbd1b0fb45da96b9592525c760731e2eec567999af704d63cf94c913b1d0c52063380e69170e1f2d2b928c1d70f3
 DIST nghttp2-1.8.0.tar.gz 2021815 SHA256 3ac8cdf47c744cb387e6c867fe8c9a449254e9fab7fdf96782f9eaf7f635320a SHA512 447ee232abb9ea4105044567baabedc471089af7dfe72219f7c830898d3cd9bc63351d187129e43331cc775702f8dbe2afd21a2c88dc5191b858539dcb7c61d2 WHIRLPOOL b3ec7eae828c240dcd2c972d8148ceb6f2476fe8b6b8636c38b68b236e91915f07851a19a1e9daae27c636eb68898b8675e33b9e13d75c51ef99f56d992908dd
 DIST nghttp2-1.9.1.tar.gz 2044300 SHA256 6ffa024333265797f3b6161602c646ccadb09a0a5d889609e2dc13697ba615f1 SHA512 e91b8a03e44c9573c3dc65209b16336a9a314c051be04c750c53be15675b2173b568799d3a8c6a4c74ee25733d327ceeaa68e84d03b8f32f68bad487ce6f4717 WHIRLPOOL 85f60ccf76e2ae8ce047e112da46f949734f8ddb7f99c48d0900015ffb0e1f649d561d8365ff10af76e818b96cf018169b8b1fc7b9c0abb45d7384945e396966
+DIST nghttp2-1.9.2.tar.gz 2044645 SHA256 8a47846bc81e7e82d81e0a17ffbe29486110b80458cc4ea99fa665612c2849d5 SHA512 81108653852fef8294a1b7dcbc69efed848ae3edd7a10167749afc0eda5f001f8c381a29b7376ad58772becbdfc6964bc7c5dc8c05453dda7006d8006e3c5f8a WHIRLPOOL e08cb6084b30f9e7a907a842b4be21bfbce914c83f0ee59f9c7ebdf5b069320362bbd93030d2ae6fe51ce08a004d7f37d6477a5e9df45ee481e390b85898be4c
diff --git a/net-libs/nghttp2/nghttp2-1.9.2.ebuild b/net-libs/nghttp2/nghttp2-1.9.2.ebuild
new file mode 100644 (file)
index 0000000..7d89224
--- /dev/null
@@ -0,0 +1,62 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# TODO: Add python support.
+
+EAPI=6
+
+inherit multilib-minimal
+
+if [[ ${PV} == 9999 ]] ; then
+       EGIT_REPO_URI="https://github.com/tatsuhiro-t/nghttp2.git"
+       inherit git-r3
+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:2 )"
+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}"/usr -name '*.la' -delete
+}