summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryuchen.xie <yuchen.xie@live.com>2016-09-20 08:10:44 +0800
committerGöktürk Yüksek <gokturk@gentoo.org>2016-10-19 03:44:40 -0400
commit67cf2ed8906f5dbd58b0c66e4102069a536881f0 (patch)
treeca4fa7d923226e871bc40206d8320b597fb44ada /net-libs/libwebsockets
parentgames-puzzle/gnome-sudoku: drop old revisions (diff)
downloadgentoo-67cf2ed8906f5dbd58b0c66e4102069a536881f0.tar.gz
gentoo-67cf2ed8906f5dbd58b0c66e4102069a536881f0.tar.bz2
gentoo-67cf2ed8906f5dbd58b0c66e4102069a536881f0.zip
net-libs/libwebsockets: bump to 1.7.9
Diffstat (limited to 'net-libs/libwebsockets')
-rw-r--r--net-libs/libwebsockets/Manifest1
-rw-r--r--net-libs/libwebsockets/libwebsockets-1.7.9.ebuild48
2 files changed, 49 insertions, 0 deletions
diff --git a/net-libs/libwebsockets/Manifest b/net-libs/libwebsockets/Manifest
index c37931e3d3b2..f10bd5c17fe2 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-1.7.9.tar.gz 2915358 SHA256 86a5105881ea2cb206f8795483d294e9509055decf60436bcc1e746262416438 SHA512 d5bd6171d58b5d5439af48d6cc1e92623e9bf21e059a2d25d362ef81b1bff62e759fe265261dbee0ac4ceb0d0a2490dc1e030dfee2b36eb8ac74df112da1db56 WHIRLPOOL fd4682cd941b23d79239c5351eeb129274b3d566aad5962825cfd3fbed262f69503dc0adde2eb7b65e4d446de09133595646695925c8633745c5aecd45a0af00
DIST libwebsockets-2.0.2.tar.gz 2998585 SHA256 7ab40b7c28b25d7a3776283219447876502163d89269b3c05739cfc3753525bc SHA512 6cd0cfe14ab9aa2ce26624d41290ed3bd0ae4167e93d5db738883dbbe2db851bd75037929a417922c2ef78eae3ff00583134d42da575d961c777e4a1ad0fef4a WHIRLPOOL 576e16dd9638822056142b3c72a53ba2d3582d5c15b3f0c971abc6017d3d34d3c7df503414f33cc3b68cf8033b5ff5cb6dc9b286d1c9c5d890bc0928f61a1439
diff --git a/net-libs/libwebsockets/libwebsockets-1.7.9.ebuild b/net-libs/libwebsockets/libwebsockets-1.7.9.ebuild
new file mode 100644
index 000000000000..5f617a9a6827
--- /dev/null
+++ b/net-libs/libwebsockets/libwebsockets-1.7.9.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
+}