diff options
author | yuchen.xie <yuchen.xie@live.com> | 2016-05-07 16:53:06 +0800 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2016-05-25 08:35:47 +0000 |
commit | 45e036dca2e042bb7910b49213ce7aed17634be9 (patch) | |
tree | 451f3d71c774d70a5762297f29b071baee7e1126 /net-libs | |
parent | app-editors/atom: Bump to 1.7.4, fix default apm path (diff) | |
download | gentoo-45e036dca2e042bb7910b49213ce7aed17634be9.tar.gz gentoo-45e036dca2e042bb7910b49213ce7aed17634be9.tar.bz2 gentoo-45e036dca2e042bb7910b49213ce7aed17634be9.zip |
net-libs/libwebsockets: bump to 1.7.8
Closes: https://github.com/gentoo/gentoo/pull/1402
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'net-libs')
-rw-r--r-- | net-libs/libwebsockets/Manifest | 1 | ||||
-rw-r--r-- | net-libs/libwebsockets/libwebsockets-1.7.8.ebuild | 48 | ||||
-rw-r--r-- | net-libs/libwebsockets/metadata.xml | 10 |
3 files changed, 53 insertions, 6 deletions
diff --git a/net-libs/libwebsockets/Manifest b/net-libs/libwebsockets/Manifest index 173773b35259..eadecedfda40 100644 --- a/net-libs/libwebsockets/Manifest +++ b/net-libs/libwebsockets/Manifest @@ -1,3 +1,4 @@ DIST libwebsockets-1.4-chrome43-firefox-36.tar.gz 2841449 SHA256 e11492477e582ef0b1a6ea2f18d81a9619b449170a3a5c43f32a9468461a9798 SHA512 46dd538193e001a54a1fc78f238c6ff94252b79239b110c0e57bd354082cc6adc12578cd7c7afddd8c9de6319e31ab511189ee5decf101075402874a9f6932cb WHIRLPOOL ebfd79a3855824df81da0c8d3a93f15d282b87189cdcd94627842c3f4c8400cecfe148fa6fc20a608cea4c278794f6e9f94facfa37fa8f047b571e8b1fd01d2b DIST libwebsockets-1.6.0-chrome48-firefox42.tar.gz 2861394 SHA256 0b97d9f5f8a57fc3d34c17ac9e2bca578629ac407cca0f23b3491fda9bd6cba3 SHA512 d185b15922c007b85083423e997e96ebfed1da3debc9a352bc135f712f3b9828d58fdcc514dcd24c051d5b2d3a623444036068bc402bf64ab38a4139eefc57f4 WHIRLPOOL 67ea0cecccf9ad1e14834f681e29e95680d808f60ce603e8d75ff4123b731a581be7bd7e60907b0ab79eec2def60279c2287874f307daaeddc182533619589f6 DIST libwebsockets-1.7.6.tar.gz 2914276 SHA256 b6f738d85baa568f70c16ad724855d346355a31f05fb62b75e7f2b45d504d2ff SHA512 7e85d0f58a12057eb7b295e5913fef273efacc3adc918262a1af738a74a9b3badaf419e0f8b0b039423f79cc8f3047856186d41df555802b695103d4f6679f09 WHIRLPOOL 4e189973dc7ba7eba66cb2b04fcd3ee622fda83005389b1f21e964b9d5500ca060e81cbab82e8c28fbb96b511d7973e54081ea8ea5340de660a32b90be6c0879 +DIST libwebsockets-1.7.8.tar.gz 2914823 SHA256 59809ed49e1143933d7a178b92e01db2dc9a68b5582faa425224dac3b813c744 SHA512 43599347275f5b3e92749691f00eea57a434e8a123111119fe624b56a7267dbd85d4257bd0d1386b13504a0b4102920dfc337629b6fd218f0e5e17c37d692768 WHIRLPOOL 50e60db2784172674c8cc34e67c98ae52e5367b6958bd8a8ae839ce08cf9101944513ca8ca697b2da8a565a927af4aecc049c9d1e87d06f9ee8e68a16aba5a5a diff --git a/net-libs/libwebsockets/libwebsockets-1.7.8.ebuild b/net-libs/libwebsockets/libwebsockets-1.7.8.ebuild new file mode 100644 index 000000000000..86a6fb699875 --- /dev/null +++ b/net-libs/libwebsockets/libwebsockets-1.7.8.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 +} diff --git a/net-libs/libwebsockets/metadata.xml b/net-libs/libwebsockets/metadata.xml index df9a160eff44..ad8fbe6dad32 100644 --- a/net-libs/libwebsockets/metadata.xml +++ b/net-libs/libwebsockets/metadata.xml @@ -19,12 +19,10 @@ libwebsockets is a C library designed to make development of websockets clients and servers easier (possible). </longdescription> <use> - <flag name="ssl">Include SSL support (default <pkg>dev-libs/openssl</pkg>)</flag> - <flag name="zlib">Include zlib support</flag> - <flag name="static-libs">Build the static version of the library</flag> - <flag name="http2">Compile with support for http2</flag> - <flag name="ipv6">Compile with support for ipv6</flag> + <flag name="client">The client part of the library and libwebsockets-test-client</flag> + <flag name="http2">Support the HTTP/2 protocol</flag> + <flag name="libev">Support event loops via dev-libs/libev</flag> + <flag name="libuv">Support asynchronous I/O via dev-libs/libuv</flag> <flag name="server">The server part of the library</flag> - <flag name="client">The client part of the library</flag> </use> </pkgmetadata> |