diff options
author | yuchen.xie <yuchen.xie@live.com> | 2016-06-03 08:24:54 +0800 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2016-06-03 07:00:58 +0000 |
commit | ea51a8b13b8fa610cea7dba1566766ff196d6003 (patch) | |
tree | 6ca5ef5c4857e483f9f4a01aa1a6d04b1d2ab52f /net-libs/libwebsockets | |
parent | kde4-meta-pkg.eclass: Mark as deprecated (diff) | |
download | gentoo-ea51a8b13b8fa610cea7dba1566766ff196d6003.tar.gz gentoo-ea51a8b13b8fa610cea7dba1566766ff196d6003.tar.bz2 gentoo-ea51a8b13b8fa610cea7dba1566766ff196d6003.zip |
net-libs/libwebsockets: bump to 2.0.2
Closes: https://github.com/gentoo/gentoo/pull/1588
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'net-libs/libwebsockets')
-rw-r--r-- | net-libs/libwebsockets/Manifest | 1 | ||||
-rw-r--r-- | net-libs/libwebsockets/libwebsockets-2.0.2.ebuild | 48 |
2 files changed, 49 insertions, 0 deletions
diff --git a/net-libs/libwebsockets/Manifest b/net-libs/libwebsockets/Manifest index 7bece3d0f9d0..c3afaa783ecd 100644 --- a/net-libs/libwebsockets/Manifest +++ b/net-libs/libwebsockets/Manifest @@ -1,2 +1,3 @@ DIST libwebsockets-1.7.8.tar.gz 2914823 SHA256 59809ed49e1143933d7a178b92e01db2dc9a68b5582faa425224dac3b813c744 SHA512 43599347275f5b3e92749691f00eea57a434e8a123111119fe624b56a7267dbd85d4257bd0d1386b13504a0b4102920dfc337629b6fd218f0e5e17c37d692768 WHIRLPOOL 50e60db2784172674c8cc34e67c98ae52e5367b6958bd8a8ae839ce08cf9101944513ca8ca697b2da8a565a927af4aecc049c9d1e87d06f9ee8e68a16aba5a5a DIST libwebsockets-2.0.1.tar.gz 2997361 SHA256 f98cf9e35385863cfe64a5f181403bf3113cc5d82604c4811e1373ba8676ef88 SHA512 90a4ee45753cfca67a6093ce8ef9b3eb9dffdcd213888555d29fe09d8fdf36a6e927d121bc0cc0cd12570b2d48952501b0639e95614bf356419f6eb53cb3819d WHIRLPOOL 0c982eb09b0bcd56fbcddca7c15af2460bdc62117644cf6e01dbbe11e46ab8b8d489fd30f2df92332a2781de30cdb8ebaa3855bb7e50c8cfb9d691168035d683 +DIST libwebsockets-2.0.2.tar.gz 2998585 SHA256 7ab40b7c28b25d7a3776283219447876502163d89269b3c05739cfc3753525bc SHA512 6cd0cfe14ab9aa2ce26624d41290ed3bd0ae4167e93d5db738883dbbe2db851bd75037929a417922c2ef78eae3ff00583134d42da575d961c777e4a1ad0fef4a WHIRLPOOL 576e16dd9638822056142b3c72a53ba2d3582d5c15b3f0c971abc6017d3d34d3c7df503414f33cc3b68cf8033b5ff5cb6dc9b286d1c9c5d890bc0928f61a1439 diff --git a/net-libs/libwebsockets/libwebsockets-2.0.2.ebuild b/net-libs/libwebsockets/libwebsockets-2.0.2.ebuild new file mode 100644 index 000000000000..86a6fb699875 --- /dev/null +++ b/net-libs/libwebsockets/libwebsockets-2.0.2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit cmake-utils + +DESCRIPTION="canonical libwebsockets.org websocket library" +HOMEPAGE="https://libwebsockets.org/" +SRC_URI="https://github.com/warmcat/libwebsockets/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+http2 +ssl client ipv6 libev libressl libuv static-libs" + +REQUIRED_USE="libressl? ( ssl )" + +RDEPEND=" + sys-libs/zlib + libev? ( dev-libs/libev ) + libuv? ( dev-libs/libuv ) + ssl? ( + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + ) +" +DEPEND="${RDEPEND} + dev-lang/perl +" + +src_configure() { + local mycmakeargs=( + -DLWS_IPV6=$(usex ipv6 ON OFF) + -DLWS_LINK_TESTAPPS_DYNAMIC=$(usex !static-libs ON OFF) + -DLWS_WITH_HTTP2=$(usex http2 ON OFF) + -DLWS_WITH_STATIC=$(usex static-libs ON OFF) + -DLWS_WITH_LIBEV=$(usex libev ON OFF) + -DLWS_WITH_LIBUV=$(usex libuv ON OFF) + -DLWS_WITH_SSL=$(usex ssl ON OFF) + -DLWS_WITHOUT_CLIENT=$(usex !client ON OFF) + -DLWS_WITHOUT_TEST_CLIENT=$(usex !client ON OFF) + -DCMAKE_DISABLE_FIND_PACKAGE_Git=ON + ) + + cmake-utils_src_configure +} |